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

1 23 4 5 6 7 8 9

  /frameworks/base/graphics/java/android/graphics/
LargeBitmap.java 21 import android.util.DisplayMetrics;
Bitmap.java 21 import android.util.DisplayMetrics;
98 sDefaultDensity = DisplayMetrics.DENSITY_DEVICE;
147 * {@link android.util.DisplayMetrics#DENSITY_DEFAULT}. Note that
157 * @see android.util.DisplayMetrics#DENSITY_DEFAULT
158 * @see android.util.DisplayMetrics#densityDpi
174 * @see android.util.DisplayMetrics#DENSITY_DEFAULT
175 * @see android.util.DisplayMetrics#densityDpi
759 * initial density is determined from the given {@link DisplayMetrics}.
768 public static Bitmap createBitmap(DisplayMetrics display, int width,
792 * initial density is determined from the given {@link DisplayMetrics}
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
IWindowManagerImpl.java 31 import android.util.DisplayMetrics;
50 private final DisplayMetrics mMetrics;
54 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation,
64 public DisplayMetrics getMetrics() {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 39 import android.util.DisplayMetrics;
106 DisplayMetrics metrics = new DisplayMetrics();
111 metrics.densityDpi / (float) DisplayMetrics.DENSITY_DEFAULT;
  /frameworks/base/core/java/android/view/
DisplayInfo.java 24 import android.util.DisplayMetrics;
347 public void getAppMetrics(DisplayMetrics outMetrics) {
351 public void getAppMetrics(DisplayMetrics outMetrics, DisplayAdjustments displayAdjustments) {
356 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, IBinder token) {
360 public void getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo,
382 private void getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo,
389 logicalDensityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE;
ViewConfiguration.java 26 import android.util.DisplayMetrics;
274 * @see android.util.DisplayMetrics
278 final DisplayMetrics metrics = res.getDisplayMetrics();
352 final DisplayMetrics metrics = context.getResources().getDisplayMetrics();
  /frameworks/base/services/java/com/android/server/display/
DisplayDeviceInfo.java 19 import android.util.DisplayMetrics;
188 densityDpi = Math.min(width, height) * DisplayMetrics.DENSITY_XHIGH / 1080;
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewLayersActivity.java 27 import android.util.DisplayMetrics;
110 final DisplayMetrics metrics = r.getDisplayMetrics();
ViewLayersActivity5.java 29 import android.util.DisplayMetrics;
129 final DisplayMetrics metrics = r.getDisplayMetrics();
  /frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java 25 import android.util.DisplayMetrics;
129 DisplayMetrics metrics = context.getResources().getDisplayMetrics();
  /packages/apps/Launcher3/src/com/android/launcher3/
Cling.java 29 import android.util.DisplayMetrics;
196 DisplayMetrics metrics = new DisplayMetrics();
230 DisplayMetrics metrics = new DisplayMetrics();
247 private Rect getWorkspaceCutOutBounds(DisplayMetrics metrics) {
500 DisplayMetrics metrics = new DisplayMetrics();
  /packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/
WalkAroundWallpaper.java 23 import android.util.DisplayMetrics;
168 final DisplayMetrics metrics = resources.getDisplayMetrics();
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceNetworkVars.java 22 import android.util.DisplayMetrics;
89 DisplayMetrics dm = new DisplayMetrics();
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/
ImageDetailActivity.java 28 import android.util.DisplayMetrics;
62 final DisplayMetrics displayMetrics = new DisplayMetrics();
63 getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
64 final int height = displayMetrics.heightPixels;
65 final int width = displayMetrics.widthPixels;
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoThumbnailFragment.java 32 import android.util.DisplayMetrics;
141 // Instantiates a DisplayMetrics object
142 DisplayMetrics localDisplayMetrics = new DisplayMetrics();
  /external/replicaisland/src/com/replica/replicaisland/
AnimationPlayerActivity.java 28 import android.util.DisplayMetrics;
89 DisplayMetrics metrics = new DisplayMetrics();
  /frameworks/base/core/java/com/android/internal/app/
PlatLogoActivity.java 30 import android.util.DisplayMetrics;
53 DisplayMetrics metrics = new DisplayMetrics();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
Recents.java 30 import android.util.DisplayMetrics;
100 DisplayMetrics dm = new DisplayMetrics();
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 39 import android.util.DisplayMetrics;
65 private final DisplayMetrics mDisplayMetrics;
71 DisplayMetrics metrics = mDisplayMetrics = resources.getDisplayMetrics();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorPickerDialog.java 24 import android.util.DisplayMetrics;
48 DisplayMetrics metrics = new DisplayMetrics();
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTile.java 28 import android.util.DisplayMetrics;
174 / DisplayMetrics.DENSITY_DEFAULT;
176 / DisplayMetrics.DENSITY_DEFAULT;
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TransitionView.java 31 import android.util.DisplayMetrics;
128 final DisplayMetrics metrics = new DisplayMetrics();
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 32 import android.util.DisplayMetrics;
64 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
159 * @param metrics The DisplayMetrics indicating the density scale for this drawable.
164 public void setTargetDensity(DisplayMetrics metrics) {
178 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density;
448 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
  /cts/tests/tests/content/src/android/content/res/cts/
ResourcesTest.java 38 import android.util.DisplayMetrics;
68 final DisplayMetrics dm = new DisplayMetrics();
122 final DisplayMetrics metrics = new DisplayMetrics();
254 int defaultDensity = DisplayMetrics.DENSITY_DEFAULT;
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 32 import android.util.DisplayMetrics;
348 DisplayMetrics metrics = new DisplayMetrics();

Completed in 2265 milliseconds

1 23 4 5 6 7 8 9