/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationProcessor.java | 75 public @NonNull MagnificationConfig getMagnificationConfig(int displayId) { in getMagnificationConfig() argument 76 final int mode = getControllingMode(displayId); in getMagnificationConfig() 82 .setScale(fullScreenMagnificationController.getScale(displayId)) in getMagnificationConfig() 83 .setCenterX(fullScreenMagnificationController.getCenterX(displayId)) in getMagnificationConfig() 84 .setCenterY(fullScreenMagnificationController.getCenterY(displayId)); in getMagnificationConfig() 89 .setScale(windowMagnificationManager.getScale(displayId)) in getMagnificationConfig() 90 .setCenterX(windowMagnificationManager.getCenterX(displayId)) in getMagnificationConfig() 91 .setCenterY(windowMagnificationManager.getCenterY(displayId)); in getMagnificationConfig() 108 public boolean setMagnificationConfig(int displayId, @NonNull MagnificationConfig config, in setMagnificationConfig() argument 113 if (transitionModeIfNeeded(displayId, config, animate, id)) { in setMagnificationConfig() [all …]
|
D | MagnificationController.java | 139 void onResult(int displayId, boolean success); in onResult() argument 165 public void onPerformScaleAction(int displayId, float scale) { in onPerformScaleAction() argument 166 getWindowMagnificationMgr().setScale(displayId, scale); in onPerformScaleAction() 167 getWindowMagnificationMgr().persistScale(displayId); in onPerformScaleAction() 171 public void onAccessibilityActionPerformed(int displayId) { in onAccessibilityActionPerformed() argument 172 updateMagnificationButton(displayId, ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onAccessibilityActionPerformed() 176 public void onTouchInteractionStart(int displayId, int mode) { in onTouchInteractionStart() argument 177 handleUserInteractionChanged(displayId, mode); in onTouchInteractionStart() 181 public void onTouchInteractionEnd(int displayId, int mode) { in onTouchInteractionEnd() argument 182 handleUserInteractionChanged(displayId, mode); in onTouchInteractionEnd() [all …]
|
D | WindowMagnificationManager.java | 149 final int displayId = context.getDisplayId(); 150 removeMagnificationButton(displayId); 151 disableWindowMagnification(displayId, false, null); 167 void onPerformScaleAction(int displayId, float scale); in onPerformScaleAction() argument 174 void onAccessibilityActionPerformed(int displayId); in onAccessibilityActionPerformed() argument 182 void onWindowMagnificationActivationState(int displayId, boolean activated); in onWindowMagnificationActivationState() argument 190 void onSourceBoundsChanged(int displayId, Rect bounds); in onSourceBoundsChanged() argument 199 void onChangeMagnificationMode(int displayId, int magnificationMode); in onChangeMagnificationMode() argument 393 public void onRectangleOnScreenRequested(int displayId, int left, int top, int right, in onRectangleOnScreenRequested() argument 403 if (mIsImeVisibleArray.get(displayId, false) in onRectangleOnScreenRequested() [all …]
|
D | WindowMagnificationConnectionWrapper.java | 61 boolean enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() argument 67 "displayId=" + displayId + ";scale=" + scale + ";centerX=" + centerX in enableWindowMagnification() 73 mConnection.enableWindowMagnification(displayId, scale, centerX, centerY, in enableWindowMagnification() 85 boolean setScale(int displayId, float scale) { in setScale() argument 88 "displayId=" + displayId + ";scale=" + scale); in setScale() 91 mConnection.setScale(displayId, scale); in setScale() 101 boolean disableWindowMagnification(int displayId, in disableWindowMagnification() argument 106 "displayId=" + displayId + ";callback=" + callback); in disableWindowMagnification() 109 mConnection.disableWindowMagnification(displayId, in disableWindowMagnification() 120 boolean moveWindowMagnifier(int displayId, float offsetX, float offsetY) { in moveWindowMagnifier() argument [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 47 #define LOG_DISPLAY_ERROR(displayId, msg) \ argument 48 ALOGE("%s failed for display %s: %s", __FUNCTION__, to_string(displayId).c_str(), msg) 50 #define LOG_HWC_ERROR(what, error, displayId) \ argument 52 to_string(displayId).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)) 54 #define RETURN_IF_INVALID_DISPLAY(displayId, ...) \ argument 56 if (mDisplayData.count(displayId) == 0) { \ 57 LOG_DISPLAY_ERROR(displayId, "Invalid display"); \ 62 #define RETURN_IF_HWC_ERROR_FOR(what, error, displayId, ...) \ argument 65 LOG_HWC_ERROR(what, error, displayId); \ 70 #define RETURN_IF_HWC_ERROR(error, displayId, ...) \ argument [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 96 public Display getDisplay(int displayId) { in getDisplay() argument 98 return displayManager.getDisplay(displayId); in getDisplay() 104 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() argument 105 final DisplayRecord r = mDisplays.get(displayId); in getDisplayLayout() 112 public @Nullable Context getDisplayContext(int displayId) { in getDisplayContext() argument 113 final DisplayRecord r = mDisplays.get(displayId); in getDisplayContext() 120 public InsetsState getInsetsState(int displayId) { in getInsetsState() argument 121 final DisplayRecord r = mDisplays.get(displayId); in getInsetsState() 128 public void updateDisplayInsets(int displayId, InsetsState state) { in updateDisplayInsets() argument 129 final DisplayRecord r = mDisplays.get(displayId); in updateDisplayInsets() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationControllerTest.java | 191 int displayId) { in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() argument 192 register(displayId); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 197 assertEquals(expectedInitialSpec, getCurrentMagnificationSpec(displayId)); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 198 mFullScreenMagnificationController.getMagnificationRegion(displayId, initialMagRegion); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 199 mFullScreenMagnificationController.getMagnificationBounds(displayId, initialBounds); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 203 mFullScreenMagnificationController.getCenterX(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 205 mFullScreenMagnificationController.getCenterY(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 216 private void notRegistered_publicMethodsShouldBeBenign(int displayId) { in notRegistered_publicMethodsShouldBeBenign() argument 217 assertFalse(mFullScreenMagnificationController.isMagnifying(displayId)); in notRegistered_publicMethodsShouldBeBenign() 219 mFullScreenMagnificationController.magnificationRegionContains(displayId, 100, in notRegistered_publicMethodsShouldBeBenign() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | RootDisplayAreaOrganizer.java | 55 public void attachToDisplayArea(int displayId, SurfaceControl.Builder b) { in attachToDisplayArea() argument 56 final SurfaceControl sc = mLeashes.get(displayId); in attachToDisplayArea() 71 final int displayId = displayAreaInfo.displayId; in onDisplayAreaAppeared() local 72 if (mDisplayAreasInfo.get(displayId) != null) { in onDisplayAreaAppeared() 74 "Duplicate DA for displayId: " + displayId in onDisplayAreaAppeared() 76 + " mDisplayAreasInfo.get():" + mDisplayAreasInfo.get(displayId)); in onDisplayAreaAppeared() 79 mDisplayAreasInfo.put(displayId, displayAreaInfo); in onDisplayAreaAppeared() 80 mLeashes.put(displayId, leash); in onDisplayAreaAppeared() 85 final int displayId = displayAreaInfo.displayId; in onDisplayAreaVanished() local 86 if (mDisplayAreasInfo.get(displayId) == null) { in onDisplayAreaVanished() [all …]
|
D | RootTaskDisplayAreaOrganizer.java | 72 public void registerListener(int displayId, RootTaskDisplayAreaListener listener) { in registerListener() argument 73 ArrayList<RootTaskDisplayAreaListener> listeners = mListeners.get(displayId); in registerListener() 76 mListeners.put(displayId, listeners); in registerListener() 81 final DisplayAreaInfo info = mDisplayAreasInfo.get(displayId); in registerListener() 95 public void attachToDisplayArea(int displayId, SurfaceControl.Builder b) { in attachToDisplayArea() argument 96 final SurfaceControl sc = mLeashes.get(displayId); in attachToDisplayArea() 100 public void setPosition(@NonNull SurfaceControl.Transaction tx, int displayId, int x, int y) { in setPosition() argument 101 final SurfaceControl sc = mLeashes.get(displayId); in setPosition() 103 throw new IllegalArgumentException("can't find display" + displayId); in setPosition() 117 final int displayId = displayAreaInfo.displayId; in onDisplayAreaAppeared() local [all …]
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 109 void getInitialDisplaySize(int displayId, out Point size); in getInitialDisplaySize() argument 111 void getBaseDisplaySize(int displayId, out Point size); in getBaseDisplaySize() argument 112 void setForcedDisplaySize(int displayId, int width, int height); in setForcedDisplaySize() argument 113 void clearForcedDisplaySize(int displayId); in clearForcedDisplaySize() argument 115 int getInitialDisplayDensity(int displayId); in getInitialDisplayDensity() argument 116 int getBaseDisplayDensity(int displayId); in getBaseDisplayDensity() argument 117 void setForcedDisplayDensityForUser(int displayId, int density, int userId); in setForcedDisplayDensityForUser() argument 118 void clearForcedDisplayDensityForUser(int displayId, int userId); in clearForcedDisplayDensityForUser() argument 119 void setForcedDisplayScalingMode(int displayId, int mode); // 0 = auto, 1 = disable in setForcedDisplayScalingMode() argument 134 void addWindowToken(IBinder token, int type, int displayId, in Bundle options); in addWindowToken() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationConnectionImpl.java | 52 public void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() argument 56 () -> mWindowMagnification.enableWindowMagnification(displayId, scale, centerX, in enableWindowMagnification() 62 public void setScale(int displayId, float scale) { in setScale() argument 63 mHandler.post(() -> mWindowMagnification.setScale(displayId, scale)); in setScale() 67 public void disableWindowMagnification(int displayId, in disableWindowMagnification() argument 69 mHandler.post(() -> mWindowMagnification.disableWindowMagnification(displayId, in disableWindowMagnification() 74 public void moveWindowMagnifier(int displayId, float offsetX, float offsetY) { in moveWindowMagnifier() argument 76 () -> mWindowMagnification.moveWindowMagnifier(displayId, offsetX, offsetY)); in moveWindowMagnifier() 80 public void moveWindowMagnifierToPosition(int displayId, float positionX, float positionY, in moveWindowMagnifierToPosition() argument 83 displayId, positionX, positionY, callback)); in moveWindowMagnifierToPosition() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 226 void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 228 disableFeaturesForDisplay(displayId); in onDisplayRemoved() 229 resetStreamStateForDisplay(displayId); in onDisplayRemoved() 258 final int displayId = event.getDisplayId(); in onInputEvent() local 261 clearEventStreamHandler(displayId, eventSource); in onInputEvent() 267 clearEventStreamHandler(displayId, eventSource); in onInputEvent() 296 final int displayId = event.getDisplayId(); in getEventStreamState() local 299 EventStreamState touchScreenStreamState = mTouchScreenStreamStates.get(displayId); in getEventStreamState() 302 mTouchScreenStreamStates.put(displayId, touchScreenStreamState); in getEventStreamState() 307 EventStreamState mouseStreamState = mMouseStreamStates.get(displayId); in getEventStreamState() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | FocusResolver.cpp | 41 sp<IBinder> FocusResolver::getFocusedWindowToken(int32_t displayId) const { in getFocusedWindowToken() 42 auto it = mFocusedWindowTokenByDisplay.find(displayId); in getFocusedWindowToken() 46 std::optional<FocusRequest> FocusResolver::getFocusRequest(int32_t displayId) { in getFocusRequest() argument 47 auto it = mFocusRequestByDisplay.find(displayId); in getFocusRequest() 58 int32_t displayId, const std::vector<sp<WindowInfoHandle>>& windows) { in setInputWindows() argument 62 const sp<IBinder> currentFocus = getFocusedWindowToken(displayId); in setInputWindows() 73 const std::optional<FocusRequest> request = getFocusRequest(displayId); in setInputWindows() 77 const Focusability previousResult = mLastFocusResultByDisplay[displayId]; in setInputWindows() 78 mLastFocusResultByDisplay[displayId] = result; in setInputWindows() 80 return updateFocusedWindow(displayId, in setInputWindows() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityServiceConnectionImpl.java | 103 public MagnificationConfig getMagnificationConfig(int displayId) { in getMagnificationConfig() argument 107 public float getMagnificationScale(int displayId) { in getMagnificationScale() argument 111 public float getMagnificationCenterX(int displayId) { in getMagnificationCenterX() argument 115 public float getMagnificationCenterY(int displayId) { in getMagnificationCenterY() argument 119 public Region getMagnificationRegion(int displayId) { in getMagnificationRegion() argument 123 public Region getCurrentMagnificationRegion(int displayId) { in getCurrentMagnificationRegion() argument 127 public boolean resetMagnification(int displayId, boolean animate) { in resetMagnification() argument 131 public boolean resetCurrentMagnification(int displayId, boolean animate) { in resetCurrentMagnification() argument 135 public boolean setMagnificationConfig(int displayId, in setMagnificationConfig() argument 140 public void setMagnificationCallbackEnabled(int displayId, boolean enabled) {} in setMagnificationCallbackEnabled() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PossibleDisplayInfoMapper.java | 62 public List<DisplayInfo> getPossibleDisplayInfos(int displayId) { in getPossibleDisplayInfos() argument 67 updatePossibleDisplayInfos(displayId); in getPossibleDisplayInfos() 68 if (!mDisplayInfos.contains(displayId)) { in getPossibleDisplayInfos() 71 return List.copyOf(mDisplayInfos.get(displayId)); in getPossibleDisplayInfos() 78 public void updatePossibleDisplayInfos(int displayId) { in updatePossibleDisplayInfos() argument 79 Set<DisplayInfo> displayInfos = mDisplayManagerInternal.getPossibleDisplayInfo(displayId); in updatePossibleDisplayInfos() 82 + displayInfos.size() + " on display " + displayId); in updatePossibleDisplayInfos() 90 public void removePossibleDisplayInfos(int displayId) { in removePossibleDisplayInfos() argument 91 if (DEBUG && mDisplayInfos.get(displayId) != null) { in removePossibleDisplayInfos() 93 displayId).size() + ") with id " + displayId); in removePossibleDisplayInfos() [all …]
|
D | KeyguardController.java | 100 boolean isAodShowing(int displayId) { in isAodShowing() argument 101 return getDisplayState(displayId).mAodShowing; in isAodShowing() 108 boolean isKeyguardOrAodShowing(int displayId) { in isKeyguardOrAodShowing() argument 109 final KeyguardDisplayState state = getDisplayState(displayId); in isKeyguardOrAodShowing() 112 && !isDisplayOccluded(displayId); in isKeyguardOrAodShowing() 120 boolean isKeyguardUnoccludedOrAodShowing(int displayId) { in isKeyguardUnoccludedOrAodShowing() argument 121 final KeyguardDisplayState state = getDisplayState(displayId); in isKeyguardUnoccludedOrAodShowing() 122 if (displayId == DEFAULT_DISPLAY && state.mAodShowing) { in isKeyguardUnoccludedOrAodShowing() 125 return isKeyguardOrAodShowing(displayId); in isKeyguardUnoccludedOrAodShowing() 132 boolean isKeyguardShowing(int displayId) { in isKeyguardShowing() argument [all …]
|
D | WindowManagerInternal.java | 139 void onRectangleOnScreenRequested(int displayId, int left, int top, int right, in onRectangleOnScreenRequested() argument 382 public abstract boolean setMagnificationCallbacks(int displayId, in setMagnificationCallbacks() argument 394 public abstract void setMagnificationSpec(int displayId, MagnificationSpec spec); in setMagnificationSpec() argument 403 public abstract void setForceShowMagnifiableBounds(int displayId, boolean show); in setForceShowMagnifiableBounds() argument 411 public abstract void getMagnificationRegion(int displayId, @NonNull Region magnificationRegion); in getMagnificationRegion() argument 420 public abstract void setWindowsForAccessibilityCallback(int displayId, in setWindowsForAccessibilityCallback() argument 488 public abstract void waitForAllWindowsDrawn(Runnable callback, long timeout, int displayId); in waitForAllWindowsDrawn() argument 497 public abstract void setForcedDisplaySize(int displayId, int width, int height); in setForcedDisplaySize() argument 504 public abstract void clearForcedDisplaySize(int displayId); in clearForcedDisplaySize() argument 514 public abstract void addWindowToken(@NonNull android.os.IBinder token, int type, int displayId, in addWindowToken() argument [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceConnection.aidl | 81 MagnificationConfig getMagnificationConfig(int displayId); in getMagnificationConfig() argument 83 float getMagnificationScale(int displayId); in getMagnificationScale() argument 85 float getMagnificationCenterX(int displayId); in getMagnificationCenterX() argument 87 float getMagnificationCenterY(int displayId); in getMagnificationCenterY() argument 89 Region getMagnificationRegion(int displayId); in getMagnificationRegion() argument 91 Region getCurrentMagnificationRegion(int displayId); in getCurrentMagnificationRegion() argument 93 boolean resetMagnification(int displayId, boolean animate); in resetMagnification() argument 95 boolean resetCurrentMagnification(int displayId, boolean animate); in resetCurrentMagnification() argument 97 boolean setMagnificationConfig(int displayId, in MagnificationConfig config, boolean animate); in setMagnificationConfig() argument 99 void setMagnificationCallbackEnabled(int displayId, boolean enabled); in setMagnificationCallbackEnabled() argument [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceImpl.java | 117 public void onTopActivityChanged(int displayId, ComponentName topActivity) { in createListenerAdapter() 119 mActivityListener.onTopActivityChanged(displayId, topActivity); in createListenerAdapter() 126 public void onDisplayEmpty(int displayId) { in createListenerAdapter() argument 128 mActivityListener.onDisplayEmpty(displayId); in createListenerAdapter() 208 public void launchPendingIntent(int displayId, PendingIntent pendingIntent, 210 if (!mVirtualDisplayIds.contains(displayId)) { 211 throw new SecurityException("Display ID " + displayId 216 sendPendingIntent(displayId, pendingIntent); 225 resultReceiver, displayId); 233 sendPendingIntent(displayId, pendingIntent); [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 135 final int displayId = Integer.parseInt(displayArg); in getDisplayId() local 136 if (displayId == INVALID_DISPLAY) { in getDisplayId() 139 return Math.max(displayId, 0); in getDisplayId() 158 float x, float y, float pressure, int displayId) { in injectMotionEvent() argument 173 if (displayId == INVALID_DISPLAY in injectMotionEvent() 175 displayId = DEFAULT_DISPLAY; in injectMotionEvent() 180 DEFAULT_EDGE_FLAGS, inputSource, displayId, DEFAULT_FLAGS); in injectMotionEvent() 223 int displayId = INVALID_DISPLAY; in onCommand() local 225 displayId = getDisplayId(); in onCommand() 231 runText(inputSource, displayId); in onCommand() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarController.java | 246 final int displayId = mContext.getDisplayId(); in initializeTaskbarIfNecessary() local 248 mNavBarHelper.setTogglingNavbarTaskbar(mNavigationBars.contains(displayId)); in initializeTaskbarIfNecessary() 250 removeNavigationBar(displayId); in initializeTaskbarIfNecessary() 251 mTaskbarDelegate.init(displayId); in initializeTaskbarIfNecessary() 262 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 263 removeNavigationBar(displayId); in onDisplayRemoved() 267 public void onDisplayReady(int displayId) { in onDisplayReady() argument 268 Display display = mDisplayManager.getDisplay(displayId); in onDisplayReady() 274 public void setNavigationBarLumaSamplingEnabled(int displayId, boolean enable) { in setNavigationBarLumaSamplingEnabled() argument 275 final NavigationBar navigationBar = getNavigationBar(displayId); in setNavigationBarLumaSamplingEnabled() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | CompatUIController.java | 210 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument 211 addOnInsetsChangedListener(displayId); in onDisplayAdded() 215 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 216 mDisplayContextCache.remove(displayId); in onDisplayRemoved() 217 removeOnInsetsChangedListener(displayId); in onDisplayRemoved() 221 forAllLayoutsOnDisplay(displayId, layout -> toRemoveTaskIds.add(layout.getTaskId())); in onDisplayRemoved() 227 private void addOnInsetsChangedListener(int displayId) { in addOnInsetsChangedListener() argument 229 displayId); in addOnInsetsChangedListener() 231 mOnInsetsChangedListeners.put(displayId, listener); in addOnInsetsChangedListener() 234 private void removeOnInsetsChangedListener(int displayId) { in removeOnInsetsChangedListener() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/ |
D | DisableStateTracker.kt | 41 private var displayId: Int? = null variable in com.android.systemui.statusbar.disableflags.DisableStateTracker 44 fun startTracking(commandQueue: CommandQueue, displayId: Int) { in startTracking() 47 this.displayId = displayId in startTracking() 57 this.displayId = null in stopTracking() 61 override fun disable(displayId: Int, state1: Int, state2: Int, animate: Boolean) { in disable() 62 if (this.displayId == null || displayId != this.displayId) { in disable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | DisplayTrackerImpl.kt | 48 override fun onDisplayAdded(displayId: Int) { in onDisplayAdded() 50 onDisplayAdded(displayId, list) in onDisplayAdded() 53 override fun onDisplayRemoved(displayId: Int) { in onDisplayRemoved() 55 onDisplayRemoved(displayId, list) in onDisplayRemoved() 58 override fun onDisplayChanged(displayId: Int) { in onDisplayChanged() 60 onDisplayChanged(displayId, list) in onDisplayChanged() 67 override fun onDisplayAdded(displayId: Int) {} in onDisplayAdded() 69 override fun onDisplayRemoved(displayId: Int) {} in onDisplayRemoved() 71 override fun onDisplayChanged(displayId: Int) { in onDisplayChanged() 73 onDisplayChanged(displayId, list) in onDisplayChanged() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 170 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() argument 172 return getDisplayInfoLocked(displayId); in getDisplayInfo() 180 private @Nullable DisplayInfo getDisplayInfoLocked(int displayId) { in getDisplayInfoLocked() argument 183 info = mDisplayCache.query(displayId); in getDisplayInfoLocked() 186 info = mDm.getDisplayInfo(displayId); in getDisplayInfoLocked() 198 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); in getDisplayInfoLocked() 247 public boolean isUidPresentOnDisplay(int uid, int displayId) { in isUidPresentOnDisplay() argument 249 return mDm.isUidPresentOnDisplay(uid, displayId); in isUidPresentOnDisplay() 265 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { in getCompatibleDisplay() argument 266 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() [all …]
|