/frameworks/base/core/java/android/util/ |
DisplayMetrics.java | 113 public int heightPixels; 200 heightPixels = o.heightPixels; 217 heightPixels = 0; 224 noncompatHeightPixels = heightPixels; 261 && heightPixels == other.heightPixels 276 return widthPixels * heightPixels * densityDpi; 282 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity +
|
/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;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
WindowManagerImpl.java | 33 info.logicalHeight = mMetrics.heightPixels;
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
AspectRatioTest.java | 74 int max = Math.max(metrics.widthPixels, metrics.heightPixels); 75 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;
|
/frameworks/base/core/java/android/view/ |
Display.java | 347 outSize.y = mTempMetrics.heightPixels; 361 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); 596 mCachedAppHeightCompat = mTempMetrics.heightPixels;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSet.java | 222 public Builder setScreenGeometry(final int widthPixels, final int heightPixels) { 224 params.mOrientation = (heightPixels > widthPixels) 226 setDefaultKeyboardSize(widthPixels, heightPixels); 230 private void setDefaultKeyboardSize(final int widthPixels, final int heightPixels) { 241 R.fraction.maxKeyboardHeight, heightPixels, heightPixels); 243 R.fraction.minKeyboardHeight, heightPixels, heightPixels); 434 width = Math.max(dm.widthPixels, dm.heightPixels); 435 height = Math.min(dm.widthPixels, dm.heightPixels); [all...] |
/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/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);
|
ResourcesTest.java | 139 assertThat(activity.getResources().getDisplayMetrics().heightPixels, equalTo(800));
|
/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);
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 436 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; 447 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); 513 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));
|
/cts/tests/tests/display/src/android/display/cts/ |
DisplayTest.java | 142 assertEquals(SECONDARY_DISPLAY_HEIGHT, outMetrics.heightPixels);
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 131 mPosY = metrics.heightPixels/2;
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
NotificationStudioActivity.java | 112 float actualHeight = dm.heightPixels / dm.ydpi; 116 preview.setMaxHeight((int)(dm.heightPixels * pct));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsVerticalScrollView.java | 365 MeasureSpec.makeMeasureSpec(dm.heightPixels, MeasureSpec.AT_MOST); 369 (int) FloatMath.ceil(dm.heightPixels / (float) child.getMeasuredHeight());
|