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

1 2 3 45 6 7 8 9

  /sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
MyActivity.java 26 import android.util.DisplayMetrics;
102 DisplayMetrics metrics = getResources().getDisplayMetrics();
ConfigGenerator.java 31 import android.util.DisplayMetrics;
168 DisplayMetrics metrics = resources.getDisplayMetrics();
230 case DisplayMetrics.DENSITY_LOW:
233 case DisplayMetrics.DENSITY_MEDIUM:
236 case DisplayMetrics.DENSITY_TV:
239 case DisplayMetrics.DENSITY_HIGH:
242 case DisplayMetrics.DENSITY_XHIGH:
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java 32 import android.util.DisplayMetrics;
856 DisplayMetrics metrics = new DisplayMetrics();
867 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH);
883 DisplayMetrics metrics = new DisplayMetrics();
894 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH);
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
OverlayDisplayWindow.java 28 import android.util.DisplayMetrics;
190 private final DisplayMetrics mDefaultDisplayMetrics = new DisplayMetrics();
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertionListView.java 35 import android.util.DisplayMetrics;
331 DisplayMetrics dm = new DisplayMetrics();
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactDetailFragment.java 38 import android.util.DisplayMetrics;
519 // Gets a DisplayMetrics object, which is used to retrieve the display's pixel height and
521 final DisplayMetrics displayMetrics = new DisplayMetrics();
523 // Retrieves a displayMetrics object for the device's default display
524 getActivity().getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
525 final int height = displayMetrics.heightPixels;
526 final int width = displayMetrics.widthPixels;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
PhotoViewFragment.java 32 import android.util.DisplayMetrics;
187 final DisplayMetrics metrics = new DisplayMetrics();
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java 26 import android.util.DisplayMetrics;
133 DisplayMetrics metrics = new DisplayMetrics();
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 20 import android.util.DisplayMetrics;
328 private final DisplayMetrics mMetrics;
332 public IconResizer(int width, int height, DisplayMetrics metrics) {
AllowBindAppWidgetActivity.java 28 import android.util.DisplayMetrics;
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AttachmentDrawable.java 16 import android.util.DisplayMetrics;
71 private static final int MAX_BITMAP_DENSITY = DisplayMetrics.DENSITY_HIGH;
355 Math.min(1f, (float) MAX_BITMAP_DENSITY / DisplayMetrics.DENSITY_DEFAULT
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
TextCandidates1LineViewManager.java 33 import android.util.DisplayMetrics;
120 private final DisplayMetrics mMetrics = new DisplayMetrics();
  /cts/tests/src/android/webkit/cts/
WebViewOnUiThread.java 29 import android.util.DisplayMetrics;
640 public final DisplayMetrics getDisplayMetrics() {
641 return getValue(new ValueGetter<DisplayMetrics>() {
643 public DisplayMetrics capture() {
  /packages/apps/Calendar/tests/src/com/android/calendar/
UtilsTests.java 35 import android.util.DisplayMetrics;
133 public DisplayMetrics getDisplayMetrics(){
134 DisplayMetrics metrics = new DisplayMetrics();
  /frameworks/base/core/java/android/content/res/
Resources.java 34 import android.util.DisplayMetrics;
120 /*package*/ final DisplayMetrics mMetrics = new DisplayMetrics();
178 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) {
194 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config,
525 * conversions are based on the current {@link DisplayMetrics} associated
723 * found in {@link DisplayMetrics}.
    [all...]
  /cts/tests/tests/display/src/android/display/cts/
VirtualDisplayTest.java 34 import android.util.DisplayMetrics;
58 private static final int DENSITY = DisplayMetrics.DENSITY_MEDIUM;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java 36 import android.util.DisplayMetrics;
207 final DisplayMetrics metrics = getResources().getDisplayMetrics();
  /development/tools/recovery_l10n/src/com/android/recovery_l10n/
Main.java 28 import android.util.DisplayMetrics;
109 DisplayMetrics metrics = standardResources.getDisplayMetrics();
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 33 import android.util.DisplayMetrics;
55 private DisplayMetrics mDisplayMetrics;
AppWidgetManager.java 28 import android.util.DisplayMetrics;
326 private DisplayMetrics mDisplayMetrics;
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
SubtitleView.java 35 import android.util.DisplayMetrics;
115 final DisplayMetrics m = res.getDisplayMetrics();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsHorizontalScrollView.java 25 import android.util.DisplayMetrics;
346 DisplayMetrics dm = getResources().getDisplayMetrics();
  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 37 import android.util.DisplayMetrics;
237 final DisplayMetrics metrics = getResources().getDisplayMetrics();
  /frameworks/support/v4/java/android/support/v4/widget/
AutoScrollHelper.java 23 import android.util.DisplayMetrics;
212 final DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 29 import android.util.DisplayMetrics;
86 final DisplayMetrics mMetrics;
90 mMetrics = new DisplayMetrics();
127 mMetrics.density = (((float)value)/((float)DisplayMetrics.DENSITY_DEFAULT));
    [all...]

Completed in 387 milliseconds

1 2 3 45 6 7 8 9