/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | SimpleScrollAdapterTransform.java | 41 private final DisplayMetrics mDisplayMetrics; field in SimpleScrollAdapterTransform 44 mDisplayMetrics = context.getResources().getDisplayMetrics(); in SimpleScrollAdapterTransform() 93 TypedValue.COMPLEX_UNIT_DIP, duration, mDisplayMetrics)); in initializeTransformationRecursive()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 46 protected DisplayMetrics mDisplayMetrics; field in ThemeUiTestBase 54 mDisplayMetrics = mTargetContext.getResources().getDisplayMetrics(); in setUp() 60 mTargetContext.getResources().updateConfiguration(mConfiguration, mDisplayMetrics, in tearDown()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothPairingServiceTest.java | 64 private DisplayMetrics mDisplayMetrics; field in BluetoothPairingServiceTest 82 when(mResources.getDisplayMetrics()).thenReturn(mDisplayMetrics); in setUp() 83 mDisplayMetrics.density = 1.5f; in setUp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperConnection.java | 115 @Nullable private Point mDisplayMetrics; field in WallpaperConnection 503 if (mDisplayMetrics != null) { in getDisplayMetrics() 504 return mDisplayMetrics; in getDisplayMetrics() 512 mDisplayMetrics = screenSizeCalculator.getScreenSize(display); in getDisplayMetrics() 513 return mDisplayMetrics; in getDisplayMetrics()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImagePrintActivity.java | 75 private DisplayMetrics mDisplayMetrics = new DisplayMetrics(); field in ImagePrintActivity 95 getWindowManager().getDefaultDisplay().getMetrics(mDisplayMetrics); in onCreate() 247 mDisplayMetrics.widthPixels * 1000 / mediaSize.getWidthMils(), in onLayout() 248 mDisplayMetrics.heightPixels * 1000 / mediaSize.getHeightMils()); in onLayout()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | Camera2OneCameraOpenerImpl.java | 59 private final DisplayMetrics mDisplayMetrics; field in Camera2OneCameraOpenerImpl 99 mDisplayMetrics = displayMetrics; in Camera2OneCameraOpenerImpl() 180 mDisplayMetrics, in open()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamMediaServiceTest.java | 99 @Mock private DisplayMetrics mDisplayMetrics; field in AudioStreamMediaServiceTest 136 when(mResources.getDisplayMetrics()).thenReturn(mDisplayMetrics); in setUp() 137 mDisplayMetrics.density = 1.5f; in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | SimSelectNotificationTest.java | 103 private DisplayMetrics mDisplayMetrics; field in SimSelectNotificationTest 166 when(mResources.getDisplayMetrics()).thenReturn(mDisplayMetrics); in setUp() 167 mDisplayMetrics.density = 1.5f; in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 158 @Mock DisplayMetrics mDisplayMetrics; field in NetworkNotificationManagerTest 185 mDisplayMetrics.density = 2.275f; in setUp() 198 doReturn(mDisplayMetrics).when(mResources).getDisplayMetrics(); in setUp()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 617 private final DisplayMetrics mDisplayMetrics = mock(DisplayMetrics.class); 656 when(mResources.getDisplayMetrics()).thenReturn(mDisplayMetrics); 657 mDisplayMetrics.density = 3.125f;
|