Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
shell
platform
android
io
flutter
plugin
platform
PlatformViewRenderTarget.java
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
package
io.flutter.plugin.platform;
6
7
import
android
.view.Surface;
8
9
/**
10
* A PlatformViewRenderTarget interface allows an Android Platform View to be rendered into an
11
* offscreen buffer (usually a texture is involved) that the engine can compose into the
12
* FlutterView.
13
*/
14
public
interface
PlatformViewRenderTarget
{
15
// Called when the render target should be resized.
16
public
void
resize
(
int
width
,
int
height
);
17
18
// Returns the currently specified width.
19
public
int
getWidth
();
20
21
// Returns the currently specified height.
22
public
int
getHeight
();
23
24
// The id of this render target.
25
public
long
getId
();
26
27
// Releases backing resources.
28
public
void
release
();
29
30
// Returns true in the case that backing resource have been released.
31
public
boolean
isReleased
();
32
33
// Returns the Surface to be rendered on to.
34
public
Surface
getSurface
();
35
36
// Schedules a frame to be drawn.
37
public
default
void
scheduleFrame
() {}
38
}
io.flutter.plugin.platform.PlatformViewRenderTarget
Definition:
PlatformViewRenderTarget.java:14
io.flutter.plugin.platform.PlatformViewRenderTarget.isReleased
boolean isReleased()
io.flutter.plugin.platform.PlatformViewRenderTarget.resize
void resize(int width, int height)
io.flutter.plugin.platform.PlatformViewRenderTarget.getId
long getId()
io.flutter.plugin.platform.PlatformViewRenderTarget.getHeight
int getHeight()
io.flutter.plugin.platform.PlatformViewRenderTarget.getSurface
Surface getSurface()
io.flutter.plugin.platform.PlatformViewRenderTarget.getWidth
int getWidth()
io.flutter.plugin.platform.PlatformViewRenderTarget.scheduleFrame
default void scheduleFrame()
Definition:
PlatformViewRenderTarget.java:37
io.flutter.plugin.platform.PlatformViewRenderTarget.release
void release()
android
Definition:
BitmapRegionDecoder.cpp:14
height
int32_t height
Definition:
serialization_callbacks.cc:1
width
int32_t width
Definition:
serialization_callbacks.cc:0
Generated on Sun Jun 23 2024 21:55:10 for Flutter Engine by
1.9.4