/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyInsetsTests.java | 28 import android.view.DisplayInfo; 49 final DisplayInfo di = displayInfoForRotation(ROTATION_0, false /* withCutout */); in portrait() 58 final DisplayInfo di = displayInfoForRotation(ROTATION_0, true /* withCutout */); in portrait_withCutout() 67 final DisplayInfo di = displayInfoForRotation(ROTATION_90, false /* withCutout */); in landscape() 82 final DisplayInfo di = displayInfoForRotation(ROTATION_90, true /* withCutout */); in landscape_withCutout() 97 final DisplayInfo di = displayInfoForRotation(ROTATION_270, false /* withCutout */); in seascape() 112 final DisplayInfo di = displayInfoForRotation(ROTATION_270, true /* withCutout */); in seascape_withCutout() 127 final DisplayInfo di = displayInfoForRotation(ROTATION_180, false /* withCutout */); in upsideDown() 136 final DisplayInfo di = displayInfoForRotation(ROTATION_180, true /* withCutout */); in upsideDown_withCutout() 143 private void verifyStableInsets(DisplayInfo di, int left, int top, int right, int bottom) { in verifyStableInsets() [all …]
|
D | TestDisplayWindowSettingsProvider.java | 20 import android.view.DisplayInfo; 35 public SettingsEntry getSettings(@NonNull DisplayInfo info) { in getSettings() 44 public SettingsEntry getOverrideSettings(@NonNull DisplayInfo info) { in getOverrideSettings() 49 public void updateOverrideSettings(@NonNull DisplayInfo info, in updateOverrideSettings() 56 private SettingsEntry getOrCreateOverrideSettingsEntry(DisplayInfo info) { in getOrCreateOverrideSettingsEntry() 70 private static String getIdentifier(DisplayInfo displayInfo) { in getIdentifier()
|
D | DisplayWindowSettingsTests.java | 47 import android.view.DisplayInfo; 76 private DisplayInfo mPrivateDisplayInfo; 100 mPrivateDisplayInfo = new DisplayInfo(mDisplayInfo); in setUp() 216 final DisplayInfo originalInfo = new DisplayInfo(mSecondaryDisplay.getDisplayInfo()); in testSetForcedSize() 219 ((DisplayInfo) invocation.getArguments()[1]).copyFrom(originalInfo); in testSetForcedSize() 451 Map<DisplayInfo, SettingsEntry> mOverrideSettingsCache = new HashMap<>(); 454 public SettingsEntry getSettings(@NonNull DisplayInfo info) { in getSettings() 459 public SettingsEntry getOverrideSettings(@NonNull DisplayInfo info) { in getOverrideSettings() 469 public void updateOverrideSettings(@NonNull DisplayInfo info, in updateOverrideSettings()
|
D | TestDisplayContent.java | 36 import android.view.DisplayInfo; 74 private final DisplayInfo mInfo; 83 mInfo = new DisplayInfo(); in Builder() 93 Builder(ActivityTaskManagerService service, DisplayInfo info) { in Builder()
|
D | DisplayPolicyTestsBase.java | 46 import android.view.DisplayInfo; 117 static Pair<DisplayInfo, WmDisplayCutout> displayInfoAndCutoutForRotation(int rotation, in displayInfoAndCutoutForRotation() 119 final DisplayInfo info = new DisplayInfo(); in displayInfoAndCutoutForRotation()
|
/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 | 29 import android.view.DisplayInfo; 100 private static final DisplayInfo EMPTY_DISPLAY_INFO = new DisplayInfo(); 102 private final DisplayInfo mBaseDisplayInfo = new DisplayInfo(); 114 private DisplayInfo mOverrideDisplayInfo; 215 public DisplayInfo getDisplayInfoLocked() { in getDisplayInfoLocked() 217 DisplayInfo info = new DisplayInfo(); in getDisplayInfoLocked() 264 void getNonOverrideDisplayInfoLocked(DisplayInfo outInfo) { in getNonOverrideDisplayInfoLocked() 275 public boolean setDisplayInfoOverrideFromWindowManagerLocked(DisplayInfo info) { in setDisplayInfoOverrideFromWindowManagerLocked() 278 mOverrideDisplayInfo = new DisplayInfo(info); in setDisplayInfoOverrideFromWindowManagerLocked() 531 final DisplayInfo displayInfo = getDisplayInfoLocked(); in configureDisplayLocked()
|
D | LogicalDisplayMapper.java | 33 import android.view.DisplayInfo; 81 private final DisplayInfo mTempDisplayInfo = new DisplayInfo(); 82 private final DisplayInfo mTempNonOverrideDisplayInfo = new DisplayInfo(); 214 DisplayInfo info = display.getDisplayInfoLocked(); in getDisplayIdsLocked() 381 final DisplayInfo newDisplayInfo = display.getDisplayInfoLocked(); in updateLogicalDisplaysLocked() 543 final DisplayInfo info = display.getDisplayInfoLocked(); in assignDisplayGroupLocked() 701 final DisplayInfo info = display.getDisplayInfoLocked(); in setDisplayPhase()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 33 import android.view.DisplayInfo; 57 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setUserRotation() 72 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedSize() 87 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedDensity() 100 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setForcedScalingMode() 108 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setFixedToUserRotation() 117 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in setIgnoreOrientationRequest() 143 final DisplayInfo displayInfo = dc.getDisplayInfo(); in getWindowingModeLocked() 149 final DisplayInfo displayInfo = dc.getDisplayInfo(); in setWindowingModeLocked() 158 final DisplayInfo displayInfo = dc.getDisplayInfo(); in getRemoveContentModeLocked() [all …]
|
D | RefreshRatePolicy.java | 25 import android.view.DisplayInfo; 58 RefreshRatePolicy(WindowManagerService wmService, DisplayInfo displayInfo, in RefreshRatePolicy() 69 private Mode findLowRefreshRateMode(DisplayInfo displayInfo) { in findLowRefreshRateMode() 136 DisplayInfo info = w.getDisplayInfo(); in getPreferredRefreshRate()
|
D | DisplayWindowSettingsProvider.java | 37 import android.view.DisplayInfo; 134 public SettingsEntry getSettings(@NonNull DisplayInfo info) { in getSettings() 148 public SettingsEntry getOverrideSettings(@NonNull DisplayInfo info) { in getOverrideSettings() 153 public void updateOverrideSettings(@NonNull DisplayInfo info, in updateOverrideSettings() 178 final SettingsEntry getSettingsEntry(DisplayInfo info) { in getSettingsEntry() 196 protected final String getIdentifier(DisplayInfo displayInfo) { in getIdentifier() 228 SettingsEntry getOrCreateSettingsEntry(DisplayInfo info) { in getOrCreateSettingsEntry() 249 void updateSettingsEntry(DisplayInfo info, SettingsEntry settings) { in updateSettingsEntry()
|
D | DisplayFrames.java | 28 import android.view.DisplayInfo; 62 public DisplayFrames(int displayId, InsetsState insetsState, DisplayInfo info, in DisplayFrames() 78 public boolean onDisplayInfoUpdated(DisplayInfo info, @NonNull WmDisplayCutout displayCutout, in onDisplayInfoUpdated()
|
D | SystemGesturesPointerEventListener.java | 29 import android.view.DisplayInfo; 69 private DisplayInfo mTmpDisplayInfo = new DisplayInfo(); 83 void onDisplayInfoChanged(DisplayInfo info) { in onDisplayInfoChanged() 133 final DisplayInfo info = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in systemReady()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 26 import android.view.DisplayInfo; 48 final DisplayInfo wifiInfo = new DisplayInfo(); in setUpOnce() 54 final DisplayInfo externalInfo = new DisplayInfo(); in setUpOnce() 59 final DisplayInfo internalInfo = new DisplayInfo(); in setUpOnce()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 47 import android.view.DisplayInfo; 107 private final SparseArray<DisplayInfo> mDisplayInfoCache = new SparseArray<>(); 125 private PropertyInvalidatedCache<Integer, DisplayInfo> mDisplayCache = 126 new PropertyInvalidatedCache<Integer, DisplayInfo>( 130 protected DisplayInfo recompute(Integer id) { 166 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() 176 private @Nullable DisplayInfo getDisplayInfoLocked(int displayId) { in getDisplayInfoLocked() 177 DisplayInfo info = null; in getDisplayInfoLocked() 252 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() 270 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() [all …]
|
D | DisplayManagerInternal.java | 29 import android.view.DisplayInfo; 128 public abstract DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo() 170 int displayId, DisplayInfo info); in setDisplayInfoOverrideFromWindowManager() 180 public abstract void getNonOverrideDisplayInfo(int displayId, DisplayInfo outInfo); in getNonOverrideDisplayInfo()
|
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | DisplayLayoutTest.java | 33 import android.view.DisplayInfo; 54 DisplayInfo info = createDisplayInfo(1000, 1500, 0, ROTATION_0); in testInsets() 80 DisplayInfo info = createDisplayInfo(1000, 1500, 60, ROTATION_0); in testRotate() 117 private DisplayInfo createDisplayInfo(int width, int height, int cutoutHeight, int rotation) { in createDisplayInfo() 118 DisplayInfo info = new DisplayInfo(); in createDisplayInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardDisplayManagerTest.java | 35 import android.view.DisplayInfo; 84 new DisplayInfo(), DEFAULT_DISPLAY_ADJUSTMENTS); in setUp() 87 new DisplayInfo(), DEFAULT_DISPLAY_ADJUSTMENTS); in setUp() 89 DisplayInfo differentGroupInfo = new DisplayInfo(); in setUp()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 48 public final class DisplayInfo implements Parcelable { class 314 …lic static final @android.annotation.NonNull Creator<DisplayInfo> CREATOR = new Creator<DisplayInf… 316 public DisplayInfo createFromParcel(Parcel source) { 317 return new DisplayInfo(source); 321 public DisplayInfo[] newArray(int size) { 322 return new DisplayInfo[size]; 327 public DisplayInfo() { in DisplayInfo() method in DisplayInfo 330 public DisplayInfo(DisplayInfo other) { in DisplayInfo() method in DisplayInfo 334 private DisplayInfo(Parcel source) { in DisplayInfo() method in DisplayInfo 340 return o instanceof DisplayInfo && equals((DisplayInfo)o); in equals() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 26 import android.view.DisplayInfo; 98 DisplayInfo displayInfo = new DisplayInfo(); in testGetDisplayPosition()
|
/frameworks/base/core/tests/mockingcoretests/src/android/view/ |
D | DisplayTest.java | 88 private DisplayInfo mDisplayInfo = new DisplayInfo(); 128 DisplayInfo actualDisplayInfo = new DisplayInfo(); in testConstructor_defaultDisplayAdjustments_matchesDisplayInfo() 140 DisplayInfo actualDisplayInfo = new DisplayInfo(); in testConstructor_defaultResources_matchesDisplayInfo() 500 private static void setDisplayInfoLandscape(DisplayInfo displayInfo) { in setDisplayInfoLandscape() 507 private static void setDisplayInfoPortrait(DisplayInfo displayInfo) { in setDisplayInfoPortrait() 524 private static void verifyDisplayInfo(DisplayInfo actual, DisplayInfo expected) { in verifyDisplayInfo()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 34 import android.view.DisplayInfo; 72 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithDefaultDisplay() 87 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithExternalDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 34 import android.view.DisplayInfo; 90 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();
|