/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | DisplayMetricsSession.java | 37 mInitialDisplayMetrics = ReportedDisplayMetrics.getDisplayMetrics( in DisplayMetricsSession() 45 public ReportedDisplayMetrics getDisplayMetrics() { in getDisplayMetrics() method in DisplayMetricsSession 46 return ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in getDisplayMetrics()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 226 (SMALL_SQUARE_SIZE_DP + LARGE_SQUARE_SIZE_DP) / 2, resources.getDisplayMetrics()); in waitForSizeIsMiddle() 239 (SMALL_SQUARE_SIZE_DP + LARGE_SQUARE_SIZE_DP) / 2, resources.getDisplayMetrics()); in waitForClipIsMiddle() 254 SMALL_OFFSET_DP, resources.getDisplayMetrics()); in isRestartingAnimation() 259 SMALL_SQUARE_SIZE_DP, resources.getDisplayMetrics()); in isRestartingAnimation() 264 LARGE_SQUARE_SIZE_DP, resources.getDisplayMetrics()); in isRestartingAnimation() 276 SMALL_OFFSET_DP, resources.getDisplayMetrics()); in isRestartingClip() 281 SMALL_SQUARE_SIZE_DP, resources.getDisplayMetrics()); in isRestartingClip() 286 LARGE_SQUARE_SIZE_DP, resources.getDisplayMetrics()); in isRestartingClip() 306 resources.getDisplayMetrics()); in validateViewPlacement() 374 SMALL_SQUARE_SIZE_DP, resources.getDisplayMetrics())); in ValidateBoundsListener() [all …]
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/ |
D | PocService.java | 38 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 42 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/ |
D | PocService.java | 49 int screenWidth = Resources.getSystem().getDisplayMetrics().widthPixels; in onStartCommand() 50 int screenHeight = Resources.getSystem().getDisplayMetrics().heightPixels; in onStartCommand()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/ |
D | PocService.java | 37 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 41 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
D | PocService.java | 39 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 43 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/ |
D | PocService.java | 36 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 40 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/ |
D | PocService.java | 39 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 43 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/ |
D | PocService.java | 42 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 46 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0954/src/android/security/cts/CVE_2021_0954/ |
D | PocService.java | 36 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 40 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0487/src/android/security/cts/CVE_2021_0487/ |
D | PocService.java | 42 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 46 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/ |
D | PocService.java | 39 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 43 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | HandwritingBoundsOffsetTest.java | 72 final DisplayMetrics displayMetrics = activity.getResources().getDisplayMetrics(); in handwritingBoundsOffset_textViewDefaultValue() 91 final DisplayMetrics displayMetrics = activity.getResources().getDisplayMetrics(); in handwritingBoundsOffset_editTextDefaultValue()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | DisplayTests.java | 183 ReportedDisplayMetrics displayMetrics = displayMetricsSession.getDisplayMetrics(); in testForceDisplayMetrics() 193 displayMetrics = displayMetricsSession.getDisplayMetrics(); in testForceDisplayMetrics()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingTestBase.java | 45 ReportedDisplayMetrics.getDisplayMetrics(Display.DEFAULT_DISPLAY);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasStateTests.java | 179 getActivity().getResources().getDisplayMetrics(); in testDrawScreenWideBitmap() 196 getActivity().getResources().getDisplayMetrics(); in testDrawLargeBitmap()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/ |
D | PocService.java | 45 DisplayMetrics displayMetrics = Resources.getSystem().getDisplayMetrics(); in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/ |
D | PocService.java | 47 DisplayMetrics displayMetrics = Resources.getSystem().getDisplayMetrics(); in onCreate()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | FontScaleActivity.java | 75 final int fontActivityDpi = getResources().getDisplayMetrics().densityDpi; in dumpActivityDpi()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioSystemFlags.java | 104 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in isHandheld()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | ThemeRebaseTest.java | 65 resources.updateConfiguration(mInitialConfig, resources.getDisplayMetrics()); in after()
|
D | WatchPercentageScreenDimenTest.java | 51 mDisplayMetrics = mContext.getResources().getDisplayMetrics(); in setUp()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SimpleKeyguardService.java | 53 DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics(); in onCreateKeyguardSurface()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WidgetTestUtils.java | 121 Assert.assertEquals(expected * context.getResources().getDisplayMetrics().density, in assertScaledPixels() 127 float density = context.getResources().getDisplayMetrics().density; in convertDipToPixels()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/ |
D | OverlayService.java | 44 DisplayMetrics displayMetrics = Resources.getSystem().getDisplayMetrics(); in onCreate()
|