HomeSort by relevance Sort by last modified time
    Searched refs:DisplayMetrics (Results 76 - 100 of 211) sorted by null

1 2 34 5 6 7 8 9

  /frameworks/base/policy/src/com/android/internal/policy/impl/
ImmersiveModeConfirmation.java 34 import android.util.DisplayMetrics;
234 DisplayMetrics metrics = new DisplayMetrics();
  /frameworks/base/services/java/com/android/server/display/
OverlayDisplayAdapter.java 28 import android.util.DisplayMetrics;
149 && densityDpi >= DisplayMetrics.DENSITY_LOW
150 && densityDpi <= DisplayMetrics.DENSITY_XXHIGH) {
  /packages/apps/Launcher2/src/com/android/launcher2/
Cling.java 30 import android.util.DisplayMetrics;
197 DisplayMetrics metrics = new DisplayMetrics();
Utilities.java 35 import android.util.DisplayMetrics;
237 final DisplayMetrics metrics = resources.getDisplayMetrics();
  /packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectsActivity.java 26 import android.util.DisplayMetrics;
96 final DisplayMetrics displayMetrics = new DisplayMetrics();
97 getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
98 final int widthDip = (int) (displayMetrics.widthPixels / displayMetrics.scaledDensity);
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
AudioTrackView.java 26 import android.util.DisplayMetrics;
128 final DisplayMetrics metrics = new DisplayMetrics();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ResourceUtils.java 23 import android.util.DisplayMetrics;
221 final DisplayMetrics dm = res.getDisplayMetrics();
226 final DisplayMetrics dm = res.getDisplayMetrics();
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/
NotificationStudioActivity.java 28 import android.util.DisplayMetrics;
110 DisplayMetrics dm = new DisplayMetrics();
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 33 import android.util.DisplayMetrics;
222 * @param metrics The DisplayMetrics indicating the density scale for this drawable.
227 public void setTargetDensity(DisplayMetrics metrics) {
241 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density;
641 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
TestService.java 52 import android.util.DisplayMetrics;
818 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
837 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
857 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
877 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
898 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
918 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
939 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
959 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
GalleryUtils.java 35 import android.util.DisplayMetrics;
80 DisplayMetrics metrics = new DisplayMetrics();
91 private static void initializeThumbnailSizes(DisplayMetrics metrics, Resources r) {
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 28 import android.util.DisplayMetrics;
107 DisplayMetrics metrics = mActivity.getResources().getDisplayMetrics();
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 22 import android.util.DisplayMetrics;
190 * @see android.util.DisplayMetrics#densityDpi
205 * DisplayMetrics. The other
212 * @see android.util.DisplayMetrics#densityDpi
239 * @see android.util.DisplayMetrics#densityDpi
419 opts.inDensity = DisplayMetrics.DENSITY_DEFAULT;
  /frameworks/base/services/java/com/android/server/wm/
Watermark.java 26 import android.util.DisplayMetrics;
54 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
TimeBar.java 25 import android.util.DisplayMetrics;
97 DisplayMetrics metrics = context.getResources().getDisplayMetrics();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorBrightnessView.java 29 import android.util.DisplayMetrics;
65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorCompareView.java 29 import android.util.DisplayMetrics;
61 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorHueView.java 30 import android.util.DisplayMetrics;
66 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorOpacityView.java 30 import android.util.DisplayMetrics;
63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorRectView.java 29 import android.util.DisplayMetrics;
70 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorSVRectView.java 31 import android.util.DisplayMetrics;
65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorSaturationView.java 29 import android.util.DisplayMetrics;
65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
ColorValueView.java 27 import android.util.DisplayMetrics;
59 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
  /packages/apps/Settings/src/com/android/settings/applications/
LinearColorBar.java 14 import android.util.DisplayMetrics;
69 mLineWidth = getResources().getDisplayMetrics().densityDpi >= DisplayMetrics.DENSITY_HIGH
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ThumbnailLoadTask.java 27 import android.util.DisplayMetrics;
119 opts.inDensity = DisplayMetrics.DENSITY_LOW;

Completed in 502 milliseconds

1 2 34 5 6 7 8 9