OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:widthpixels
(Results
1 - 25
of
136
) sorted by null
1
2
3
4
5
6
/cts/tests/vr/src/android/vr/cts/
VrDisplayTest.java
88
if (metrics.
widthPixels
> metrics.heightPixels) {
89
displayWidth = metrics.
widthPixels
;
93
displayHeight = metrics.
widthPixels
;
112
double width = metrics.
widthPixels
/ metrics.xdpi;
/cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java
37
assertEquals(0, outMetrics.
widthPixels
);
50
assertEquals(display.getWidth(), metrics.
widthPixels
);
/frameworks/base/core/java/android/util/
DisplayMetrics.java
159
public int
widthPixels
;
249
widthPixels
= o.
widthPixels
;
266
widthPixels
= 0;
273
noncompatWidthPixels =
widthPixels
;
310
&&
widthPixels
== other.
widthPixels
326
return
widthPixels
* heightPixels * densityDpi;
331
return "DisplayMetrics{density=" + density + ", width=" +
widthPixels
+
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
ContentFrameLayout.java
92
final boolean isPortrait = metrics.
widthPixels
< metrics.heightPixels;
105
w = (int) tvw.getFraction(metrics.
widthPixels
, metrics.
widthPixels
);
149
min = (int) tv.getFraction(metrics.
widthPixels
, metrics.
widthPixels
);
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
Utils.java
91
int w = (int) (metrics.
widthPixels
* MediaDimensions.MEDIA_WIDTH);
93
int marginLeft = (int) (metrics.
widthPixels
* MediaDimensions.MEDIA_LEFT_MARGIN);
95
int marginRight = (int) (metrics.
widthPixels
* MediaDimensions.MEDIA_RIGHT_MARGIN);
/frameworks/base/core/java/android/inputmethodservice/
CompactExtractEditLayout.java
114
int
widthPixels
= dm.
widthPixels
;
115
applyProportionalLayout(
widthPixels
, heightPixels);
/cts/tests/tests/dpi/src/android/dpi/cts/
AspectRatioTest.java
69
int max = Math.max(metrics.
widthPixels
, metrics.heightPixels);
70
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
43
double xInches = (double) metrics.
widthPixels
/ metrics.xdpi;
/development/apps/Development/src/com/android/development/
ConfigurationViewer.java
60
+ "
widthPixels
=" + m.
widthPixels
+ "\n"
/external/deqp/framework/platform/android/
tcuAndroidUtil.hpp
64
int
widthPixels
;
74
,
widthPixels
(0)
/packages/apps/Settings/src/com/android/settings/display/
DensityPreference.java
48
final int minDimensionPx = Math.min(metrics.
widthPixels
, metrics.heightPixels);
71
final int minDimensionPx = Math.min(metrics.
widthPixels
, metrics.heightPixels);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DisplayTest.java
35
assertEquals(1024, metrics.
widthPixels
);
/frameworks/support/v4/donut/android/support/v4/content/res/
ConfigurationHelperDonut.java
33
return (int) (metrics.
widthPixels
/ metrics.density);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
NavigationBar.java
128
float sw = metrics.
widthPixels
< metrics.heightPixels ?
129
metrics.
widthPixels
: metrics.heightPixels;
/packages/apps/Camera2/src/com/android/camera/filmstrip/
FilmstripDataAdapter.java
112
* @param
widthPixels
Width in pixels of rendered view.
115
public void suggestViewSizeBound(int
widthPixels
, int heightPixels);
/packages/apps/Settings/src/com/android/settings/
Display.java
72
mDisplayMetrics.
widthPixels
= metrics.
widthPixels
;
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
AndroidBvtHelper.java
122
metrics.
widthPixels
, metrics.heightPixels);
124
metrics.
widthPixels
, metrics.heightPixels);
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/
ResizeableActivity.java
55
" metricsSize=" + buildCoordString(metrics.
widthPixels
, metrics.heightPixels);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java
35
info.logicalWidth = mMetrics.
widthPixels
;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteDialogHelper.java
44
boolean isPortrait = metrics.
widthPixels
< metrics.heightPixels;
52
return (int) value.getFraction(metrics.
widthPixels
, metrics.
widthPixels
);
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
PlaybackOverlayActivity.java
180
int w = (int) (metrics.
widthPixels
* MEDIA_WIDTH);
182
int marginLeft = (int) (metrics.
widthPixels
* MEDIA_LEFT_MARGIN);
184
int marginRight = (int) (metrics.
widthPixels
* MEDIA_RIGHT_MARGIN);
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
ScreenDeviceInfo.java
39
store.addResult("width_pixels", metrics.
widthPixels
);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
MemorySizeCalculator.java
103
return displayMetrics.
widthPixels
;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java
38
outMetrics.
widthPixels
= width;
Completed in 919 milliseconds
1
2
3
4
5
6