Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowController.java35 private final int mDisplayId; field in DisplayWindowController
39 mDisplayId = display.getDisplayId(); in DisplayWindowController()
51 + " dc=" + mRoot.getDisplayContent(mDisplayId)); in DisplayWindowController()
61 + mDisplayId); in removeContainer()
103 final DisplayContent dc = mRoot.getDisplayContent(mDisplayId); in deferUpdateImeTarget()
115 final DisplayContent dc = mRoot.getDisplayContent(mDisplayId); in continueUpdateImeTarget()
124 return "{DisplayWindowController displayId=" + mDisplayId + "}"; in toString()
DDisplayContent.java180 private final int mDisplayId; field in DisplayContent
754 mDisplayId = display.getDisplayId(); in DisplayContent()
758 isDefaultDisplay = mDisplayId == DEFAULT_DISPLAY; in DisplayContent()
759 mDisplayFrames = new DisplayFrames(mDisplayId, mDisplayInfo, in DisplayContent()
781 .setLayerStack(mWindowingLayer, mDisplayId) in DisplayContent()
784 .setLayerStack(mOverlayLayer, mDisplayId) in DisplayContent()
808 return mDisplayId; in getDisplayId()
975 mService.mAnimator.getScreenRotationAnimationLocked(mDisplayId); in updateRotationUnchecked()
1005 + mDisplayId + " based on lastOrientation=" + lastOrientation in updateRotationUnchecked()
1042 if (DEBUG_ORIENTATION) Slog.v(TAG_WM, "Display id=" + mDisplayId in updateRotationUnchecked()
[all …]
DDisplayFrames.java39 public final int mDisplayId; field in DisplayFrames
120 mDisplayId = displayId; in DisplayFrames()
DRecentsAnimationController.java85 private final int mDisplayId; field in RecentsAnimationController
252 mDisplayId = displayId; in RecentsAnimationController()
263 final DisplayContent dc = mService.mRoot.getDisplayContent(mDisplayId); in initialize()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java40 public final int mDisplayId; field in ResourcesKey
61 mDisplayId = displayId; in ResourcesKey()
71 hash = 31 * hash + mDisplayId; in ResourcesKey()
130 if (mDisplayId != peer.mDisplayId) { in equals()
162 builder.append(" mDisplayId=").append(mDisplayId); in toString()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp58 mDisplayId(dispId), in VirtualDisplaySurface()
119 if (mDisplayId < 0) in beginFrame()
132 if (mDisplayId < 0) in prepareFrame()
180 if (mDisplayId < 0) in advanceFrame()
214 mHwc.setOutputBuffer(mDisplayId, mOutputFence, outBuffer); in advanceFrame()
224 result = mHwc.setClientTarget(mDisplayId, hwcSlot, mFbFence, in advanceFrame()
232 if (mDisplayId < 0) in onFrameCommitted()
239 sp<Fence> retireFence = mHwc.getPresentFence(mDisplayId); in onFrameCommitted()
294 if (mDisplayId < 0) in requestBuffer()
316 LOG_FATAL_IF(mDisplayId < 0, "mDisplayId=%d but should not be < 0.", mDisplayId); in dequeueBuffer()
[all …]
DHWC2.cpp760 mDisplayId(displayId), in Layer()
768 auto intError = mComposer.destroyLayer(mDisplayId, mId); in ~Layer()
771 " failed: %s (%d)", mDisplayId, mId, to_string(error).c_str(), in ~Layer()
786 auto intError = mComposer.setCursorPosition(mDisplayId, mId, x, y); in setCursorPosition()
794 auto intError = mComposer.setLayerBuffer(mDisplayId, mId, slot, buffer, in setBuffer()
805 intError = mComposer.setLayerSurfaceDamage(mDisplayId, in setSurfaceDamage()
817 intError = mComposer.setLayerSurfaceDamage(mDisplayId, mId, hwcRects); in setSurfaceDamage()
826 auto intError = mComposer.setLayerBlendMode(mDisplayId, mId, intMode); in setBlendMode()
833 auto intError = mComposer.setLayerColor(mDisplayId, mId, hwcColor); in setColor()
841 mDisplayId, mId, intType); in setCompositionType()
[all …]
DVirtualDisplaySurface.h155 const int32_t mDisplayId; variable
DHWC2.h345 hwc2_display_t mDisplayId; variable
/frameworks/base/services/core/java/com/android/server/input/
DInputForwarder.java34 private final int mDisplayId; field in InputForwarder
37 mDisplayId = displayId; in InputForwarder()
43 return mInputManagerInternal.injectInputEvent(event, mDisplayId, in forwardEvent()
/frameworks/base/core/java/android/view/
DDisplay.java71 private final int mDisplayId; field in Display
406 mDisplayId = displayId; in Display()
431 return mDisplayId; in getDisplayId()
821 mGlobal.requestColorMode(mDisplayId, colorMode); in requestColorMode()
1046 DisplayInfo newInfo = mGlobal.getDisplayInfo(mDisplayId); in updateDisplayInfoLocked()
1052 Log.d(TAG, "Logical display " + mDisplayId + " was removed."); in updateDisplayInfoLocked()
1061 Log.d(TAG, "Logical display " + mDisplayId + " was recreated."); in updateDisplayInfoLocked()
1084 return "Display id " + mDisplayId + ": " + mDisplayInfo in toString()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java73 private final int mDisplayId; field in ColorFade
126 mDisplayId = displayId; in ColorFade()
146 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId); in prepare()
597 mDisplayId, mSurfaceControl);
729 private final int mDisplayId;
735 mDisplayId = displayId;
754 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId);
DLogicalDisplay.java64 private final int mDisplayId; field in LogicalDisplay
100 mDisplayId = displayId; in LogicalDisplay()
111 return mDisplayId; in getDisplayIdLocked()
457 pw.println("mDisplayId=" + mDisplayId); in dumpLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityDisplay.java78 int mDisplayId; field in ActivityDisplay
118 mDisplayId = display.getDisplayId(); in ActivityDisplay()
140 + " to displayId=" + mDisplayId + " position=" + position); in addChild()
148 + " from displayId=" + mDisplayId); in removeChild()
637 return "ActivityDisplay={" + mDisplayId + " numStacks=" + mStacks.size() + "}"; in toString()
818 pw.println(prefix + "displayId=" + mDisplayId + " stacks=" + mStacks.size()); in dump()
846 proto.write(ID, mDisplayId); in writeToProto()
DActivityStack.java346 int mDisplayId; field in ActivityStack
464 mDisplayId = display.mDisplayId; in ActivityStack()
467 mWindowContainerController = createStackWindowController(display.mDisplayId, onTop, in ActivityStack()
627 if (showRecents && !alreadyInSplitScreenMode && mDisplayId == DEFAULT_DISPLAY in setWindowingMode()
684 mWindowContainerController.reparent(activityDisplay.mDisplayId, mTmpRect2, onTop); in reparent()
700 mDisplayId = activityDisplay.mDisplayId; in postAddToDisplay()
722 mDisplayId = INVALID_DISPLAY; in removeFromDisplay()
734 return mStackSupervisor.getActivityDisplay(mDisplayId); in getDisplay()
1001 return mDisplayId == DEFAULT_DISPLAY; in isOnHomeDisplay()
2024 final int displayId = mDisplayId != INVALID_DISPLAY ? mDisplayId : DEFAULT_DISPLAY; in checkKeyguardVisibility()
[all …]
DActivityStackSupervisor.java1885 activityDisplay.mDisplayId, activityDisplay.getPresentUIDs()); in updateUIDsPresentOnDisplay()
2471 if (display != null && canLaunchOnDisplay(r, display.mDisplayId)) { in getLaunchStack()
2491 || !canLaunchOnDisplay(r, display.mDisplayId) in getLaunchStack()
3228 if (currentDisplay.mDisplayId == displayId) { in moveStackToDisplayLocked()
3263 if (stack.mDisplayId != DEFAULT_DISPLAY && !mService.mSupportsMultiDisplay) { in getReparentTargetStack()
3564 display.mDisplayId)) { in applySleepTokensLocked()
3580 if (r.getDisplayId() == display.mDisplayId) { in applySleepTokensLocked()
3975 pw.print("[id:" + display.mDisplayId + " stacks:"); in dumpDisplays()
4035 pw.print(prefix); pw.print(" "); pw.print(activityDisplay.mDisplayId); pw.print(": "); in dumpDisplayConfigs()
4085 pw.print("Display #"); pw.print(activityDisplay.mDisplayId); in dumpActivitiesLocked()
[all …]
DLaunchParamsController.java127 && mTmpParams.mPreferredDisplayId != task.getStack().getDisplay().mDisplayId) { in layoutTask()
DActivityStarter.java807 ? DEFAULT_DISPLAY : mSupervisor.mFocusedStack.mDisplayId)); in startActivity()
1913 } else if (launchStack.mDisplayId != mTargetStack.mDisplayId) { in setTargetStackAndMoveToFrontIfNeeded()
2106 final int targetDisplayId = mTargetStack != null ? mTargetStack.mDisplayId in setTaskFromSourceRecord()
2107 : sourceStack.mDisplayId; in setTaskFromSourceRecord()
2115 if (mTargetStack == null && targetDisplayId != sourceStack.mDisplayId) { in setTaskFromSourceRecord()
2118 sourceStack.mDisplayId, mStartActivity); in setTaskFromSourceRecord()
2396 && r.canBeLaunchedOnDisplay(focusedStack.mDisplayId); in canLaunchIntoFocusedStack()
2401 && (mPreferredDisplayId == focusedStack.mDisplayId); in canLaunchIntoFocusedStack()
DKeyguardController.java274 if (display.mDisplayId == DEFAULT_DISPLAY in visibilitiesUpdated()
DRecentsAnimation.java191 this, mDefaultDisplay.mDisplayId, in startRecentsActivity()
DActivityManagerShellCommand.java135 private int mDisplayId; field in ActivityManagerShellCommand
299 mDisplayId = INVALID_DISPLAY; in makeIntent()
352 mDisplayId = Integer.parseInt(getNextArgRequired()); in makeIntent()
441 if (mDisplayId != INVALID_DISPLAY) {
443 options.setLaunchDisplayId(mDisplayId);
DTaskRecord.java627 if (!canBeLaunchedOnDisplay(toStack.mDisplayId)) { in reparent()
/frameworks/base/core/java/android/app/
DResourcesManager.java469 final boolean isDefaultDisplay = (key.mDisplayId == Display.DEFAULT_DISPLAY); in generateConfig()
495 final DisplayMetrics dm = getDisplayMetrics(key.mDisplayId, daj); in createResourcesImpl()
1016 int displayId = key.mDisplayId; in applyConfigurationToResourcesLocked()
1094 key.mDisplayId, in appendLibAssetForMainAssetPath()
1124 key.mDisplayId, in applyNewResourceDirsLocked()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java487 final int mDisplayId; field in AssistStructure.WindowNode
499 mDisplayId = root.getDisplayId(); in WindowNode()
531 mDisplayId = in.readInt(); in WindowNode()
547 out.writeInt(mDisplayId); in writeSelfToParcel()
592 return mDisplayId; in getDisplayId()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java346 displayIds.put(0, mSupervisor.getDefaultDisplay().mDisplayId); in testTopRunningActivity()

12