HomeSort by relevance Sort by last modified time
    Searched refs:heightPixels (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/util/
DisplayMetrics.java 121 public int heightPixels;
208 heightPixels = o.heightPixels;
225 heightPixels = 0;
232 noncompatHeightPixels = heightPixels;
269 && heightPixels == other.heightPixels
284 return widthPixels * heightPixels * densityDpi;
290 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity +
  /cts/tests/tests/dpi/src/android/dpi/cts/
AspectRatioTest.java 62 int max = Math.max(metrics.widthPixels, metrics.heightPixels);
63 int min = Math.min(metrics.widthPixels, metrics.heightPixels);
ConfigurationScreenLayoutTest.java 102 int max = Math.max(metrics.widthPixels, metrics.heightPixels);
103 int min = Math.min(metrics.widthPixels, metrics.heightPixels);
ConfigurationTest.java 41 double yInches = (double) metrics.heightPixels / metrics.ydpi;
  /cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java 38 assertEquals(0, outMetrics.heightPixels);
49 assertEquals(display.getHeight(), metrics.heightPixels);
TypedValueTest.java 40 dm.heightPixels = 100;
82 dm.heightPixels = 100;
131 dm.heightPixels = 100;
197 dm.heightPixels = 100;
212 dm.heightPixels = 100;
  /packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/
WalkAroundWallpaper.java 175 size.width == metrics.heightPixels && size.height == metrics.widthPixels) ||
177 size.width == metrics.widthPixels && size.height == metrics.heightPixels)) {
186 if (size.width >= metrics.widthPixels && size.height >= metrics.heightPixels) {
  /cts/hostsidetests/holo/app/src/android/holo/app/
DisplayInfoActivity.java 44 int height = Math.round(dm.heightPixels / dm.density);
  /cts/tests/tests/holo/src/android/holo/cts/
DisplayInfoActivity.java 42 int height = Math.round(dm.heightPixels / dm.density);
  /development/apps/Development/src/com/android/development/
ConfigurationViewer.java 58 + "heightPixels=" + m.heightPixels + "\n"
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DisplayTest.java 36 assertEquals(600, metrics.heightPixels);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java 34 info.logicalHeight = mMetrics.heightPixels;
  /packages/apps/Settings/src/com/android/settings/
Display.java 71 mDisplayMetrics.heightPixels = metrics.heightPixels;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java 39 outMetrics.heightPixels = height;
  /frameworks/base/core/java/com/android/internal/widget/
WeightedLinearLayout.java 60 final boolean isPortrait = screenWidth < metrics.heightPixels;
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetConfigure.java 56 int maxDimension = Math.max(display.heightPixels, display.widthPixels);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ResourceUtils.java 235 R.fraction.maxKeyboardHeight, dm.heightPixels, dm.heightPixels);
237 R.fraction.minKeyboardHeight, dm.heightPixels, dm.heightPixels);
  /frameworks/base/core/java/android/view/
Display.java 408 outSize.y = mTempMetrics.heightPixels;
422 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels);
684 mCachedAppHeightCompat = mTempMetrics.heightPixels;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SnapScrollController.java 108 (double) metrics.heightPixels / metrics.densityDpi);
  /external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DeviceDisplayInfo.java 43 return getMetrics().heightPixels;
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 436 inoutDm.heightPixels = inoutDm.noncompatHeightPixels;
447 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f);
512 outDm.heightPixels = newHeight;
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
MtpBitmapFetch.java 104 sMaxSize = Math.max(metrics.heightPixels, metrics.widthPixels);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
RobolectricTest.java 153 assertThat(new Activity().getResources().getDisplayMetrics().heightPixels, equalTo(800));
162 assertThat(new Activity().getResources().getDisplayMetrics().heightPixels, equalTo(200));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
Recents.java 125 y = (int) (dm.heightPixels
168 y = (int) ((dm.heightPixels - statusBarHeight - height) / 2f + thumbTopMargin
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
OverlayDisplayWindow.java 320 0 : mDefaultDisplayMetrics.heightPixels;
332 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight);
341 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height));

Completed in 2996 milliseconds

1 2 3 4