Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java28 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 …]
DWindowTestsBase.java47 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()
DTestDisplayContent.java36 import android.view.DisplayInfo;
72 private final DisplayInfo mInfo;
81 mInfo = new DisplayInfo(); in Builder()
88 Builder(ActivityTaskManagerService service, DisplayInfo info) { in Builder()
DRefreshRatePolicyTest.java29 import android.view.DisplayInfo;
55 DisplayInfo di = new DisplayInfo(mDisplayInfo); in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayInfoProxy.java21 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()
DLogicalDisplay.java23 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/
DDisplayWindowSettings.java39 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 …]
DPinnedStackController.java31 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()
DRefreshRatePolicy.java24 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/
DDisplayCompatUtil.java20 import android.view.DisplayInfo;
52 DisplayInfo displayInfo = new DisplayInfo(); in getDeviceProductInfo()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java42 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 …]
DDisplayManagerInternal.java27 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/
DDisplayLayoutTest.java33 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/
DDisplayInfo.java47 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 …]
DIPinnedStackListener.aidl22 import android.view.DisplayInfo;
71 void onDisplayInfoChanged(in DisplayInfo displayInfo); in onDisplayInfoChanged()
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayInfo.h29 struct DisplayInfo { struct
36 static_assert(std::is_trivially_copyable_v<DisplayInfo>); argument
/frameworks/native/libs/ui/include/ui/
DDisplayInfo.h29 struct DisplayInfo { struct
36 static_assert(std::is_trivially_copyable_v<DisplayInfo>); argument
/frameworks/native/include/ui/
DDisplayInfo.h29 struct DisplayInfo { struct
36 static_assert(std::is_trivially_copyable_v<DisplayInfo>); argument
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPinnedStackListenerForwarder.java21 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/
DLogicalDisplayTest.java24 import android.view.DisplayInfo;
73 DisplayInfo displayInfo = new DisplayInfo(); in testGetDisplayPosition()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp25 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/
DNavigationBarButtonTest.java31 import android.view.DisplayInfo;
73 final DisplayInfo displayInfo = new DisplayInfo(); in createVirtualDisplay()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java31 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/
DWindowManagerImpl.java31 import android.view.DisplayInfo;
49 DisplayInfo info = new DisplayInfo(); in WindowManagerImpl()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java27 import android.view.DisplayInfo;
33 private final DisplayInfo mInfo = new DisplayInfo();

12345