HomeSort by relevance Sort by last modified time
    Searched refs:getDisplayMetrics (Results 1 - 25 of 254) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/deqp/framework/platform/android/
tcuAndroidUtil.hpp 82 DisplayMetrics getDisplayMetrics (ANativeActivity* activity);
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
DisplayTests.java 162 ReportedDisplayMetrics displayMetrics = displayMetricsSession.getDisplayMetrics();
174 displayMetrics = displayMetricsSession.getDisplayMetrics();
205 mInitialDisplayMetrics = ReportedDisplayMetrics.getDisplayMetrics(mDisplayId);
212 ReportedDisplayMetrics getDisplayMetrics() throws Exception {
213 return ReportedDisplayMetrics.getDisplayMetrics(mDisplayId);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowViewConfigurationTest.java 48 assertThat(context.getResources().getDisplayMetrics().density).isEqualTo(1f);
63 context.getResources().getDisplayMetrics().density = 1.5f;
  /cts/tests/tests/transition/src/android/transition/cts/
ChangeBoundsTest.java 226 (SMALL_SQUARE_SIZE_DP + LARGE_SQUARE_SIZE_DP) / 2, resources.getDisplayMetrics());
239 (SMALL_SQUARE_SIZE_DP + LARGE_SQUARE_SIZE_DP) / 2, resources.getDisplayMetrics());
254 SMALL_OFFSET_DP, resources.getDisplayMetrics());
259 SMALL_SQUARE_SIZE_DP, resources.getDisplayMetrics());
264 LARGE_SQUARE_SIZE_DP, resources.getDisplayMetrics());
276 SMALL_OFFSET_DP, resources.getDisplayMetrics());
281 SMALL_SQUARE_SIZE_DP, resources.getDisplayMetrics());
286 LARGE_SQUARE_SIZE_DP, resources.getDisplayMetrics());
306 resources.getDisplayMetrics());
374 SMALL_SQUARE_SIZE_DP, resources.getDisplayMetrics()));
    [all...]
  /cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
FontScaleActivity.java 72 final int fontActivityDpi = getResources().getDisplayMetrics().densityDpi;
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
Utils.java 95 float density = ctx.getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/
Utils.java 64 float density = ctx.getResources().getDisplayMetrics().density;
  /external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
CircleView.java 28 float density = getResources().getDisplayMetrics().densityDpi;
PinView.java 33 float density = getResources().getDisplayMetrics().densityDpi;
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
RecognitionScoreView.java 41 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
  /external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
RecognitionScoreView.java 39 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
TouchCatcherView.java 55 float density = getResources().getDisplayMetrics().density;
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
CanvasStateTests.java 129 getActivity().getResources().getDisplayMetrics();
146 getActivity().getResources().getDisplayMetrics();
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
RuntimeEnvironment.java 98 return getQualifiers(systemResources.getConfiguration(), systemResources.getDisplayMetrics());
126 displayMetrics.setTo(Resources.getSystem().getDisplayMetrics());
  /cts/tests/tests/theme/src/android/theme/cts/
ThemeRebaseTest.java 65 resources.updateConfiguration(mInitialConfig, resources.getDisplayMetrics());
  /developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/ActivityInstrumentation/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/BasicAccessibility/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 73 double scale = getResources().getDisplayMetrics().density;

Completed in 1277 milliseconds

1 2 3 4 5 6 7 8 91011