/frameworks/base/core/java/android/hardware/display/ |
H A D | IDisplayManagerCallback.aidl | 21 oneway void onDisplayEvent(int displayId, int event);
|
H A D | DisplayViewport.java | 37 public int displayId; field in class:DisplayViewport 61 displayId = viewport.displayId; 88 displayId == other.displayId && 102 result += prime * result + displayId; 116 + ", displayId=" + displayId
|
H A D | DisplayManagerGlobal.java | 105 * @param displayId The logical display id. 109 public DisplayInfo getDisplayInfo(int displayId) { argument 114 info = mDisplayInfoCache.get(displayId); 120 info = mDm.getDisplayInfo(displayId); 126 mDisplayInfoCache.put(displayId, info); 131 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); 172 * @param displayId The logical display id. 176 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { argument 177 DisplayInfo displayInfo = getDisplayInfo(displayId); 194 getCompatibleDisplay(int displayId, Resources resources) argument 208 getRealDisplay(int displayId) argument 262 handleDisplayEvent(int displayId, int event) argument 376 requestColorMode(int displayId, int colorMode) argument 450 onDisplayEvent(int displayId, int event) argument 466 sendDisplayEvent(int displayId, int event) argument [all...] |
H A D | DisplayManager.java | 271 * @param displayId The logical display id. 274 public Display getDisplay(int displayId) { argument 276 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); 345 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { argument 346 Display display = mDisplays.get(displayId); 350 final Context context = mContext.getDisplay().getDisplayId() == displayId 353 display = mGlobal.getCompatibleDisplay(displayId, context.getResources()); 355 mDisplays.put(displayId, display); 577 * @param displayId The id of the logical display that was added. 579 void onDisplayAdded(int displayId); argument 586 onDisplayRemoved(int displayId) argument 593 onDisplayChanged(int displayId) argument [all...] |
H A D | DisplayManagerInternal.java | 66 * @param displayId The logical display id. 70 public abstract DisplayInfo getDisplayInfo(int displayId); argument 98 * @param displayId The logical display id. 102 int displayId, DisplayInfo info); 109 * @param displayId Id of the target display. 112 public abstract void getNonOverrideDisplayInfo(int displayId, DisplayInfo outInfo); argument 135 * @param displayId The logical display id to update. 145 public abstract void setDisplayProperties(int displayId, boolean hasContent, argument 155 * @param displayId The logical display id to update. 159 public abstract void setDisplayOffsets(int displayId, in argument 101 setDisplayInfoOverrideFromWindowManager( int displayId, DisplayInfo info) argument 174 isUidPresentOnDisplay(int uid, int displayId) argument [all...] |
H A D | IDisplayManager.aidl | 29 DisplayInfo getDisplayInfo(int displayId); 63 void requestColorMode(int displayId, int colorMode);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 118 bool HWComposer::isValidDisplay(int32_t displayId) const { 119 return static_cast<size_t>(displayId) < mDisplayData.size() && 120 mDisplayData[displayId].hwcDisplay; 267 std::shared_ptr<HWC2::Layer> HWComposer::createLayer(int32_t displayId) { argument 268 if (!isValidDisplay(displayId)) { 269 ALOGE("Failed to create layer on invalid display %d", displayId); 272 auto display = mDisplayData[displayId].hwcDisplay; 276 ALOGE("Failed to create layer on display %d: %s (%d)", displayId, 283 nsecs_t HWComposer::getRefreshTimestamp(int32_t displayId) const { 289 auto vsyncPeriod = getActiveConfig(displayId) 363 setActiveColorMode(int32_t displayId, android_color_mode_t mode) argument 382 setVsyncEnabled(int32_t displayId, HWC2::Vsync enabled) argument 418 setClientTarget(int32_t displayId, uint32_t slot, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, android_dataspace_t dataspace) argument 441 auto displayId = displayDevice.getHwcDisplayId(); local 599 getLayerReleaseFence(int32_t displayId, const std::shared_ptr<HWC2::Layer>& layer) const argument 613 presentAndGetReleaseFences(int32_t displayId) argument 656 setPowerMode(int32_t displayId, int32_t intMode) argument 721 setActiveConfig(int32_t displayId, size_t configId) argument 745 setColorTransform(int32_t displayId, const mat4& transform) argument 767 disconnectDisplay(int displayId) argument 791 setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) argument 823 clearReleaseFences(int32_t displayId) argument 831 getHdrCapabilities( int32_t displayId) argument [all...] |
H A D | HWComposer.h | 95 std::shared_ptr<HWC2::Layer> createLayer(int32_t displayId); 100 status_t setClientTarget(int32_t displayId, uint32_t slot, 105 status_t presentAndGetReleaseFences(int32_t displayId); 108 status_t setPowerMode(int32_t displayId, int mode); 111 status_t setActiveConfig(int32_t displayId, size_t configId); 114 status_t setColorTransform(int32_t displayId, const mat4& transform); 117 void disconnectDisplay(int32_t displayId); 120 bool hasDeviceComposition(int32_t displayId) const; 123 bool hasClientComposition(int32_t displayId) const; 126 sp<Fence> getPresentFence(int32_t displayId) cons [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowAnimator.java | 110 void addDisplayLocked(final int displayId) { argument 113 getDisplayContentsAnimatorLocked(displayId); 114 if (displayId == DEFAULT_DISPLAY) { 119 void removeDisplayLocked(final int displayId) { argument 120 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); 128 mDisplayContentsAnimators.delete(displayId); 161 final int displayId = mDisplayContentsAnimators.keyAt(i); 162 final DisplayContent dc = mService.mRoot.getDisplayContentOrCreate(displayId); 196 final int displayId = mDisplayContentsAnimators.keyAt(i); 197 final DisplayContent dc = mService.mRoot.getDisplayContentOrCreate(displayId); 344 getPendingLayoutChanges(final int displayId) argument 352 setPendingLayoutChanges(final int displayId, final int changes) argument 362 getDisplayContentsAnimatorLocked(int displayId) argument 379 setScreenRotationAnimationLocked(int displayId, ScreenRotationAnimation animation) argument 387 getScreenRotationAnimationLocked(int displayId) argument [all...] |
H A D | StackWindowController.java | 64 int displayId, boolean onTop, Rect outBounds) { 65 this(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance()); 70 int displayId, boolean onTop, Rect outBounds, WindowManagerService service) { 76 final DisplayContent dc = mRoot.getDisplayContent(displayId); 79 + " to unknown displayId=" + displayId); 104 public void reparent(int displayId, Rect outStackBounds, boolean onTop) { argument 108 + " to displayId=" + displayId); 111 final DisplayContent targetDc = mRoot.getDisplayContent(displayId); 63 StackWindowController(int stackId, StackWindowListener listener, int displayId, boolean onTop, Rect outBounds) argument 69 StackWindowController(int stackId, StackWindowListener listener, int displayId, boolean onTop, Rect outBounds, WindowManagerService service) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 75 void getInitialDisplaySize(int displayId, out Point size); 76 void getBaseDisplaySize(int displayId, out Point size); 77 void setForcedDisplaySize(int displayId, int width, int height); 78 void clearForcedDisplaySize(int displayId); 79 int getInitialDisplayDensity(int displayId); 80 int getBaseDisplayDensity(int displayId); 81 void setForcedDisplayDensityForUser(int displayId, int density, int userId); 82 void clearForcedDisplayDensityForUser(int displayId, int userId); 83 void setForcedDisplayScalingMode(int displayId, int mode); // 0 = auto, 1 = disable 85 void setOverscan(int displayId, in [all...] |
H A D | WindowManagerInternal.java | 255 * @param displayId The display to add the token to. 257 public abstract void addWindowToken(android.os.IBinder token, int type, int displayId); argument 264 * @param displayId The display to remove the token from. 267 int displayId); 266 removeWindowToken(android.os.IBinder token, boolean removeWindows, int displayId) argument
|
/frameworks/native/include/input/ |
H A D | DisplayViewport.h | 30 int32_t displayId; // -1 if invalid member in struct:android::DisplayViewport 45 displayId(ADISPLAY_ID_NONE), orientation(DISPLAY_ORIENTATION_0), 52 return displayId == other.displayId 72 return displayId >= 0; 76 displayId = ADISPLAY_ID_NONE;
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 95 public final int displayId; field in class:InputWindowHandle 100 Object windowState, IWindow clientWindow, int displayId) { 104 this.displayId = displayId; 99 InputWindowHandle(InputApplicationHandle inputApplicationHandle, Object windowState, IWindow clientWindow, int displayId) argument
|
/frameworks/support/compat/java/android/support/v4/hardware/display/ |
H A D | DisplayManagerCompat.java | 77 * @param displayId The logical display id. 80 public abstract Display getDisplay(int displayId); argument 115 public Display getDisplay(int displayId) { argument 117 if (display.getDisplayId() == displayId) { 143 public Display getDisplay(int displayId) { argument 144 return mDisplayManager.getDisplay(displayId);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 246 // Lists of UIDs that are present on the displays. Maps displayId -> array of UIDs. 359 int displayId, DisplayInfo info) { 361 LogicalDisplay display = mLogicalDisplays.get(displayId); 364 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); 374 private void getNonOverrideDisplayInfoInternal(int displayId, DisplayInfo outInfo) { argument 376 final LogicalDisplay display = mLogicalDisplays.get(displayId); 445 private DisplayInfo getDisplayInfoInternal(int displayId, int callingUid) { argument 447 LogicalDisplay display = mLogicalDisplays.get(displayId); 451 || isUidPresentOnDisplayInternal(callingUid, displayId)) { 610 private void requestColorModeInternal(int displayId, in argument 358 setDisplayInfoOverrideFromWindowManagerInternal( int displayId, DisplayInfo info) argument 896 assignLayerStackLocked(int displayId) argument 944 setDisplayPropertiesInternal(int displayId, boolean hasContent, float requestedRefreshRate, int requestedModeId, boolean inTraversal) argument 976 setDisplayOffsetsInternal(int displayId, int x, int y) argument 1006 isUidPresentOnDisplayInternal(int uid, int displayId) argument 1097 sendDisplayEventLocked(int displayId, int event) argument 1115 deliverDisplayEvent(int displayId, int event) argument 1312 notifyDisplayEventAsync(int displayId, int event) argument 1333 getDisplayInfo(int displayId) argument 1503 requestColorMode(int displayId, int colorMode) argument 1720 getDisplayInfo(int displayId) argument 1743 setDisplayInfoOverrideFromWindowManager(int displayId, DisplayInfo info) argument 1748 getNonOverrideDisplayInfo(int displayId, DisplayInfo outInfo) argument 1758 setDisplayProperties(int displayId, boolean hasContent, float requestedRefreshRate, int requestedMode, boolean inTraversal) argument 1765 setDisplayOffsets(int displayId, int x, int y) argument 1775 isUidPresentOnDisplay(int uid, int displayId) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceInterceptor.h | 63 void saveDisplayDeletion(int32_t displayId); 64 void savePowerModeUpdate(int32_t displayId, int32_t mode); 89 void addDisplayDeletionLocked(Increment* increment, int32_t displayId); 90 void addPowerModeUpdateLocked(Increment* increment, int32_t displayId, int32_t mode); 117 DisplayChange* createDisplayChangeLocked(Transaction* transaction, int32_t displayId); 118 void addDisplaySurfaceLocked(Transaction* transaction, int32_t displayId, 120 void addDisplayLayerStackLocked(Transaction* transaction, int32_t displayId, 122 void addDisplaySizeLocked(Transaction* transaction, int32_t displayId, uint32_t w, 124 void addDisplayProjectionLocked(Transaction* transaction, int32_t displayId, 127 const DisplayState& state, int32_t displayId); [all...] |
H A D | SurfaceInterceptor.cpp | 121 addDisplaySurfaceLocked(transaction, display.displayId, display.surface); 122 addDisplayLayerStackLocked(transaction, display.displayId, display.layerStack); 123 addDisplaySizeLocked(transaction, display.displayId, display.width, display.height); 124 addDisplayProjectionLocked(transaction, display.displayId, display.orientation, 176 int32_t displayId) 179 dispChange->set_id(displayId); 378 const DisplayState& state, int32_t displayId) 381 addDisplaySurfaceLocked(transaction, displayId, state.surface); 384 addDisplayLayerStackLocked(transaction, displayId, state.layerStack); 387 addDisplaySizeLocked(transaction, displayId, stat 175 createDisplayChangeLocked(Transaction* transaction, int32_t displayId) argument 377 addDisplayChangesLocked(Transaction* transaction, const DisplayState& state, int32_t displayId) argument 447 addDisplaySurfaceLocked(Transaction* transaction, int32_t displayId, const sp<const IGraphicBufferProducer>& surface) argument 467 addDisplayLayerStackLocked(Transaction* transaction, int32_t displayId, uint32_t layerStack) argument 475 addDisplaySizeLocked(Transaction* transaction, int32_t displayId, uint32_t w, uint32_t h) argument 484 addDisplayProjectionLocked(Transaction* transaction, int32_t displayId, int32_t orientation, const Rect& viewport, const Rect& frame) argument 506 addDisplayDeletionLocked(Increment* increment, int32_t displayId) argument 511 addPowerModeUpdateLocked(Increment* increment, int32_t displayId, int32_t mode) argument 578 saveDisplayDeletion(int32_t displayId) argument 584 addDisplayDeletionLocked(createTraceIncrementLocked(), displayId); local 587 savePowerModeUpdate(int32_t displayId, int32_t mode) argument 593 addPowerModeUpdateLocked(createTraceIncrementLocked(), displayId, mode); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 84 public void clearForcedDisplaySize(int displayId) throws RemoteException { argument 89 public void clearForcedDisplayDensityForUser(int displayId, int userId) throws RemoteException { argument 94 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument 297 public void getInitialDisplaySize(int displayId, Point size) { argument 302 public void getBaseDisplaySize(int displayId, Point size) { argument 307 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { argument 312 public int getInitialDisplayDensity(int displayId) { argument 317 public int getBaseDisplayDensity(int displayId) { argument 322 public void setForcedDisplayDensityForUser(int displayId, int density, int userId) argument 328 public void setForcedDisplayScalingMode(int displayId, in argument 337 setNewDisplayOverrideConfiguration(Configuration arg0, int displayId) argument 483 registerPinnedStackListener(int displayId, IPinnedStackListener listener) argument 501 getStableInsets(int displayId, Rect outInsets) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
H A D | DisplayDensityUtils.java | 196 * @param displayId the identifier of the display 200 private static int getDefaultDisplayDensity(int displayId) { argument 203 return wm.getInitialDisplayDensity(displayId); 215 * @param displayId the identifier of the display to modify 217 public static void clearForcedDisplayDensity(final int displayId) { argument 222 wm.clearForcedDisplayDensityForUser(displayId, userId); 235 * @param displayId the identifier of the display to modify 238 public static void setForcedDisplayDensity(final int displayId, final int density) { argument 243 wm.setForcedDisplayDensityForUser(displayId, density, userId);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManagerInternal.java | 33 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityContainer.aidl | 28 void addToDisplay(int displayId);
|
H A D | Presentation.java | 341 public void onDisplayAdded(int displayId) { 345 public void onDisplayRemoved(int displayId) { 346 if (displayId == mDisplay.getDisplayId()) { 352 public void onDisplayChanged(int displayId) { 353 if (displayId == mDisplay.getDisplayId()) {
|
/frameworks/base/core/jni/ |
H A D | android_hardware_display_DisplayViewport.cpp | 36 jfieldID displayId; member in struct:android::__anon1092 56 viewport->displayId = env->GetIntField(viewportObj, gDisplayViewportClassInfo.displayId); 90 gDisplayViewportClassInfo.displayId = GetFieldIDOrDie(env, 91 gDisplayViewportClassInfo.clazz, "displayId", "I");
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PinnedActivityStack.java | 42 PinnedStackWindowController createStackWindowController(int displayId, boolean onTop, argument 44 return new PinnedStackWindowController(mStackId, this, displayId, onTop, outBounds);
|