/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | ResolutionSelectionFragmentTest.java | 29 import android.view.Display; 63 Display.Mode[] modes = new Display.Mode[] { in testOnPreferenceTreeClick_selectAuto() 64 new Display.Mode(0, 800, 600, 120), in testOnPreferenceTreeClick_selectAuto() 65 new Display.Mode(1, 800, 600, 60), in testOnPreferenceTreeClick_selectAuto() 66 new Display.Mode(2, 2160, 2160, 60), in testOnPreferenceTreeClick_selectAuto() 67 new Display.Mode(3, 2160, 2160, 120), in testOnPreferenceTreeClick_selectAuto() 81 Display.Mode[] modes = new Display.Mode[] { in testOnPreferenceTreeClick_selectMode() 82 new Display.Mode(0, 800, 600, 120), in testOnPreferenceTreeClick_selectMode() 83 new Display.Mode(1, 800, 600, 60), in testOnPreferenceTreeClick_selectMode() 84 new Display.Mode(2, 2160, 2160, 60), in testOnPreferenceTreeClick_selectMode() [all …]
|
D | HdrFormatSelectionFragmentTest.java | 19 import static android.view.Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION; 20 import static android.view.Display.HdrCapabilities.HDR_TYPE_HDR10; 21 import static android.view.Display.HdrCapabilities.HDR_TYPE_HDR10_PLUS; 22 import static android.view.Display.HdrCapabilities.HDR_TYPE_HLG; 36 import android.view.Display; 96 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager() 100 deviceHdrTypes, new Display.Mode[]{mode}, userDisabledHdrTypes); in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager() 124 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager() 128 deviceHdrTypes, new Display.Mode[]{mode}, userDisabledTypes); in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager() 152 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup() [all …]
|
D | DisplaySoundFragmentTest.java | 25 import android.view.Display; 51 Display.Mode[] modes = new Display.Mode[] { in testNoSystemPreferredDisplayMode_hidesDisplayModeSetting() 52 new Display.Mode(0, 800, 600, 120), in testNoSystemPreferredDisplayMode_hidesDisplayModeSetting() 53 new Display.Mode(1, 800, 600, 60) in testNoSystemPreferredDisplayMode_hidesDisplayModeSetting() 65 Display.Mode[] modes = new Display.Mode[] { in testWithSystemPreferredDisplayMode_showsDisplayModeSetting() 66 new Display.Mode(0, 800, 600, 120), in testWithSystemPreferredDisplayMode_showsDisplayModeSetting() 67 new Display.Mode(1, 800, 600, 60) in testWithSystemPreferredDisplayMode_showsDisplayModeSetting() 78 Display.Mode[] supportedModes, Display.Mode userPreferredMode, in createDisplaySoundFragmentWith() 79 Display.Mode systemPreferredMode) { in createDisplaySoundFragmentWith() 80 Display display = spy(Display.class); in createDisplaySoundFragmentWith() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | PeakRefreshRatePreferenceControllerTest.java | 36 import android.view.Display; 65 private Display mDisplayMock; 67 private Display mDisplayMock2; 80 Display.Mode[] modes = new Display.Mode[]{ in setUp() 81 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() 83 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() 85 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() 88 when(mDisplayManagerMock.getDisplay(Display.DEFAULT_DISPLAY)).thenReturn(mDisplayMock); in setUp() 91 Display.Mode[] modes2 = new Display.Mode[]{ in setUp() 92 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | ForcePeakRefreshRatePreferenceControllerTest.java | 36 import android.view.Display; 63 private Display mDisplayMock; 65 private Display mDisplayMock2; 80 Display.Mode[] modes = new Display.Mode[]{ in setUp() 81 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() 83 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() 85 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() 88 when(mDisplayManagerMock.getDisplay(Display.DEFAULT_DISPLAY)).thenReturn(mDisplayMock); in setUp() 91 Display.Mode[] modes2 = new Display.Mode[]{ in setUp() 92 new Display.Mode(/* modeId= */ 0, /* width= */ 800, /* height= */ 600, in setUp() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | ResolutionSelectionFragment.java | 20 import static android.view.Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION; 21 import static android.view.Display.HdrCapabilities.HDR_TYPE_INVALID; 36 import android.view.Display; 73 private Display.Mode[] mModes; 76 private Display.Mode mAutoMode; 108 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in onCreatePreferences() 110 Arrays.sort(mModes, new Comparator<Display.Mode>() { in onCreatePreferences() 113 public int compare(Display.Mode o1, Display.Mode o2) { in onCreatePreferences() 150 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in createPreferences() 172 private RadioPreference createResolutionPreference(Display.Mode mode, int resolution) { in createResolutionPreference() [all …]
|
D | DisplaySoundUtils.java | 19 import static android.view.Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION; 29 import android.view.Display; 81 public static boolean isDolbyVisionSupported(Display.Mode[] modes) { in isDolbyVisionSupported() 91 public static boolean isHdrFormatSupported(Display.Mode mode, int hdrFormat) { in isHdrFormatSupported() 100 public static boolean doesCurrentModeNotSupportDvBecauseLimitedTo4k30(Display display) { in doesCurrentModeNotSupportDvBecauseLimitedTo4k30() 101 Display.Mode[] supportedModes = display.getSupportedModes(); in doesCurrentModeNotSupportDvBecauseLimitedTo4k30() 102 Display.Mode currentMode = display.getMode(); in doesCurrentModeNotSupportDvBecauseLimitedTo4k30() 115 public static Display.Mode findMode1080p60(Display display) { in findMode1080p60() 116 for (Display.Mode mode : display.getSupportedModes()) { in findMode1080p60()
|
D | PreferredDynamicRangeForceFragment.java | 19 import static android.view.Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION; 20 import static android.view.Display.HdrCapabilities.HDR_TYPE_HDR10; 21 import static android.view.Display.HdrCapabilities.HDR_TYPE_HDR10_PLUS; 22 import static android.view.Display.HdrCapabilities.HDR_TYPE_HLG; 36 import android.view.Display; 83 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in getIntersectingDeviceAndDisplayHdrTypes() 128 final Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in onPreferenceTreeClick() 181 if (selectedHdrType != Display.HdrCapabilities.HDR_TYPE_INVALID in createHdrPreference() 188 private void askUserBeforeForcingToDvAndChangingTo1080p60(Display display, in askUserBeforeForcingToDvAndChangingTo1080p60()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementStatusBarDisableControllerTest.java | 31 import android.view.Display; 75 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerAdded_firstListener_registersCommandQueueCallback() 83 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerAdded_secondListener_doesNotRegisterCommandQueueCallback() 85 mController.addListener(mMockListener2, Display.DEFAULT_DISPLAY, in onListenerAdded_secondListener_doesNotRegisterCommandQueueCallback() 93 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerRemoved_notLastListener_doesNotUnregisterCommandQueueCallback() 95 mController.addListener(mMockListener2, Display.DEFAULT_DISPLAY, in onListenerRemoved_notLastListener_doesNotUnregisterCommandQueueCallback() 105 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerRemoved_lastListener_unregistersCommandQueueCallback() 107 mController.addListener(mMockListener2, Display.DEFAULT_DISPLAY, in onListenerRemoved_lastListener_unregistersCommandQueueCallback() 118 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onStatusBarDisableChanged_doesNotAffectListener_listenerNotNotified() 124 callbacks.disable(Display.DEFAULT_DISPLAY, StatusBarManager.DISABLE_BACK, in onStatusBarDisableChanged_doesNotAffectListener_listenerNotNotified() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 21 import static android.view.Display.DEFAULT_DISPLAY; 22 import static android.view.Display.INVALID_DISPLAY; 327 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in ordinaryEvents_onMainDisplay_routedToInputManager() 335 send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_notRoutedToInputManager() 345 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener() 499 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_capturedByInputController() 514 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_missedByInputController() 529 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in customEventHandler_capturesClusterEvents_capturedByInstrumentCluster() 549 send(Key.DOWN, KeyEvent.KEYCODE_VOICE_ASSIST, Display.MAIN); in voiceKey_shortPress_withRegisteredEventHandler_triggersEventHandler() 550 send(Key.UP, KeyEvent.KEYCODE_VOICE_ASSIST, Display.MAIN); in voiceKey_shortPress_withRegisteredEventHandler_triggersEventHandler() [all …]
|
D | CarOccupantZoneServiceTest.java | 20 import static android.view.Display.STATE_OFF; 21 import static android.view.Display.STATE_ON; 57 import android.view.Display; 112 private Display mDisplay0; 115 private Display mDisplay1; 118 private Display mDisplay2; 121 private Display mDisplay3; // not listed by default 124 private Display mDisplay4; 127 private Display mDisplay5; // outside display config and become unknown display 214 private void mockDisplay(DisplayManager displayManager, Display display, int displayId, in mockDisplay() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/builtin/view/ |
D | InputEventHelperTest.java | 22 import android.view.Display; 34 InputEventHelper.setDisplayId(keyEvent, Display.INVALID_DISPLAY); in testAssignDisplayId_toKeyEvent() 35 assertThat(keyEvent.getDisplayId()).isEqualTo(Display.INVALID_DISPLAY); in testAssignDisplayId_toKeyEvent() 37 InputEventHelper.setDisplayId(keyEvent, Display.DEFAULT_DISPLAY); in testAssignDisplayId_toKeyEvent() 38 assertThat(keyEvent.getDisplayId()).isEqualTo(Display.DEFAULT_DISPLAY); in testAssignDisplayId_toKeyEvent() 53 InputEventHelper.setDisplayId(motionEvent, Display.INVALID_DISPLAY); in testAssignDisplayId_toMotionEvent() 54 assertThat(motionEvent.getDisplayId()).isEqualTo(Display.INVALID_DISPLAY); in testAssignDisplayId_toMotionEvent() 56 InputEventHelper.setDisplayId(motionEvent, Display.DEFAULT_DISPLAY); in testAssignDisplayId_toMotionEvent() 57 assertThat(motionEvent.getDisplayId()).isEqualTo(Display.DEFAULT_DISPLAY); in testAssignDisplayId_toMotionEvent()
|
D | KeyEventHelperTest.java | 21 import android.view.Display; 32 KeyEventHelper.setDisplayId(keyEvent, Display.INVALID_DISPLAY); in testAssignDisplayId() 33 assertThat(keyEvent.getDisplayId()).isEqualTo(Display.INVALID_DISPLAY); in testAssignDisplayId() 35 KeyEventHelper.setDisplayId(keyEvent, Display.DEFAULT_DISPLAY); in testAssignDisplayId() 36 assertThat(keyEvent.getDisplayId()).isEqualTo(Display.DEFAULT_DISPLAY); in testAssignDisplayId()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/view/ |
D | DisplayHelper.java | 20 import android.view.Display; 33 public static final int TYPE_INTERNAL = Display.TYPE_INTERNAL; 35 public static final int TYPE_EXTERNAL = Display.TYPE_EXTERNAL; 37 public static final int TYPE_VIRTUAL = Display.TYPE_VIRTUAL; 47 public static int getPhysicalPort(Display display) { in getPhysicalPort() 61 public static String getUniqueId(Display display) { in getUniqueId() 69 public static int getType(Display display) { in getType()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/ |
D | ClusterOsDoubleApplication.java | 32 import android.view.Display; 101 if (clusterDisplayId != Display.INVALID_DISPLAY) { in start() 120 int displayId = Display.INVALID_DISPLAY; in findClusterDisplayId() 123 if (displayId == Display.INVALID_DISPLAY) { in findClusterDisplayId() 128 if (displayId == Display.INVALID_DISPLAY) { in findClusterDisplayId() 140 for (Display display : mDisplayManager.getDisplays()) { in findDisplayIdByUniqueId() 145 return Display.INVALID_DISPLAY; in findDisplayIdByUniqueId() 149 for (Display display : mDisplayManager.getDisplays()) { in findDisplayByPort() 159 return Display.INVALID_DISPLAY; in findDisplayByPort()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/ |
D | CarSettingsApplicationTest.java | 38 import android.view.Display; 74 private final Display mDefaultDisplay = new Display(DisplayManagerGlobal.getInstance(), 75 Display.DEFAULT_DISPLAY, new DisplayInfo(), 77 private final Display mSecondaryDisplay = new Display(DisplayManagerGlobal.getInstance(), 78 Display.DEFAULT_DISPLAY + 1, new DisplayInfo(), 119 Display.DEFAULT_DISPLAY); in onLifecycleChanged_carServiceNotReady() 198 Display.DEFAULT_DISPLAY); in onLifecycleChanged_carServiceReady_defaultDisplayId() 210 Display.DEFAULT_DISPLAY + 1); in onLifecycleChanged_carServiceReady_secondaryDisplayId() 223 Display.DEFAULT_DISPLAY); in onLifecycleChanged_carServiceReady_occupantZoneServiceIsNull() 244 Display.DEFAULT_DISPLAY); in onLifecycleChanged_carServiceCrashed_usePreviousValues_exceptCarAudioManager() [all …]
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/ |
D | PresentTestFragment.java | 33 import android.view.Display; 62 private Display mCurrentDisplay; 144 final Display display = (Display) v.getTag(); in setupListeners() 165 final Display display = (Display) buttonView.getTag(); in setupListeners() 205 private void showPresentation(Display display, DemoPresentationContents contents) { in showPresentation() 224 private void hidePresentation(Display display) { in hidePresentation() 243 private final class DisplayListAdapter extends ArrayAdapter<Display> { 246 private Display[] mShownDisplays; 252 mShownDisplays = new Display[] {mCurrentDisplay}; in DisplayListAdapter() 264 final Display display = getItem(position); in getView() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppListenerTest.java | 31 import android.view.Display; 119 Display display = createDisplay(displayId); in onTaskCreated_unsafeTask_callsUnsafeTaskCreated() 137 Display display = createDisplay(123); in onTaskStackChanged_safeTask_callsSafeTaskDisplayed() 146 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{display}); in onTaskStackChanged_safeTask_callsSafeTaskDisplayed() 161 Display display = createDisplay(123); in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed() 170 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{display}); in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed() 185 Display display1 = createDisplay(1); in onTaskStackChanged_multiDisplay_callsTasksDisplayed() 191 Display display2 = createDisplay(2); in onTaskStackChanged_multiDisplay_callsTasksDisplayed() 195 Display display3 = createDisplay(3); in onTaskStackChanged_multiDisplay_callsTasksDisplayed() 211 .thenReturn(new Display[]{display1, display2, display3}); in onTaskStackChanged_multiDisplay_callsTasksDisplayed() [all …]
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | DisplayCompat.java | 17 import android.view.Display; 20 private final Display mDisplay; 22 public DisplayCompat(Display display) { in DisplayCompat() 39 private final Display.Mode mMode; 41 public Mode(Display.Mode mode) { in Mode()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | ScreenOffHandlerUnitTest.java | 49 import android.view.Display; 259 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testUpdateUserActivity_noUserAssignedInModeOn_shouldTurnOffDisplay() 281 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testUpdateUserActivity_userAssignedInModeOn_shouldKeepScreenOn() 312 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testUserActivity_bootIncomplete() 332 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testCanTurnOnDisplay() 355 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testHandleDisplayStateChange_modeOn() 377 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testHandleDisplayStateChange_modeAlwaysOn() 400 assertThat(displayId).isNotEqualTo(Display.INVALID_DISPLAY); in testHandleDisplayStateChange_modeOff() 438 private Display createMockDisplay(int displayId) { in createMockDisplay() 443 private Display createMockDisplay(int displayId, int displayPort) { in createMockDisplay() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
D | ScreenResolutionControllerTest.java | 25 import android.view.Display; 55 Display.Mode modeA = new Display.Mode(0, mHighWidth, 0, 0); in getAvailabilityStatus_hasFhdAndQhdModes_returnAvailable() 56 Display.Mode modeB = new Display.Mode(0, mFullWidth, 0, 0); in getAvailabilityStatus_hasFhdAndQhdModes_returnAvailable() 57 Display.Mode[] modes = {modeA, modeB}; in getAvailabilityStatus_hasFhdAndQhdModes_returnAvailable()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/ |
D | DisplayInputSinkController.java | 41 import android.view.Display; 98 private final SparseArray<Display> mPassengerDisplays; 145 new SparseArray<Display>(INITIAL_INPUT_SINK_CAPACITY)); in DisplayInputSinkController() 154 SparseArray<Display> passengerDisplays) { in DisplayInputSinkController() 206 Display display = mOccupantZoneManager.getDisplayForOccupant(zone, DISPLAY_TYPE_MAIN); in initPassengerDisplays() 233 Display display = mOccupantZoneManager.getDisplayForOccupant(zone, DISPLAY_TYPE_MAIN); in mayUpdatePassengerDisplayOnAdded() 256 Display display = mPassengerDisplays.valueAt(index); in decideDisplayInputSink() 260 } else if (Display.isOffState(display.getState())) { in decideDisplayInputSink() 286 if (findDisplayIdByUniqueId(uniqueId) == Display.INVALID_DISPLAY) { in parseDisplayInputLockSettingValue() 296 Display display = mPassengerDisplays.valueAt(i); in findDisplayIdByUniqueId() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/ |
D | CarToastUITest.java | 33 import android.view.Display; 117 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled() 130 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled() 142 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled() 155 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled() 167 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_isSystemNotPrivilegedNotPlatformKey_createToastNotCalled() 186 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled() 198 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled() 210 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled() 222 mITransientNotificationCallback, Display.DEFAULT_DISPLAY); in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
|
/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/ |
D | RearViewCameraActivityBase.java | 25 import android.view.Display; 51 if (displayId != Display.DEFAULT_DISPLAY) { 78 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in decideViewVisibility() 82 state == Display.STATE_ON ? View.VISIBLE : View.INVISIBLE); in decideViewVisibility()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DisplayMetricsRetriever.java | 22 import android.view.Display; 56 public DisplayMetrics getDisplayMetrics(Resources resources, Display display) { in getDisplayMetrics() 68 private DisplayMetrics getPortraitDisplayMetrics(Display display) { in getPortraitDisplayMetrics() 76 private DisplayMetrics getLandscapeDisplayMetrics(Display display) { in getLandscapeDisplayMetrics() 84 private void writeDisplayMetrics(Display display, DisplayMetrics outMetrics) { in writeDisplayMetrics()
|