/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimator.java | 132 void addDisplayLocked(final int displayId) { in addDisplayLocked() argument 134 getDisplayContentsAnimatorLocked(displayId); in addDisplayLocked() 135 if (displayId == Display.DEFAULT_DISPLAY) { in addDisplayLocked() 140 void removeDisplayLocked(final int displayId) { in removeDisplayLocked() argument 141 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); in removeDisplayLocked() 149 mDisplayContentsAnimators.delete(displayId); in removeDisplayLocked() 181 private void updateAppWindowsLocked(int displayId) { in updateAppWindowsLocked() argument 182 ArrayList<TaskStack> stacks = mService.getDisplayContentLocked(displayId).getStacks(); in updateAppWindowsLocked() 242 private void updateWindowsLocked(final int displayId) { in updateWindowsLocked() argument 245 final WindowList windows = mService.getWindowListLocked(displayId); in updateWindowsLocked() [all …]
|
D | DimLayer.java | 71 final int displayId = mDisplayContent.getDisplayId(); in DimLayer() local 72 if (DEBUG) Slog.v(TAG, "Ctor: displayId=" + displayId); in DimLayer() 88 mDimSurface.setLayerStack(displayId); in DimLayer()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 108 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() argument 113 info = mDisplayInfoCache.get(displayId); in getDisplayInfo() 119 info = mDm.getDisplayInfo(displayId); in getDisplayInfo() 125 mDisplayInfoCache.put(displayId, info); in getDisplayInfo() 130 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); in getDisplayInfo() 177 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { in getCompatibleDisplay() argument 178 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() 182 return new Display(this, displayId, displayInfo, daj); in getCompatibleDisplay() 191 public Display getRealDisplay(int displayId) { in getRealDisplay() argument 192 return getCompatibleDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getRealDisplay() [all …]
|
D | DisplayManager.java | 252 public Display getDisplay(int displayId) { in getDisplay() argument 254 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); in getDisplay() 323 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { in getOrCreateDisplayLocked() argument 324 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked() 326 display = mGlobal.getCompatibleDisplay(displayId, in getOrCreateDisplayLocked() 327 mContext.getDisplayAdjustments(displayId)); in getOrCreateDisplayLocked() 329 mDisplays.put(displayId, display); in getOrCreateDisplayLocked() 551 void onDisplayAdded(int displayId); in onDisplayAdded() argument 558 void onDisplayRemoved(int displayId); in onDisplayRemoved() argument 565 void onDisplayChanged(int displayId); in onDisplayChanged() argument
|
D | DisplayViewport.java | 36 public int displayId; field in DisplayViewport 57 displayId = viewport.displayId; in copyFrom() 69 + ", displayId=" + displayId in toString()
|
D | DisplayManagerInternal.java | 68 public abstract DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo() argument 100 int displayId, DisplayInfo info); in setDisplayInfoOverrideFromWindowManager() argument 131 public abstract void setDisplayProperties(int displayId, boolean hasContent, in setDisplayProperties() argument
|
D | IDisplayManagerCallback.aidl | 21 oneway void onDisplayEvent(int displayId, int event); in onDisplayEvent() argument
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 64 void getInitialDisplaySize(int displayId, out Point size); in getInitialDisplaySize() argument 65 void getBaseDisplaySize(int displayId, out Point size); in getBaseDisplaySize() argument 66 void setForcedDisplaySize(int displayId, int width, int height); in setForcedDisplaySize() argument 67 void clearForcedDisplaySize(int displayId); in clearForcedDisplaySize() argument 68 int getInitialDisplayDensity(int displayId); in getInitialDisplayDensity() argument 69 int getBaseDisplayDensity(int displayId); in getBaseDisplayDensity() argument 70 void setForcedDisplayDensity(int displayId, int density); in setForcedDisplayDensity() argument 71 void clearForcedDisplayDensity(int displayId); in clearForcedDisplayDensity() argument 73 void setOverscan(int displayId, int left, int top, int right, int bottom); in setOverscan() argument 223 Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, in screenshotApplications() argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 298 int displayId, DisplayInfo info) { in setDisplayInfoOverrideFromWindowManagerInternal() argument 300 LogicalDisplay display = mLogicalDisplays.get(displayId); in setDisplayInfoOverrideFromWindowManagerInternal() 303 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); in setDisplayInfoOverrideFromWindowManagerInternal() 351 private DisplayInfo getDisplayInfoInternal(int displayId, int callingUid) { in getDisplayInfoInternal() argument 353 LogicalDisplay display = mLogicalDisplays.get(displayId); in getDisplayInfoInternal() 734 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked() local 735 final int layerStack = assignLayerStackLocked(displayId); in addLogicalDisplayLocked() 737 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device); in addLogicalDisplayLocked() 746 mLogicalDisplays.put(displayId, display); in addLogicalDisplayLocked() 753 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_ADDED); in addLogicalDisplayLocked() [all …]
|
D | OverlayDisplayWindow.java | 277 public void onDisplayAdded(int displayId) { 281 public void onDisplayChanged(int displayId) { 282 if (displayId == mDefaultDisplay.getDisplayId()) { 293 public void onDisplayRemoved(int displayId) { 294 if (displayId == mDefaultDisplay.getDisplayId()) {
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 73 public DisplayMetrics getDisplayMetricsLocked(int displayId) { in getDisplayMetricsLocked() argument 74 return getDisplayMetricsLocked(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getDisplayMetricsLocked() 77 public DisplayMetrics getDisplayMetricsLocked(int displayId, DisplayAdjustments daj) { in getDisplayMetricsLocked() argument 78 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); in getDisplayMetricsLocked() 96 Display d = displayManager.getCompatibleDisplay(displayId, daj); in getDisplayMetricsLocked() 153 String[] overlayDirs, String[] libDirs, int displayId, in getTopLevelResources() argument 156 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale, token); in getTopLevelResources() 214 DisplayMetrics dm = getDisplayMetricsLocked(displayId); in getTopLevelResources() 216 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); in getTopLevelResources() 292 int displayId = key.mDisplayId; in applyConfigurationToResourcesLocked() local [all …]
|
D | Presentation.java | 325 public void onDisplayAdded(int displayId) { 329 public void onDisplayRemoved(int displayId) { 330 if (displayId == mDisplay.getDisplayId()) { 336 public void onDisplayChanged(int displayId) { 337 if (displayId == mDisplay.getDisplayId()) {
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputWindowHandle.java | 91 public final int displayId; field in InputWindowHandle 96 Object windowState, int displayId) { in InputWindowHandle() argument 99 this.displayId = displayId; in InputWindowHandle()
|
/frameworks/support/v4/java/android/support/v4/hardware/display/ |
D | DisplayManagerCompat.java | 78 public abstract Display getDisplay(int displayId); in getDisplay() argument 113 public Display getDisplay(int displayId) { in getDisplay() argument 115 if (display.getDisplayId() == displayId) { in getDisplay() 140 public Display getDisplay(int displayId) { in getDisplay() argument 141 return DisplayManagerJellybeanMr1.getDisplay(mDisplayManagerObj, displayId); in getDisplay()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 88 public void clearForcedDisplaySize(int displayId) throws RemoteException { in clearForcedDisplaySize() argument 93 public void clearForcedDisplayDensity(int displayId) throws RemoteException { in clearForcedDisplayDensity() argument 98 public void setOverscan(int displayId, int left, int top, int right, int bottom) in setOverscan() argument 272 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, in screenshotApplications() argument 335 public void getInitialDisplaySize(int displayId, Point size) { in getInitialDisplaySize() argument 340 public void getBaseDisplaySize(int displayId, Point size) { in getBaseDisplaySize() argument 345 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { in setForcedDisplaySize() argument 350 public int getInitialDisplayDensity(int displayId) { in getInitialDisplayDensity() argument 355 public int getBaseDisplayDensity(int displayId) { in getBaseDisplayDensity() argument 360 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException { in setForcedDisplayDensity() argument
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 72 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, in NotifyMotionArgs() argument 77 edgeFlags(edgeFlags), displayId(displayId), pointerCount(pointerCount), in NotifyMotionArgs() 90 edgeFlags(other.edgeFlags), displayId(other.displayId), in NotifyMotionArgs()
|
D | InputDispatcher.cpp | 172 static bool isMainDisplay(int32_t displayId) { in isMainDisplay() argument 173 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE; in isMainDisplay() 441 int32_t displayId = motionEntry->displayId; in enqueueInboundEventLocked() local 446 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y); in enqueueInboundEventLocked() 471 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, in findTouchedWindowAtLocked() argument 478 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked() 859 if (isMainDisplay(entry->displayId)) { in dispatchMotionLocked() 1022 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(info->displayId); in resumeAfterTargetsNotReadyTimeoutLocked() 1128 int32_t displayId = entry->displayId; in findTouchedWindowTargetsLocked() local 1141 ssize_t oldStateIndex = mTouchStatesByDisplay.indexOfKey(displayId); in findTouchedWindowTargetsLocked() [all …]
|
D | InputDispatcher.h | 297 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId, 381 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId, 514 int32_t displayId; member 524 nsecs_t downTime, int32_t displayId, uint32_t pointerCount, 703 bool isHovering(int32_t deviceId, uint32_t source, int32_t displayId) const; 759 int32_t displayId; member 879 sp<InputWindowHandle> findTouchedWindowAtLocked(int32_t displayId, int32_t x, int32_t y); 959 int32_t displayId; // id to the display that currently has a touch, others are rejected member
|
D | InputListener.h | 91 int32_t displayId; member 103 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/ |
D | DisplayManagerJellybeanMr1.java | 27 public static Display getDisplay(Object displayManagerObj, int displayId) { in getDisplay() argument 28 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplay(displayId); in getDisplay()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 95 int32_t displayId = DEFAULT_DISPLAY_ID; in main() local 103 displayId = atoi(optarg); in main() 143 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); in main()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 31 public ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, in ResourcesKey() argument 34 mDisplayId = displayId; in ResourcesKey()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputWindowHandle.cpp | 56 jfieldID displayId; member 159 mInfo->displayId = env->GetIntField(obj, in updateInfo() 160 gInputWindowHandleClassInfo.displayId); in updateInfo() 302 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz, in register_android_server_InputWindowHandle()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManagerInternal.java | 28 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); in injectInputEvent() argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeWindowSession.java | 49 public int addToDisplay(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, in addToDisplay() argument 66 int displayId, Rect arg3, Rect arg4) in addToDisplayWithoutInputChannel() argument
|