/packages/apps/Nfc/src/com/android/nfc/ |
SendUi.java | 556 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; 588 Bitmap ss = Bitmap.createBitmap(mDisplayMetrics.widthPixels,
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 84 addResult(RESOLUTION, String.format("%sx%s", metrics.widthPixels, metrics.heightPixels));
|
/frameworks/base/core/java/android/app/ |
MediaRouteButton.java | 218 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPopupHelper.java | 92 mPopupMaxWidth = Math.max(res.getDisplayMetrics().widthPixels / 2,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuPopupHelper.java | 85 mPopupMaxWidth = Math.max(res.getDisplayMetrics().widthPixels / 2,
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectsActivity.java | 98 final int widthDip = (int) (displayMetrics.widthPixels / displayMetrics.scaledDensity);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
AudioTrackView.java | 130 mScreenWidth = metrics.widthPixels;
|
/external/replicaisland/src/com/replica/replicaisland/ |
AndouKun.java | 133 if (dm.widthPixels != defaultWidth) { 134 float ratio =((float)dm.widthPixels) / dm.heightPixels; 170 mGame.bootstrap(this, dm.widthPixels, dm.heightPixels, defaultWidth, defaultHeight, mDifficulty);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SystemUIModes.java | 165 return String.format("DisplayMetrics = (%d x %d)", dm.widthPixels, dm.heightPixels);
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactDetailFragment.java | 526 final int width = displayMetrics.widthPixels;
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | [all...] |
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 385 outMetrics.noncompatWidthPixels = outMetrics.widthPixels = width;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsVerticalScrollView.java | 358 MeasureSpec.makeMeasureSpec(dm.widthPixels, MeasureSpec.AT_MOST);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteButton.java | 313 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/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 92 int maxPixels = Math.max(metrics.heightPixels, metrics.widthPixels);
|
/frameworks/base/core/java/android/widget/ |
ListPopupWindow.java | [all...] |
ActivityChooserView.java | 280 mListPopupMaxWidth = Math.max(resources.getDisplayMetrics().widthPixels / 2,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ListPopupWindow.java | [all...] |
ActivityChooserView.java | 252 mListPopupMaxWidth = Math.max(resources.getDisplayMetrics().widthPixels / 2,
|
/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...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 132 metrics.widthPixels = width;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 500 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
|
/frameworks/base/media/java/android/media/ |
RemoteController.java | 134 mMaxBitmapDimension = Math.max(dm.widthPixels, dm.heightPixels); [all...] |