/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | FloatingActionButtonController.java | 44 private int screenWidth; field in FloatingActionButtonController 64 public void setScreenWidth(int screenWidth) { in setScreenWidth() argument 65 this.screenWidth = screenWidth; in setScreenWidth() 129 if (screenWidth == 0) { in align() 178 result = screenWidth / 4; in getTranslationXForAlignment() 182 result = screenWidth / 2 - floatingActionButtonWidth / 2 - floatingActionButtonMarginRight; in getTranslationXForAlignment()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsOrientedState.java | 520 float screenWidth, float screenHeight, Matrix out) { in postDisplayRotation() argument 526 out.postTranslate(0, screenWidth); in postDisplayRotation() 530 out.postTranslate(screenHeight, screenWidth); in postDisplayRotation() 543 float screenWidth, float screenHeight, Matrix out) { in preDisplayRotation() argument 549 out.postTranslate(screenWidth, 0); in preDisplayRotation() 553 out.postTranslate(screenHeight, screenWidth); in preDisplayRotation()
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletPopupMenu.java | 69 int screenWidth = Resources.getSystem().getDisplayMetrics().widthPixels; in measureContentWidth() local 71 int width = Math.round(screenWidth * 0.5f); in measureContentWidth() 82 int maxWidth = Math.round(screenWidth * 0.9f); in measureContentWidth()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 966 int screenWidth; in chooseBestPictureSize() local 978 screenWidth = displayMetrics.widthPixels; in chooseBestPictureSize() 981 screenWidth = displayMetrics.heightPixels; in chooseBestPictureSize() 990 final float scaleFactor = getScaleFactorForMaxAllowedSize(screenWidth, screenHeight, in chooseBestPictureSize() 992 screenWidth *= scaleFactor; in chooseBestPictureSize() 997 screenWidth / (float) screenHeight); in chooseBestPictureSize()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | CropView.java | 198 float screenWidth = getWidth() / mRenderer.scale; in setParallaxOffset() local 199 mCenterX = screenWidth / 2 + offset * (crop.width() - screenWidth) + crop.left; in setParallaxOffset()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/ |
D | VisibleBoundsSimulator.java | 107 int screenWidth = displayMetrics.widthPixels; in applyDisplayOverlay() local 136 params.width = (int) (overlayWidth == 0 ? screenWidth : overlayHeight); in applyDisplayOverlay()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FloatingActionButtonController.java | 72 public void setScreenWidth(int screenWidth) { in setScreenWidth() argument 73 mScreenWidth = screenWidth; in setScreenWidth()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabs.java | 94 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local 100 (screenPos[0] + width / 2) - screenWidth / 2, screenPos[1] + height); in onLongClick()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 291 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local 299 (screenPos[0] + width / 2) - screenWidth / 2, in onLongClick()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | GrantPermissionsViewHandlerImpl.java | 106 int screenWidth = metrics.widthPixels; in updateWindowAttributes() local 113 outLayoutParams.width = screenWidth - marginSidePx * 2; in updateWindowAttributes()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | PreviewPager.java | 114 int screenWidth = mViewPager.getResources().getDisplayMetrics().widthPixels; in PreviewPager() local 116 hMargin = Math.max(hMargin, screenWidth/8); in PreviewPager()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Display.java | 31 public static float screenWidth(Activity activity) { in screenWidth() method in Display
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | FullScreenAnimation.java | 363 int screenWidth = screenSize.x; in startAnimation() local 370 screenWidth / (float) mTouchForwardingLayout.getWidth(), in startAnimation()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | HeaderView.java | 68 int width = (int) Display.screenWidth((Activity)context); in HeaderView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DrawerController.java | 86 float width = Display.screenWidth(activity) - Display.actionBarHeight(activity); in calculateDrawerWidth()
|
/packages/apps/Dialer/java/com/android/dialer/app/ |
D | DialtactsActivity.java | 461 int screenWidth = parentLayout.getWidth(); in onCreate() 462 floatingActionButtonController.setScreenWidth(screenWidth); in onCreate()
|