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

1 2 3 4 5 6 7 891011

  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
ClassifierActivity.java 109 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
DetectorActivity.java 125 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
  /external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
ClassifierActivity.java 98 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
DetectorActivity.java 100 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
BootstrapTest.java 106 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics();
141 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics();
  /bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
Main.java 110 DisplayMetrics metrics = standardResources.getDisplayMetrics();
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 63 mOptNoScale.inDensity = mOptNoScale.inTargetDensity = mRes.getDisplayMetrics().densityDpi;
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
RichSetupFragment.java 225 float density = ctx.getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageGridFragment.java 233 tv.data, context.getResources().getDisplayMetrics());
  /developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
MainActivity.java 330 float scale = getResources().getDisplayMetrics().density;
  /developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
MainActivity.java 330 float scale = getResources().getDisplayMetrics().density;
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageGridFragment.java 233 tv.data, context.getResources().getDisplayMetrics());
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
ImageGridFragment.java 233 tv.data, context.getResources().getDisplayMetrics());
  /development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
MainActivity.java 345 float scale = getResources().getDisplayMetrics().density;
  /external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
PartnerConfigHelper.java 364 DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowTextViewTest.java 443 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics().density = 1.5f;
455 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics().scaledDensity =
464 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics().density = 1.5f;
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java     [all...]
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
SubsamplingScaleImageView.java 287 density = getResources().getDisplayMetrics().density;
333 quickScaleThreshold = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 20, context.getResources().getDisplayMetrics());
    [all...]
  /cts/tests/tests/transition/src/android/transition/cts/
ChangeImageTransformTest.java 342 DisplayMetrics metrics = mActivity.getResources().getDisplayMetrics();
  /cts/tests/tests/widget/src/android/widget/cts/
EditTextTest.java 239 DisplayMetrics metrics = mActivity.getResources().getDisplayMetrics();
  /cts/tests/tests/widget/src/android/widget/cts/util/
TestUtils.java 359 final float density = context.getResources().getDisplayMetrics().density;
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
AbstractCustomVirtualView.java 90 (int) (DEFAULT_TEXT_HEIGHT_DP * getResources().getDisplayMetrics().density);
  /developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
NotificationPresets.java 232 heightDisplayDp, context.getResources().getDisplayMetrics());
  /developers/samples/android/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
NotificationPresets.java 232 heightDisplayDp, context.getResources().getDisplayMetrics());
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
AbstractCustomVirtualView.java 90 (int) (DEFAULT_TEXT_HEIGHT_DP * getResources().getDisplayMetrics().density);

Completed in 1216 milliseconds

1 2 3 4 5 6 7 891011