Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | List of all members
io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice Class Reference
Inheritance diagram for io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice:

Public Member Functions

void setId (int id)
 

Static Public Member Functions

static void addDevice (int id, InputDevice device)
 
static void reset ()
 
static InputDevice makeInputDevicebyId (int id)
 

Static Public Attributes

static int[] sDeviceIds
 

Protected Member Functions

int getId ()
 

Static Protected Member Functions

static int[] getDeviceIds ()
 
static InputDevice getDevice (int id)
 

Detailed Description

Definition at line 140 of file KeyEventChannelTest.java.

Member Function Documentation

◆ addDevice()

static void io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.addDevice ( int  id,
InputDevice  device 
)
inlinestatic

Definition at line 156 of file KeyEventChannelTest.java.

156 {
157 sDeviceMap.append(id, device);
158 }
VkDevice device
Definition main.cc:53

◆ getDevice()

static InputDevice io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.getDevice ( int  id)
inlinestaticprotected

Definition at line 152 of file KeyEventChannelTest.java.

152 {
153 return sDeviceMap.get(id);
154 }

◆ getDeviceIds()

static int[] io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.getDeviceIds ( )
inlinestaticprotected

◆ getId()

int io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.getId ( )
inlineprotected

Definition at line 167 of file KeyEventChannelTest.java.

167 {
168 return mDeviceId;
169 }

◆ makeInputDevicebyId()

static InputDevice io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.makeInputDevicebyId ( int  id)
inlinestatic

Definition at line 171 of file KeyEventChannelTest.java.

171 {
172 final InputDevice inputDevice = Shadow.newInstanceOf(InputDevice.class);
173 final ShadowInputDevice shadowInputDevice = Shadow.extract(inputDevice);
174 shadowInputDevice.setId(id);
175 return inputDevice;
176 }

◆ reset()

static void io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.reset ( )
inlinestatic

Definition at line 161 of file KeyEventChannelTest.java.

161 {
162 sDeviceIds = null;
163 sDeviceMap.clear();
164 }

◆ setId()

void io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.setId ( int  id)
inline

Definition at line 178 of file KeyEventChannelTest.java.

178 {
179 mDeviceId = id;
180 }
const uintptr_t id

Member Data Documentation

◆ sDeviceIds

int [] io.flutter.embedding.engine.systemchannels.KeyEventChannelTest.ShadowInputDevice.sDeviceIds
static

Definition at line 141 of file KeyEventChannelTest.java.


The documentation for this class was generated from the following file: