/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
MainFragment.java | 204 int width = mMetrics.widthPixels;
|
MovieDetailsFragment.java | 166 .into(new SimpleTarget<GlideDrawable>(mMetrics.widthPixels, mMetrics.heightPixels) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SystemUIModes.java | 165 return String.format("DisplayMetrics = (%d x %d)", dm.widthPixels, dm.heightPixels);
|
/frameworks/base/core/java/android/app/ |
MediaRouteButton.java | 224 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
ResourcesManager.java | 175 config.screenWidthDp = (int) (dm.widthPixels / dm.density); 178 if (dm.widthPixels > dm.heightPixels) { [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItemView.java | 281 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 116 metrics.widthPixels = metrics.noncompatWidthPixels = hardwareConfig.getScreenWidth();
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
ActionMenuItemView.java | 263 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
CompactPhotoSelectionFragment.java | 315 final float numColumns = outMetrics.widthPixels /
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
SendUi.java | 597 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; 629 Bitmap ss = Bitmap.createBitmap(mDisplayMetrics.widthPixels, [all...] |
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
ConfigGenerator.java | 220 double xin = metrics.widthPixels / metrics.xdpi; 271 xDimension.appendChild(doc.createTextNode(Integer.toString(metrics.widthPixels)));
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | [all...] |
/frameworks/base/core/java/android/view/ |
Display.java | 488 outSize.x = mTempMetrics.widthPixels; 503 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); 911 mCachedAppWidthCompat = mTempMetrics.widthPixels; [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityGestureDispatchTest.java | 358 final float centerX = metrics.widthPixels / (2.0f * magnificationFactor) - 1.0f;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 492 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/frameworks/base/docs/html/training/volley/ |
request.jd | 214 final int screenWidth = displayMetrics.widthPixels;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ScrollingTabContainerView.java | 527 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteButton.java | 318 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels;
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
DevCameraActivity.java | 299 return metrics.widthPixels;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 92 int maxPixels = Math.max(metrics.heightPixels, metrics.widthPixels);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsContainerView.java | 299 getResources().getDisplayMetrics().widthPixels, MeasureSpec.AT_MOST);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PicasaSource.java | 100 return Math.max(metrics.heightPixels, metrics.widthPixels);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 332 dm.put("widthPixels", data.widthPixels); [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraManager.java | [all...] |