Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurface.java382 float appScale = translator.applicationScale; in setCompatibilityTranslator() local
384 mCompatibleMatrix.setScale(appScale, appScale); in setCompatibilityTranslator()
DViewRootImpl.java1115 final float appScale = mAttachInfo.mApplicationScale; in invalidateRectOnScreen() local
1117 (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in invalidateRectOnScreen()
2701 final float appScale = mAttachInfo.mApplicationScale; in draw() local
2718 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in draw()
2727 appScale + ", width=" + mWidth + ", height=" + mHeight); in draw()
5663 float appScale = mAttachInfo.mApplicationScale; in relayoutWindow() local
5685 (int) (mView.getMeasuredWidth() * appScale + 0.5f), in relayoutWindow()
5686 (int) (mView.getMeasuredHeight() * appScale + 0.5f), in relayoutWindow()
DAccessibilityInteractionController.java814 private boolean shouldApplyAppScaleAndMagnificationSpec(float appScale, in shouldApplyAppScaleAndMagnificationSpec() argument
816 return (appScale != 1.0f || (spec != null && !spec.isNop())); in shouldApplyAppScaleAndMagnificationSpec()
/frameworks/base/core/java/android/provider/
DContactsContract.java8397 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent() local
8402 rect.left = (int) (pos[0] * appScale + 0.5f); in composeQuickContactsIntent()
8403 rect.top = (int) (pos[1] * appScale + 0.5f); in composeQuickContactsIntent()
8404 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f); in composeQuickContactsIntent()
8405 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f); in composeQuickContactsIntent()
/frameworks/base/core/java/android/widget/
DRemoteViews.java814 final float appScale = v.getContext().getResources() in getSourceBounds() local
820 rect.left = (int) (pos[0] * appScale + 0.5f); in getSourceBounds()
821 rect.top = (int) (pos[1] * appScale + 0.5f); in getSourceBounds()
822 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); in getSourceBounds()
823 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); in getSourceBounds()