/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyInsetsTests.java | 28 import android.view.DisplayInfo; 45 final DisplayInfo di = displayInfoForRotation(ROTATION_0, false /* withCutout */); in portrait() 54 final DisplayInfo di = displayInfoForRotation(ROTATION_0, true /* withCutout */); in portrait_withCutout() 63 final DisplayInfo di = displayInfoForRotation(ROTATION_90, false /* withCutout */); in landscape() 72 final DisplayInfo di = displayInfoForRotation(ROTATION_90, true /* withCutout */); in landscape_withCutout() 81 final DisplayInfo di = displayInfoForRotation(ROTATION_270, false /* withCutout */); in seascape() 90 final DisplayInfo di = displayInfoForRotation(ROTATION_270, true /* withCutout */); in seascape_withCutout() 99 final DisplayInfo di = displayInfoForRotation(ROTATION_180, false /* withCutout */); in upsideDown() 108 final DisplayInfo di = displayInfoForRotation(ROTATION_180, true /* withCutout */); in upsideDown_withCutout() 115 private void verifyStableInsets(DisplayInfo di, int left, int top, int right, int bottom) { in verifyStableInsets() [all …]
|
D | WindowTestsBase.java | 52 import android.view.DisplayInfo; 90 DisplayInfo mDisplayInfo = new DisplayInfo(); 411 DisplayContent createNewDisplay(DisplayInfo displayInfo) { in createNewDisplay() 428 DisplayInfo displayInfo = new DisplayInfo(); in createNewDisplay() 452 DisplayInfo displayInfo = new DisplayInfo(); in createMockSimulatedDisplay()
|
D | DisplayPolicyTestsBase.java | 46 import android.view.DisplayInfo; 109 static Pair<DisplayInfo, WmDisplayCutout> displayInfoAndCutoutForRotation(int rotation, in displayInfoAndCutoutForRotation() 111 final DisplayInfo info = new DisplayInfo(); in displayInfoAndCutoutForRotation()
|
D | RefreshRatePolicyTest.java | 27 import android.view.DisplayInfo; 51 DisplayInfo di = new DisplayInfo(mDisplayInfo); in setUp()
|
D | DisplayWindowSettingsTests.java | 48 import android.view.DisplayInfo; 85 private DisplayInfo mPrivateDisplayInfo; 108 mPrivateDisplayInfo = new DisplayInfo(mDisplayInfo); in setUp() 236 final DisplayInfo originalInfo = new DisplayInfo(mSecondaryDisplay.getDisplayInfo()); in testSetForcedSize() 239 ((DisplayInfo) invocation.getArguments()[1]).copyFrom(originalInfo); in testSetForcedSize() 287 final DisplayInfo info = mPrimaryDisplay.getDisplayInfo(); in testPersistOverscanInSameInstance() 304 final DisplayInfo info = mPrimaryDisplay.getDisplayInfo(); in testPersistOverscanAcrossInstances() 677 final DisplayInfo info = display.getDisplayInfo(); in assertOverscan()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 40 import android.view.DisplayInfo; 173 private @Nullable Entry getEntry(DisplayInfo displayInfo) { in getEntry() 188 private Entry getOrCreateEntry(DisplayInfo displayInfo) { in getOrCreateEntry() 198 private Entry updateIdentifierForEntry(Entry entry, DisplayInfo displayInfo) { in updateIdentifierForEntry() 205 void setOverscanLocked(DisplayInfo displayInfo, int left, int top, int right, int bottom) { in setOverscanLocked() 215 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setUserRotation() 230 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedSize() 245 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedDensity() 258 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedScalingMode() 266 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setFixedToUserRotation() [all …]
|
D | RefreshRatePolicy.java | 21 import android.view.DisplayInfo; 33 RefreshRatePolicy(WindowManagerService wmService, DisplayInfo displayInfo, in RefreshRatePolicy() 44 private int findLowRefreshRateModeId(DisplayInfo displayInfo) { in findLowRefreshRateModeId()
|
D | WallpaperWindowToken.java | 29 import android.view.DisplayInfo; 84 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo(); in updateWallpaperVisibility() 126 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo(); in updateWallpaperWindows()
|
D | PinnedStackController.java | 43 import android.view.DisplayInfo; 101 private final DisplayInfo mDisplayInfo = new DisplayInfo(); 319 synchronized void onDisplayInfoChanged(DisplayInfo displayInfo) { in onDisplayInfoChanged() 330 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo(); in onTaskStackBoundsChanged() 432 private boolean isSameDimensionAndRotation(@NonNull DisplayInfo display1, in isSameDimensionAndRotation() 433 @NonNull DisplayInfo display2) { in isSameDimensionAndRotation()
|
D | DisplayFrames.java | 28 import android.view.DisplayInfo; 119 public DisplayFrames(int displayId, DisplayInfo info, WmDisplayCutout displayCutout) { in DisplayFrames() 124 public void onDisplayInfoUpdated(DisplayInfo info, WmDisplayCutout displayCutout) { in onDisplayInfoUpdated()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 22 import android.view.DisplayInfo; 60 private final DisplayInfo mBaseDisplayInfo = new DisplayInfo(); 74 private DisplayInfo mOverrideDisplayInfo; 80 private DisplayInfo mInfo; 140 public DisplayInfo getDisplayInfoLocked() { in getDisplayInfoLocked() 142 mInfo = new DisplayInfo(); in getDisplayInfoLocked() 170 void getNonOverrideDisplayInfoLocked(DisplayInfo outInfo) { in getNonOverrideDisplayInfoLocked() 181 public boolean setDisplayInfoOverrideFromWindowManagerLocked(DisplayInfo info) { in setDisplayInfoOverrideFromWindowManagerLocked() 184 mOverrideDisplayInfo = new DisplayInfo(info); in setDisplayInfoOverrideFromWindowManagerLocked() 368 final DisplayInfo displayInfo = getDisplayInfoLocked(); in configureDisplayLocked()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 27 static android::DisplayInfo DUMMY_DISPLAY{ 40 DisplayInfo getInternalDisplay() { in getInternalDisplay() 42 DisplayInfo display; in getInternalDisplay() 55 android::DisplayInfo gDisplay = DUMMY_DISPLAY;
|
D | TestContext.h | 36 extern DisplayInfo gDisplay; 39 DisplayInfo getInternalDisplay();
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 44 public final class DisplayInfo implements Parcelable { class 279 …lic static final @android.annotation.NonNull Creator<DisplayInfo> CREATOR = new Creator<DisplayInf… 281 public DisplayInfo createFromParcel(Parcel source) { 282 return new DisplayInfo(source); 286 public DisplayInfo[] newArray(int size) { 287 return new DisplayInfo[size]; 292 public DisplayInfo() { in DisplayInfo() method in DisplayInfo 295 public DisplayInfo(DisplayInfo other) { in DisplayInfo() method in DisplayInfo 299 private DisplayInfo(Parcel source) { in DisplayInfo() method in DisplayInfo 305 return o instanceof DisplayInfo && equals((DisplayInfo)o); in equals() [all …]
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 33 static constexpr android::DisplayInfo sDummyDisplay{ 53 static DisplayInfo QueryDisplayInfo() { in QueryDisplayInfo() 62 DisplayInfo displayInfo; in QueryDisplayInfo() 77 Vector<DisplayInfo> configs; in QueryMaxRefreshRate()
|
D | DeviceInfo.h | 40 const DisplayInfo& displayInfo() const { return mDisplayInfo; } in displayInfo() 54 DisplayInfo mDisplayInfo;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 23 import android.view.DisplayInfo; 35 DisplayInfo info = new DisplayInfo(); in WindowManagerImpl()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 26 import android.view.DisplayInfo; 82 public abstract DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo() 114 int displayId, DisplayInfo info); in setDisplayInfoOverrideFromWindowManager() 124 public abstract void getNonOverrideDisplayInfo(int displayId, DisplayInfo outInfo); in getNonOverrideDisplayInfo()
|
D | DisplayManagerGlobal.java | 42 import android.view.DisplayInfo; 85 private final SparseArray<DisplayInfo> mDisplayInfoCache = new SparseArray<DisplayInfo>(); 129 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() 132 DisplayInfo info; in getDisplayInfo() 213 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() 231 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay()
|
D | IDisplayManager.aidl | 28 import android.view.DisplayInfo; 34 DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarButtonTest.java | 32 import android.view.DisplayInfo; 71 final DisplayInfo displayInfo = new DisplayInfo(); in createVirtualDisplay()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 27 import android.view.DisplayInfo; 33 private final DisplayInfo mInfo = new DisplayInfo();
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 28 import android.view.DisplayInfo; 65 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithExternalDisplay()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 29 import android.view.DisplayInfo; 54 private final DisplayInfo mNonOverrideDisplayInfo = new DisplayInfo();
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 67 DisplayInfo info; in setupBackgroundSurface() 188 DisplayInfo info; in TEST_F() 191 Vector<DisplayInfo> configs; in TEST_F() 251 DisplayInfo info; in TEST_F()
|