/frameworks/base/services/core/java/com/android/server/wm/ |
RootWindowContainer.java | 180 * focus first. Sparse array just maps position to displayId. 197 * Retrieve the DisplayContent for the specified displayId. Will create a new DisplayContent if 198 * there is a Display for the displayId. 200 * @param displayId The display the caller is interested in. 201 * @return The DisplayContent associated with displayId or null if there is no Display for it. 203 DisplayContent getDisplayContentOrCreate(int displayId) { 204 DisplayContent dc = getDisplayContent(displayId); 207 final Display display = mService.mDisplayManager.getDisplay(displayId); 220 DisplayContent getDisplayContent(int displayId) { 223 if (current.getDisplayId() == displayId) { [all...] |
TaskTapPointerEventListener.java | 49 public void onPointerEvent(MotionEvent motionEvent, int displayId) { 50 if (displayId == getDisplayId()) {
|
WindowManagerService.java | 565 int displayId) { 568 mDisplayId = displayId; 773 public void onInputEvent(InputEvent event, int displayId) { [all...] |
AppWindowContainerController.java | 238 public void removeContainer(int displayId) { 240 final DisplayContent dc = mRoot.getDisplayContent(displayId); 243 + mToken + " from non-existing displayId=" + displayId); 253 throw new UnsupportedOperationException("Use removeContainer(displayId) instead."); 275 public Configuration setOrientation(int requestedOrientation, int displayId, 287 return mService.updateOrientationFromAppTokens(displayConfig, binder, displayId); [all...] |
PinnedStackWindowController.java | 42 int displayId, boolean onTop, Rect outBounds) { 43 super(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance());
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWC2.cpp | 141 hwc2_display_t displayId = 0; 144 &intFormat, &displayId); 151 *mComposer.get(), mCapabilities, displayId, DisplayType::Virtual); 154 mDisplays.emplace(displayId, std::move(display)); 159 void Device::destroyDisplay(hwc2_display_t displayId) 161 ALOGI("Destroying display %" PRIu64, displayId); 162 mDisplays.erase(displayId); 165 void Device::onHotplug(hwc2_display_t displayId, Connection connection) { 167 auto display = getDisplayById(displayId); 171 " , which is already connected.", displayId); [all...] |
/frameworks/native/include/input/ |
InputTransport.h | 68 int32_t displayId; 87 int32_t displayId; 237 int32_t displayId, 309 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent, int32_t* displayId); 452 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent, int32_t* displayId); 455 int32_t* displayId);
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerFreeformStackTests.java | 100 final int displayId = mAmWmState.getAmState().getStackById( 103 mAmWmState.getWmState().getDisplay(displayId).getDpi();
|
/frameworks/native/libs/input/tests/ |
StructLayout_test.cpp | 41 CHECK_OFFSET(InputMessage::Body::Key, displayId, 24); 54 CHECK_OFFSET(InputMessage::Body::Motion, displayId, 24);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityStackSupervisor.java | 411 /** Mapping from displayId to display current state */ 468 Configuration getDisplayOverrideConfiguration(int displayId) { 469 final ActivityDisplay activityDisplay = getActivityDisplayOrCreateLocked(displayId); 471 throw new IllegalArgumentException("No display found with id: " + displayId); 477 void setDisplayOverrideConfiguration(Configuration overrideConfiguration, int displayId) { 478 final ActivityDisplay activityDisplay = getActivityDisplayOrCreateLocked(displayId); 480 throw new IllegalArgumentException("No display found with id: " + displayId); 487 boolean canPlaceEntityOnDisplay(int displayId, boolean resizeable, int callingPid, 489 if (displayId == DEFAULT_DISPLAY) { 497 if (!resizeable && !displayConfigMatchesGlobal(displayId)) { [all...] |
/frameworks/native/services/inputflinger/ |
InputDispatcher.cpp | 175 static bool isMainDisplay(int32_t displayId) { 176 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE; 446 int32_t displayId = motionEntry->displayId; 451 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y); 476 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, 483 if (windowInfo->displayId == displayId) { [all...] |
InputListener.h | 92 int32_t displayId; 105 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
|
/frameworks/base/cmds/screencap/ |
screencap.cpp | 121 int32_t displayId = DEFAULT_DISPLAY_ID; 129 displayId = atoi(optarg); 186 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); 188 fprintf(stderr, "Unable to get handle for display %d\n", displayId);
|
/frameworks/native/libs/hwc2on1adapter/ |
HWC2On1Adapter.cpp | 329 const auto displayId = mHwc1VirtualDisplay->getId(); 330 mHwc1DisplayMap[HWC_DISPLAY_VIRTUAL] = displayId; 332 mDisplays.emplace(displayId, mHwc1VirtualDisplay); 333 *outDisplay = displayId; 338 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) { 341 if (!mHwc1VirtualDisplay || (mHwc1VirtualDisplay->getId() != displayId)) { 347 mDisplays.erase(displayId); 458 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; 460 pendingVsyncs.emplace_back(displayId, timestamp); 475 auto displayId = mHwc1DisplayMap[hwc1DisplayId] [all...] |
/frameworks/native/libs/input/ |
InputTransport.cpp | 288 int32_t displayId, 331 msg.body.motion.displayId = displayId; 402 int32_t* displayId) { 410 *displayId = -1; // Invalid display. 425 result = consumeBatch(factory, frameTime, outSeq, outEvent, displayId); 469 batch, batch.samples.size(), outSeq, outEvent, displayId); 503 *displayId = mMsg.body.motion.displayId; 521 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent, int32_t* displayId) { [all...] |
/frameworks/base/core/java/android/view/ |
Display.java | 374 public Display(DisplayManagerGlobal global, int displayId, /*@NotNull*/ DisplayInfo displayInfo, 376 this(global, displayId, displayInfo, daj, null /*res*/); 386 public Display(DisplayManagerGlobal global, int displayId, /*@NotNull*/ DisplayInfo displayInfo, 388 this(global, displayId, displayInfo, null /*daj*/, res); 391 private Display(DisplayManagerGlobal global, int displayId, 394 mDisplayId = displayId; [all...] |
IWindow.aidl | 53 boolean forceLayout, boolean alwaysConsumeNavBar, int displayId);
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
HWC2On1Adapter.cpp | 372 const auto displayId = mHwc1VirtualDisplay->getId(); 373 mHwc1DisplayMap[HWC_DISPLAY_VIRTUAL] = displayId; 375 mDisplays.emplace(displayId, mHwc1VirtualDisplay); 376 *outDisplay = displayId; 381 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) 385 if (!mHwc1VirtualDisplay || (mHwc1VirtualDisplay->getId() != displayId)) { 391 mDisplays.erase(displayId); 499 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; 501 pendingVsyncs.emplace_back(displayId, timestamp); 516 auto displayId = mHwc1DisplayMap[hwc1DisplayId] [all...] |
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 54 int displayId, 61 mDisplayId = displayId;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeWindowSession.java | 49 public int addToDisplay(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, 66 int displayId, Rect arg3, Rect arg4)
|
/frameworks/base/core/java/android/app/ |
ActivityManagerInternal.java | 94 * @param displayId The display to apply the sleep token to. 96 public abstract SleepToken acquireSleepToken(@NonNull String tag, int displayId);
|
/frameworks/base/services/core/jni/ |
com_android_server_input_InputWindowHandle.cpp | 56 jfieldID displayId; 159 mInfo->displayId = env->GetIntField(obj, 160 gInputWindowHandleClassInfo.displayId); 303 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz, 304 "displayId", "I");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
ActivityTestsBase.java | 79 int stackId, int displayId, boolean onTop) { 177 boolean canPlaceEntityOnDisplay(int displayId, boolean resizeable, int callingPid, 180 return super.canPlaceEntityOnDisplay(displayId, resizeable, callingPid, callingUid, 301 protected T createStackWindowController(int displayId, boolean onTop,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
TestIWindow.java | 40 Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId)
|
/hardware/qcom/display/msm8998/libqdutils/ |
qdMetaData.h | 67 int32_t displayId; /* on which display S3D is composed by client */
|