Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurface.java353 float appScale = translator.applicationScale; in setCompatibilityTranslator() local
355 mCompatibleMatrix.setScale(appScale, appScale); in setCompatibilityTranslator()
DViewRootImpl.java943 final float appScale = mAttachInfo.mApplicationScale; in invalidateChildInParent() local
945 (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in invalidateChildInParent()
2438 final float appScale = mAttachInfo.mApplicationScale; in draw() local
2469 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in draw()
2478 appScale + ", width=" + mWidth + ", height=" + mHeight); in draw()
5281 float appScale = mAttachInfo.mApplicationScale; in relayoutWindow() local
5303 (int) (mView.getMeasuredWidth() * appScale + 0.5f), in relayoutWindow()
5304 (int) (mView.getMeasuredHeight() * appScale + 0.5f), in relayoutWindow()
DAccessibilityInteractionController.java769 private boolean shouldApplyAppScaleAndMagnificationSpec(float appScale, in shouldApplyAppScaleAndMagnificationSpec() argument
771 return (appScale != 1.0f || (spec != null && !spec.isNop())); in shouldApplyAppScaleAndMagnificationSpec()
/frameworks/base/core/java/android/provider/
DContactsContract.java8166 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent() local
8171 rect.left = (int) (pos[0] * appScale + 0.5f); in composeQuickContactsIntent()
8172 rect.top = (int) (pos[1] * appScale + 0.5f); in composeQuickContactsIntent()
8173 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f); in composeQuickContactsIntent()
8174 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f); in composeQuickContactsIntent()
/frameworks/base/core/java/android/widget/
DRemoteViews.java735 final float appScale = v.getContext().getResources() in getSourceBounds() local
741 rect.left = (int) (pos[0] * appScale + 0.5f); in getSourceBounds()
742 rect.top = (int) (pos[1] * appScale + 0.5f); in getSourceBounds()
743 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); in getSourceBounds()
744 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); in getSourceBounds()