Home
last modified time | relevance | path

Searched refs:appScale (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/view/
DSurface.java671 float appScale = translator.applicationScale; in setCompatibilityTranslator() local
673 mCompatibleMatrix.setScale(appScale, appScale); in setCompatibilityTranslator()
DViewRootImpl.java2557 final float appScale = mAttachInfo.mApplicationScale; in invalidateRectOnScreen() local
2559 (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in invalidateRectOnScreen()
5546 final float appScale = mAttachInfo.mApplicationScale; in draw() local
5560 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in draw()
5569 appScale + ", width=" + mWidth + ", height=" + mHeight); in draw()
9230 float appScale = mAttachInfo.mApplicationScale; in relayoutWindow() local
9251 final int requestedWidth = (int) (measuredWidth * appScale + 0.5f); in relayoutWindow()
9252 final int requestedHeight = (int) (measuredHeight * appScale + 0.5f); in relayoutWindow()
DAccessibilityInteractionController.java1036 private boolean shouldApplyAppScaleAndMagnificationSpec(float appScale, in shouldApplyAppScaleAndMagnificationSpec() argument
1038 return (appScale != 1.0f || (spec != null && !spec.isNop())); in shouldApplyAppScaleAndMagnificationSpec()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java475 final float appScale = compatScale != null in compatibilityInfoForPackageLocked() local
478 final float densityScale = compatScale != null ? compatScale.mDensityScaleFactor : appScale; in compatibilityInfoForPackageLocked()
481 config.smallestScreenWidthDp, forceCompat, appScale, densityScale); in compatibilityInfoForPackageLocked()
/frameworks/base/core/java/android/provider/
DContactsContract.java9206 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent() local
9211 rect.left = (int) (pos[0] * appScale + 0.5f); in composeQuickContactsIntent()
9212 rect.top = (int) (pos[1] * appScale + 0.5f); in composeQuickContactsIntent()
9213 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f); in composeQuickContactsIntent()
9214 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f); in composeQuickContactsIntent()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1725 final float appScale = v.getContext().getResources() in getSourceBounds() local
1731 rect.left = (int) (pos[0] * appScale + 0.5f); in getSourceBounds()
1732 rect.top = (int) (pos[1] * appScale + 0.5f); in getSourceBounds()
1733 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); in getSourceBounds()
1734 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); in getSourceBounds()