/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyInsetsTests.java | 28 import android.view.DisplayInfo; 47 final DisplayInfo di = displayInfoForRotation(ROTATION_0, false /* withCutout */); in portrait() 56 final DisplayInfo di = displayInfoForRotation(ROTATION_0, true /* withCutout */); in portrait_withCutout() 65 final DisplayInfo di = displayInfoForRotation(ROTATION_90, false /* withCutout */); in landscape() 74 final DisplayInfo di = displayInfoForRotation(ROTATION_90, true /* withCutout */); in landscape_withCutout() 83 final DisplayInfo di = displayInfoForRotation(ROTATION_270, false /* withCutout */); in seascape() 92 final DisplayInfo di = displayInfoForRotation(ROTATION_270, true /* withCutout */); in seascape_withCutout() 101 final DisplayInfo di = displayInfoForRotation(ROTATION_180, false /* withCutout */); in upsideDown() 110 final DisplayInfo di = displayInfoForRotation(ROTATION_180, true /* withCutout */); in upsideDown_withCutout() 117 private void verifyStableInsets(DisplayInfo di, int left, int top, int right, int bottom) { in verifyStableInsets() [all …]
|
D | WindowTestsBase.java | 47 import android.view.DisplayInfo; 69 DisplayInfo mDisplayInfo = new DisplayInfo(); 302 DisplayContent createNewDisplay(DisplayInfo info) { in createNewDisplay() 307 private DisplayContent createNewDisplay(DisplayInfo info, boolean supportIme) { in createNewDisplay() 324 DisplayInfo displayInfo = new DisplayInfo(); in createNewDisplay() 340 DisplayInfo displayInfo = new DisplayInfo(); in createMockSimulatedDisplay()
|
D | TestDisplayContent.java | 36 import android.view.DisplayInfo; 72 private final DisplayInfo mInfo; 81 mInfo = new DisplayInfo(); in Builder() 88 Builder(ActivityTaskManagerService service, DisplayInfo info) { in Builder()
|
D | RefreshRatePolicyTest.java | 29 import android.view.DisplayInfo; 55 DisplayInfo di = new DisplayInfo(mDisplayInfo); in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayInfoProxy.java | 21 import android.view.DisplayInfo; 28 private DisplayInfo mInfo; 30 public DisplayInfoProxy(@Nullable DisplayInfo info) { in DisplayInfoProxy() 40 public void set(@Nullable DisplayInfo info) { in set() 54 public DisplayInfo get() { in get()
|
D | LogicalDisplay.java | 23 import android.view.DisplayInfo; 61 private final DisplayInfo mBaseDisplayInfo = new DisplayInfo(); 75 private DisplayInfo mOverrideDisplayInfo; 149 public DisplayInfo getDisplayInfoLocked() { in getDisplayInfoLocked() 151 DisplayInfo info = new DisplayInfo(); in getDisplayInfoLocked() 176 void getNonOverrideDisplayInfoLocked(DisplayInfo outInfo) { in getNonOverrideDisplayInfoLocked() 187 public boolean setDisplayInfoOverrideFromWindowManagerLocked(DisplayInfo info) { in setDisplayInfoOverrideFromWindowManagerLocked() 190 mOverrideDisplayInfo = new DisplayInfo(info); in setDisplayInfoOverrideFromWindowManagerLocked() 394 final DisplayInfo displayInfo = getDisplayInfoLocked(); in configureDisplayLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 39 import android.view.DisplayInfo; 162 private @Nullable Entry getEntry(DisplayInfo displayInfo) { in getEntry() 177 private Entry getOrCreateEntry(DisplayInfo displayInfo) { in getOrCreateEntry() 187 private Entry updateIdentifierForEntry(Entry entry, DisplayInfo displayInfo) { in updateIdentifierForEntry() 195 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setUserRotation() 210 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedSize() 225 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedDensity() 238 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedScalingMode() 245 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setFixedToUserRotation() 273 final DisplayInfo displayInfo = dc.getDisplayInfo(); in getWindowingModeLocked() [all …]
|
D | PinnedStackController.java | 31 import android.view.DisplayInfo; 79 private final DisplayInfo mDisplayInfo = new DisplayInfo(); 190 private void setDisplayInfo(DisplayInfo displayInfo) { in setDisplayInfo() 200 void onDisplayInfoChanged(DisplayInfo displayInfo) { in onDisplayInfoChanged() 310 private void notifyDisplayInfoChanged(DisplayInfo displayInfo) { in notifyDisplayInfoChanged()
|
D | RefreshRatePolicy.java | 24 import android.view.DisplayInfo; 57 RefreshRatePolicy(WindowManagerService wmService, DisplayInfo displayInfo, in RefreshRatePolicy() 68 private int findLowRefreshRateModeId(DisplayInfo displayInfo) { in findLowRefreshRateModeId()
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/display/ |
D | DisplayCompatUtil.java | 20 import android.view.DisplayInfo; 52 DisplayInfo displayInfo = new DisplayInfo(); in getDeviceProductInfo()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 42 import android.view.DisplayInfo; 87 private final SparseArray<DisplayInfo> mDisplayInfoCache = new SparseArray<DisplayInfo>(); 104 private PropertyInvalidatedCache<Integer, DisplayInfo> mDisplayCache = 105 new PropertyInvalidatedCache<Integer, DisplayInfo>( 109 protected DisplayInfo recompute(Integer id) { 145 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() 155 private @Nullable DisplayInfo getDisplayInfoLocked(int displayId) { in getDisplayInfoLocked() 156 DisplayInfo info = null; in getDisplayInfoLocked() 231 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() 249 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() [all …]
|
D | DisplayManagerInternal.java | 27 import android.view.DisplayInfo; 93 public abstract DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo() 135 int displayId, DisplayInfo info); in setDisplayInfoOverrideFromWindowManager() 145 public abstract void getNonOverrideDisplayInfo(int displayId, DisplayInfo outInfo); in getNonOverrideDisplayInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wm/ |
D | DisplayLayoutTest.java | 33 import android.view.DisplayInfo; 49 DisplayInfo info = createDisplayInfo(1000, 1500, 0, ROTATION_0); in testInsets() 87 DisplayInfo info = createDisplayInfo(1000, 1500, 60, ROTATION_0); in testRotate() 124 private DisplayInfo createDisplayInfo(int width, int height, int cutoutHeight, int rotation) { in createDisplayInfo() 125 DisplayInfo info = new DisplayInfo(); in createDisplayInfo()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 47 public final class DisplayInfo implements Parcelable { class 273 …lic static final @android.annotation.NonNull Creator<DisplayInfo> CREATOR = new Creator<DisplayInf… 275 public DisplayInfo createFromParcel(Parcel source) { 276 return new DisplayInfo(source); 280 public DisplayInfo[] newArray(int size) { 281 return new DisplayInfo[size]; 286 public DisplayInfo() { in DisplayInfo() method in DisplayInfo 289 public DisplayInfo(DisplayInfo other) { in DisplayInfo() method in DisplayInfo 293 private DisplayInfo(Parcel source) { in DisplayInfo() method in DisplayInfo 299 return o instanceof DisplayInfo && equals((DisplayInfo)o); in equals() [all …]
|
D | IPinnedStackListener.aidl | 22 import android.view.DisplayInfo; 71 void onDisplayInfoChanged(in DisplayInfo displayInfo); in onDisplayInfoChanged()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayInfo.h | 29 struct DisplayInfo { struct 36 static_assert(std::is_trivially_copyable_v<DisplayInfo>); argument
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayInfo.h | 29 struct DisplayInfo { struct 36 static_assert(std::is_trivially_copyable_v<DisplayInfo>); argument
|
/frameworks/native/include/ui/ |
D | DisplayInfo.h | 29 struct DisplayInfo { struct 36 static_assert(std::is_trivially_copyable_v<DisplayInfo>); argument
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | PinnedStackListenerForwarder.java | 21 import android.view.DisplayInfo; 83 public void onDisplayInfoChanged(DisplayInfo displayInfo) { in onDisplayInfoChanged() 118 public void onDisplayInfoChanged(DisplayInfo displayInfo) {} in onDisplayInfoChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 24 import android.view.DisplayInfo; 73 DisplayInfo displayInfo = new DisplayInfo(); in testGetDisplayPosition()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 25 const DisplayInfo& getDisplayInfo() { in getDisplayInfo() 26 static DisplayInfo info = [] { in getDisplayInfo() 27 DisplayInfo info; in getDisplayInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarButtonTest.java | 31 import android.view.DisplayInfo; 73 final DisplayInfo displayInfo = new DisplayInfo(); in createVirtualDisplay()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 31 import android.view.DisplayInfo; 67 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithDefaultDisplay() 78 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithExternalDisplay()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 31 import android.view.DisplayInfo; 49 DisplayInfo info = new DisplayInfo(); in WindowManagerImpl()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 27 import android.view.DisplayInfo; 33 private final DisplayInfo mInfo = new DisplayInfo();
|