Searched refs:mScreenWidth (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FloatingActionButtonController.java | 49 private int mScreenWidth; field in FloatingActionButtonController 73 mScreenWidth = screenWidth; in setScreenWidth() 128 if (mScreenWidth == 0) { in align() 211 result = mScreenWidth / 4; in getTranslationXForAlignment() 215 result = mScreenWidth / 2 in getTranslationXForAlignment()
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletCardCarousel.java | 58 private final int mScreenWidth; field in WalletCardCarousel 111 mScreenWidth = Math.min(metrics.widthPixels, metrics.heightPixels); in WalletCardCarousel() 112 mCardWidthPx = Math.round(mScreenWidth * cardScreenWidthRatio); in WalletCardCarousel() 115 mCardMarginPx = Math.round(mScreenWidth * CARD_MARGIN_RATIO); in WalletCardCarousel() 125 updatePadding(mScreenWidth); in WalletCardCarousel() 146 if (width != mScreenWidth) { in onLayout()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | NavHandleLongPressInputConsumer.java | 53 private final float mScreenWidth; field in NavHandleLongPressInputConsumer 74 mScreenWidth = DisplayController.INSTANCE.get(context).getInfo().currentSize.x; in NavHandleLongPressInputConsumer() 244 float distFromMiddle = Math.abs(mScreenWidth / 2.0f - x); in isInNavBarHorizontalArea()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | BackGestureTutorialController.java | 181 float normalizedSwipeProgress = Math.abs(diffx / mScreenWidth); in onBackGestureProgress() 191 mExitingAppView.setPivotX(isLeftGesture ? mScreenWidth : 0); in onBackGestureProgress()
|
D | TutorialController.java | 96 protected float mScreenWidth; field in TutorialController 174 mScreenWidth = mTutorialFragment.getDeviceProfile().widthPx; in TutorialController() 234 float scaleFactor = mScreenWidth / animationBoundsRect.width(); in createScalingMatrix() 636 mExitingAppRect.set(0, 0, (int) mScreenWidth, (int) mScreenHeight); in resetViewsForBackGesture()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModule.java | 334 private int mScreenWidth; field in CaptureModule 1088 width = mScreenWidth; 1253 if (mScreenHeight == incomingHeight && mScreenWidth == incomingWidth && 1259 mScreenWidth = incomingWidth; 1288 new Size(mScreenWidth, mScreenHeight),
|
/packages/apps/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/ |
D | TiasSessionImpl.java | 105 private int mScreenWidth; field in TiasSessionImpl 340 setVideoBounds(new Rect(0, 0, mScreenWidth, mScreenHeight)); in onKeyDown() 508 mScreenWidth = wm.getDefaultDisplay().getWidth(); in initSampleView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 80 private int mScreenWidth; field in GLES11Canvas 130 mScreenWidth = width; in setSize() 855 setSize(mScreenWidth, mScreenHeight); in setRenderTarget()
|
D | GLES20Canvas.java | 154 private int mScreenWidth; field in GLES20Canvas 354 mScreenWidth = width; in setSize() 865 setSize(mScreenWidth, mScreenHeight); in setRenderTarget()
|