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

1 2 3 4 5 6 7 8 91011

  /development/samples/ApiDemos/src/com/example/android/apis/view/
SystemUIModes.java 164 DisplayMetrics dm = getResources().getDisplayMetrics();
GameView.java 93 float baseSize = getContext().getResources().getDisplayMetrics().density * 5f;
  /development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
NotificationPresets.java 232 heightDisplayDp, context.getResources().getDisplayMetrics());
  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java 116 DisplayMetrics metrics = context.getResources().getDisplayMetrics();
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
MultiBoxTracker.java 112 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, context.getResources().getDisplayMetrics());
  /external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
MultiBoxTracker.java 112 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, context.getResources().getDisplayMetrics());
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
SplitAppTest.java 559 r.updateConfiguration(c, r.getDisplayMetrics());
565 r.updateConfiguration(c, r.getDisplayMetrics());
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 428 targetDensity = mContext.getResources().getDisplayMetrics().densityDpi;
429 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics());
DrawableTest.java 395 float density = mContext.getResources().getDisplayMetrics().density;
410 float density = mContext.getResources().getDisplayMetrics().density;
    [all...]
NinePatchDrawableTest.java 383 int targetDensity = mResources.getDisplayMetrics().densityDpi;
672 opts.inDensity = opts.inTargetDensity = mResources.getDisplayMetrics().densityDpi;
ScaleDrawableTest.java 446 final int bitmapSize = Math.round(48f * res.getDisplayMetrics().density);
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
MultiDisplayTestBase.java 170 public static ReportedDisplayMetrics getDisplayMetrics(int displayId) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java 441 InstrumentationRegistry.getTargetContext().getResources().getDisplayMetrics();
488 InstrumentationRegistry.getTargetContext().getResources().getDisplayMetrics();
    [all...]
ImageDecoderTest.java     [all...]
BitmapFactoryTest.java 116 mTargetDensity = mRes.getDisplayMetrics().densityDpi;
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AdapterViewTest.java 220 float density = mActivity.getResources().getDisplayMetrics().density;
GridViewTest.java 804 int layoutSize = (int)(50 * mContext.getResources().getDisplayMetrics().density);
    [all...]
ScrollViewTest.java 727 int orgRectSize = (int)(10 * mActivity.getResources().getDisplayMetrics().density);
    [all...]
MagnifierTest.java 96 mDisplayMetrics = mActivity.getResources().getDisplayMetrics();
    [all...]
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
StylizeActivity.java 361 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics());
  /cts/tests/tests/content/src/android/content/res/cts/
ResourcesTest.java 331 int targetDensity = mResources.getDisplayMetrics().densityDpi;
646 return new Resources(mResources.getAssets(), mResources.getDisplayMetrics(), config);
    [all...]
  /cts/tests/framework/base/windowmanager/util/src/android/server/wm/
CommandSession.java     [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Images_ThumbnailsTest.java 121 * res.getDisplayMetrics().density);
  /cts/tests/tests/text/src/android/text/method/cts/
ScrollingMovementMethodTest.java 653 final DisplayMetrics dm = mActivity.getResources().getDisplayMetrics();
  /development/samples/ControllerSample/src/com/example/controllersample/
GameView.java 95 float baseSize = getContext().getResources().getDisplayMetrics().density * 5f;
    [all...]

Completed in 1266 milliseconds

1 2 3 4 5 6 7 8 91011