/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 106 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() argument 111 info = mDisplayInfoCache.get(displayId); in getDisplayInfo() 117 info = mDm.getDisplayInfo(displayId); in getDisplayInfo() 123 mDisplayInfoCache.put(displayId, info); in getDisplayInfo() 128 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); in getDisplayInfo() 175 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { in getCompatibleDisplay() argument 176 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() 180 return new Display(this, displayId, displayInfo, daj); in getCompatibleDisplay() 189 public Display getRealDisplay(int displayId) { in getRealDisplay() argument 190 return getCompatibleDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getRealDisplay() [all …]
|
D | DisplayManager.java | 189 public Display getDisplay(int displayId) { in getDisplay() argument 191 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); in getDisplay() 260 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { in getOrCreateDisplayLocked() argument 261 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked() 263 display = mGlobal.getCompatibleDisplay(displayId, in getOrCreateDisplayLocked() 264 mContext.getDisplayAdjustments(displayId)); in getOrCreateDisplayLocked() 266 mDisplays.put(displayId, display); in getOrCreateDisplayLocked() 457 void onDisplayAdded(int displayId); in onDisplayAdded() argument 464 void onDisplayRemoved(int displayId); in onDisplayRemoved() argument 471 void onDisplayChanged(int displayId); in onDisplayChanged() argument
|
D | IDisplayManagerCallback.aidl | 21 oneway void onDisplayEvent(int displayId, int event); in onDisplayEvent() argument
|
D | IDisplayManager.aidl | 27 DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo() argument
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowAnimator.java | 104 void addDisplayLocked(final int displayId) { in addDisplayLocked() argument 106 getDisplayContentsAnimatorLocked(displayId); in addDisplayLocked() 107 if (displayId == Display.DEFAULT_DISPLAY) { in addDisplayLocked() 112 void removeDisplayLocked(final int displayId) { in removeDisplayLocked() argument 113 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); in removeDisplayLocked() 121 mDisplayContentsAnimators.delete(displayId); in removeDisplayLocked() 153 private void updateAppWindowsLocked(int displayId) { in updateAppWindowsLocked() argument 154 final DisplayContent displayContent = mService.getDisplayContentLocked(displayId); in updateAppWindowsLocked() 194 private void updateWindowsLocked(final int displayId) { in updateWindowsLocked() argument 197 final WindowList windows = mService.getWindowListLocked(displayId); in updateWindowsLocked() [all …]
|
D | DimLayer.java | 57 final int displayId = mDisplayContent.getDisplayId(); in DimLayer() local 58 if (DEBUG) Slog.v(TAG, "Ctor: displayId=" + displayId); in DimLayer() 74 mDimSurface.setLayerStack(displayId); in DimLayer()
|
D | WindowManagerService.java | 2113 WindowManager.LayoutParams attrs, int viewVisibility, int displayId, in addWindow() argument 2132 final DisplayContent displayContent = getDisplayContentLocked(displayId); in addWindow() 2135 + displayId + ". Aborting."); in addWindow() 2140 + "does not have access: " + displayId + ". Aborting."); in addWindow() 5523 public Bitmap screenshotApplications(IBinder appToken, int displayId, int width, in screenshotApplications() argument 5560 final DisplayContent displayContent = getDisplayContentLocked(displayId); in screenshotApplications() 7008 private void displayReady(int displayId) { in displayReady() argument 7010 final DisplayContent displayContent = getDisplayContentLocked(displayId); in displayReady() 7012 mAnimator.addDisplayLocked(displayId); in displayReady() 7016 DisplayInfo newDisplayInfo = mDisplayManagerService.getDisplayInfo(displayId); in displayReady() [all …]
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 63 void getInitialDisplaySize(int displayId, out Point size); in getInitialDisplaySize() argument 64 void getBaseDisplaySize(int displayId, out Point size); in getBaseDisplaySize() argument 65 void setForcedDisplaySize(int displayId, int width, int height); in setForcedDisplaySize() argument 66 void clearForcedDisplaySize(int displayId); in clearForcedDisplaySize() argument 67 int getInitialDisplayDensity(int displayId); in getInitialDisplayDensity() argument 68 int getBaseDisplayDensity(int displayId); in getBaseDisplayDensity() argument 69 void setForcedDisplayDensity(int displayId, int density); in setForcedDisplayDensity() argument 70 void clearForcedDisplayDensity(int displayId); in clearForcedDisplayDensity() argument 72 void setOverscan(int displayId, int left, int top, int right, int bottom); in setOverscan() argument 209 Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, in screenshotApplications() argument
|
D | Display.java | 215 int displayId, DisplayInfo displayInfo /*not null*/, in Display() argument 218 mDisplayId = displayId; in Display()
|
/frameworks/base/services/java/com/android/server/display/ |
D | DisplayViewport.java | 34 public int displayId; field in DisplayViewport 55 displayId = viewport.displayId; in copyFrom() 67 + ", displayId=" + displayId in toString()
|
D | DisplayManagerService.java | 325 int displayId, DisplayInfo info) { in setDisplayInfoOverrideFromWindowManager() argument 327 LogicalDisplay display = mLogicalDisplays.get(displayId); in setDisplayInfoOverrideFromWindowManager() 330 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); in setDisplayInfoOverrideFromWindowManager() 391 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() argument 396 LogicalDisplay display = mLogicalDisplays.get(displayId); in getDisplayInfo() 936 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked() local 937 final int layerStack = assignLayerStackLocked(displayId); in addLogicalDisplayLocked() 939 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device); in addLogicalDisplayLocked() 948 mLogicalDisplays.put(displayId, display); in addLogicalDisplayLocked() 955 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()) { 292 public void onDisplayRemoved(int displayId) { 293 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() 150 public Resources getTopLevelResources(String resDir, int displayId, in getTopLevelResources() argument 153 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale, in getTopLevelResources() 184 DisplayMetrics dm = getDisplayMetricsLocked(displayId); in getTopLevelResources() 186 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); in getTopLevelResources() 262 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/java/com/android/server/input/ |
D | InputWindowHandle.java | 92 public final int displayId; field in InputWindowHandle 97 Object windowState, int displayId) { in InputWindowHandle() argument 100 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 | 97 public void clearForcedDisplaySize(int displayId) throws RemoteException { in clearForcedDisplaySize() argument 102 public void clearForcedDisplayDensity(int displayId) throws RemoteException { in clearForcedDisplayDensity() argument 107 public void setOverscan(int displayId, int left, int top, int right, int bottom) in setOverscan() argument 269 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, in screenshotApplications() argument 327 public void getInitialDisplaySize(int displayId, Point size) { in getInitialDisplaySize() argument 332 public void getBaseDisplaySize(int displayId, Point size) { in getBaseDisplaySize() argument 337 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { in setForcedDisplaySize() argument 342 public int getInitialDisplayDensity(int displayId) { in getInitialDisplayDensity() argument 347 public int getBaseDisplayDensity(int displayId) { in getBaseDisplayDensity() argument 352 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException { in setForcedDisplayDensity() argument
|
/frameworks/base/services/input/ |
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 | 171 static bool isMainDisplay(int32_t displayId) { in isMainDisplay() argument 172 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE; in isMainDisplay() 438 int32_t displayId = motionEntry->displayId; in enqueueInboundEventLocked() local 443 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y); in enqueueInboundEventLocked() 468 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, in findTouchedWindowAtLocked() argument 475 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked() 862 if (isMainDisplay(entry->displayId)) { in dispatchMotionLocked() 1155 int32_t displayId = entry->displayId; in findTouchedWindowTargetsLocked() local 1165 bool switchedDevice = mTouchState.deviceId >= 0 && mTouchState.displayId >= 0 in findTouchedWindowTargetsLocked() 1168 || mTouchState.displayId != displayId); in findTouchedWindowTargetsLocked() [all …]
|
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/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/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/services/jni/ |
D | com_android_server_input_InputWindowHandle.cpp | 56 jfieldID displayId; member 158 mInfo->displayId = env->GetIntField(obj, in updateInfo() 159 gInputWindowHandleClassInfo.displayId); in updateInfo() 304 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz, in register_android_server_InputWindowHandle()
|
/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) in addToDisplayWithoutInputChannel() argument
|