Home
last modified time | relevance | path

Searched refs:mDisplayId (Results 1 – 4 of 4) sorted by relevance

/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DDisplayAdapter.java201 private int mDisplayId = 0; field in DisplayAdapter.DisplayHolder
211 Log.i(TAG, "Rotating display " + mDisplayId + " to " + rotationDegrees); in rotateDisplay()
243 Log.i(TAG, "Resizing display " + mDisplayId + " to " + newBounds); in resizeDisplay()
254 itemView.getContext().getString(R.string.display_title, mDisplayId, title)); in setDisplayTitle()
259 Log.i(TAG, "Closing DisplayHolder for display " + mDisplayId); in close()
261 mInputManager.removeFocusableDisplay(mDisplayId); in close()
279 mDisplayId = remoteDisplay.getDisplayId(); in onBind()
280 Log.v(TAG, "Binding DisplayHolder for display " + mDisplayId + " to position " in onBind()
289 if (focusedDisplayId == mDisplayId && mDisplayRepository.size() > 1) { in onBind()
297 mDisplayController = new DisplayController(mDisplayId, mRemoteIo); in onBind()
[all …]
DDisplayController.java30 private final int mDisplayId; field in DisplayController
39 mDisplayId = displayId; in DisplayController()
50 .setDisplayId(mDisplayId) in close()
68 .setDisplayId(mDisplayId) in pause()
81 mVideoManager = VideoManager.createDisplayDecoder(mDisplayId, mRemoteIo); in setSurface()
85 .setDisplayId(mDisplayId) in setSurface()
DImmersiveActivity.java74 private int mDisplayId = Display.INVALID_DISPLAY; field in ImmersiveActivity
107 mDisplayId = getIntent().getIntExtra(EXTRA_DISPLAY_ID, Display.INVALID_DISPLAY); in onCreate()
113 mInputManager.sendBack(mDisplayId); in onCreate()
118 mDisplayController = new DisplayController(mDisplayId, mRemoteIo); in onCreate()
127 InputDeviceType.DEVICE_TYPE_TOUCHSCREEN, event, mDisplayId); in onCreate()
139 Log.v(TAG, "Setting surface for immersive display " + mDisplayId); in onCreate()
148 Log.v(TAG, "onSurfaceTextureDestroyed for immersive display " + mDisplayId); in onCreate()
163 InputDeviceType.DEVICE_TYPE_MOUSE, event, mDisplayId); in onCreate()
208 case KeyEvent.KEYCODE_VOLUME_UP -> mInputManager.sendHome(mDisplayId); in dispatchKeyEvent()
214 InputDeviceType.DEVICE_TYPE_KEYBOARD, event, mDisplayId); in dispatchKeyEvent()
[all …]
/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DVideoManager.java353 private final int mDisplayId; field in VideoManager.DisplayProtoHelper
357 mDisplayId = displayId; in DisplayProtoHelper()
362 if (event.hasDisplayFrame() && event.getDisplayId() == mDisplayId) { in extractEncodedFrame()
371 .setDisplayId(mDisplayId) in createFrameProto()
383 return "display" + mDisplayId; in getVideoManagerId()