Home
last modified time | relevance | path

Searched refs:DisplayInfo (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java28 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 …]
DWindowTestsBase.java52 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()
DDisplayPolicyTestsBase.java46 import android.view.DisplayInfo;
109 static Pair<DisplayInfo, WmDisplayCutout> displayInfoAndCutoutForRotation(int rotation, in displayInfoAndCutoutForRotation()
111 final DisplayInfo info = new DisplayInfo(); in displayInfoAndCutoutForRotation()
DRefreshRatePolicyTest.java27 import android.view.DisplayInfo;
51 DisplayInfo di = new DisplayInfo(mDisplayInfo); in setUp()
DDisplayWindowSettingsTests.java48 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/
DDisplayWindowSettings.java40 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 …]
DRefreshRatePolicy.java21 import android.view.DisplayInfo;
33 RefreshRatePolicy(WindowManagerService wmService, DisplayInfo displayInfo, in RefreshRatePolicy()
44 private int findLowRefreshRateModeId(DisplayInfo displayInfo) { in findLowRefreshRateModeId()
DWallpaperWindowToken.java29 import android.view.DisplayInfo;
84 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo(); in updateWallpaperVisibility()
126 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo(); in updateWallpaperWindows()
DPinnedStackController.java43 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()
DDisplayFrames.java28 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/
DLogicalDisplay.java22 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/
DTestContext.cpp27 static android::DisplayInfo DUMMY_DISPLAY{
40 DisplayInfo getInternalDisplay() { in getInternalDisplay()
42 DisplayInfo display; in getInternalDisplay()
55 android::DisplayInfo gDisplay = DUMMY_DISPLAY;
DTestContext.h36 extern DisplayInfo gDisplay;
39 DisplayInfo getInternalDisplay();
/frameworks/base/core/java/android/view/
DDisplayInfo.java44 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/
DDeviceInfo.cpp33 static constexpr android::DisplayInfo sDummyDisplay{
53 static DisplayInfo QueryDisplayInfo() { in QueryDisplayInfo()
62 DisplayInfo displayInfo; in QueryDisplayInfo()
77 Vector<DisplayInfo> configs; in QueryMaxRefreshRate()
DDeviceInfo.h40 const DisplayInfo& displayInfo() const { return mDisplayInfo; } in displayInfo()
54 DisplayInfo mDisplayInfo;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java23 import android.view.DisplayInfo;
35 DisplayInfo info = new DisplayInfo(); in WindowManagerImpl()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java26 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()
DDisplayManagerGlobal.java42 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()
DIDisplayManager.aidl28 import android.view.DisplayInfo;
34 DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java32 import android.view.DisplayInfo;
71 final DisplayInfo displayInfo = new DisplayInfo(); in createVirtualDisplay()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java27 import android.view.DisplayInfo;
33 private final DisplayInfo mInfo = new DisplayInfo();
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java28 import android.view.DisplayInfo;
65 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithExternalDisplay()
/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldController.java29 import android.view.DisplayInfo;
54 private final DisplayInfo mNonOverrideDisplayInfo = new DisplayInfo();
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp67 DisplayInfo info; in setupBackgroundSurface()
188 DisplayInfo info; in TEST_F()
191 Vector<DisplayInfo> configs; in TEST_F()
251 DisplayInfo info; in TEST_F()

12345