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
testing
scenario_app
android
app
src
main
java
dev
flutter
scenarios
GetBitmapActivity.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
dev.flutter.scenarios;
6
7
import
android
.graphics.Bitmap;
8
import
androidx.annotation.Nullable;
9
10
public
class
GetBitmapActivity
extends
TestActivity
{
11
12
@Nullable
private
volatile
Bitmap
bitmap
;
13
14
@Nullable
15
public
Bitmap
getBitmap
() {
16
waitUntilFlutterRendered
();
17
return
bitmap
;
18
}
19
20
@Nullable
21
protected
void
notifyFlutterRendered
() {
22
bitmap
=
getFlutterEngine
().
getRenderer
().
getBitmap
();
23
super.notifyFlutterRendered();
24
}
25
}
dev.flutter.scenarios.GetBitmapActivity
Definition:
GetBitmapActivity.java:10
dev.flutter.scenarios.GetBitmapActivity.notifyFlutterRendered
void notifyFlutterRendered()
Definition:
GetBitmapActivity.java:21
dev.flutter.scenarios.GetBitmapActivity.getBitmap
Bitmap getBitmap()
Definition:
GetBitmapActivity.java:15
dev.flutter.scenarios.TestActivity
Definition:
TestActivity.java:28
dev.flutter.scenarios.TestableFlutterActivity.waitUntilFlutterRendered
void waitUntilFlutterRendered()
Definition:
TestableFlutterActivity.java:45
io.flutter.embedding.android.FlutterActivity.getFlutterEngine
FlutterEngine getFlutterEngine()
Definition:
FlutterActivity.java:1290
io.flutter.embedding.engine.FlutterEngine.getRenderer
FlutterRenderer getRenderer()
Definition:
FlutterEngine.java:519
io.flutter.embedding.engine.renderer.FlutterRenderer.getBitmap
Bitmap getBitmap()
Definition:
FlutterRenderer.java:1194
android
Definition:
BitmapRegionDecoder.cpp:14
bitmap
Definition:
bitmap.py:1
Generated on Sun Jun 23 2024 21:55:19 for Flutter Engine by
1.9.4