Searched refs:appScale (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 583 float appScale = translator.applicationScale; in setCompatibilityTranslator() local 585 mCompatibleMatrix.setScale(appScale, appScale); in setCompatibilityTranslator()
|
H A D | AccessibilityInteractionController.java | 992 private boolean shouldApplyAppScaleAndMagnificationSpec(float appScale, in shouldApplyAppScaleAndMagnificationSpec() argument 994 return (appScale != 1.0f || (spec != null && !spec.isNop())); in shouldApplyAppScaleAndMagnificationSpec()
|
H A D | ViewRootImpl.java | 1907 final float appScale = mAttachInfo.mApplicationScale; in invalidateRectOnScreen() local 1909 (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in invalidateRectOnScreen() 4436 final float appScale = mAttachInfo.mApplicationScale; in draw() local 4450 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in draw() 4459 appScale + ", width=" + mWidth + ", height=" + mHeight); in draw() 7881 float appScale = mAttachInfo.mApplicationScale; in relayoutWindow() local 7908 (int) (mView.getMeasuredWidth() * appScale + 0.5f), in relayoutWindow() 7909 (int) (mView.getMeasuredHeight() * appScale + 0.5f), viewVisibility, in relayoutWindow()
|
/aosp12/frameworks/base/core/java/android/provider/ |
H A D | ContactsContract.java | 8998 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent() local 9003 rect.left = (int) (pos[0] * appScale + 0.5f); in composeQuickContactsIntent() 9004 rect.top = (int) (pos[1] * appScale + 0.5f); in composeQuickContactsIntent() 9005 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f); in composeQuickContactsIntent() 9006 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f); in composeQuickContactsIntent()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 1284 final float appScale = v.getContext().getResources() in getSourceBounds() local 1290 rect.left = (int) (pos[0] * appScale + 0.5f); in getSourceBounds() 1291 rect.top = (int) (pos[1] * appScale + 0.5f); in getSourceBounds() 1292 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); in getSourceBounds() 1293 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); in getSourceBounds()
|