Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurface.java564 float appScale = translator.applicationScale; in setCompatibilityTranslator() local
566 mCompatibleMatrix.setScale(appScale, appScale); in setCompatibilityTranslator()
DAccessibilityInteractionController.java992 private boolean shouldApplyAppScaleAndMagnificationSpec(float appScale, in shouldApplyAppScaleAndMagnificationSpec() argument
994 return (appScale != 1.0f || (spec != null && !spec.isNop())); in shouldApplyAppScaleAndMagnificationSpec()
DViewRootImpl.java1854 final float appScale = mAttachInfo.mApplicationScale; in invalidateRectOnScreen() local
1856 (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in invalidateRectOnScreen()
4323 final float appScale = mAttachInfo.mApplicationScale; in draw() local
4337 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in draw()
4346 appScale + ", width=" + mWidth + ", height=" + mHeight); in draw()
7751 float appScale = mAttachInfo.mApplicationScale; in relayoutWindow() local
7778 (int) (mView.getMeasuredWidth() * appScale + 0.5f), in relayoutWindow()
7779 (int) (mView.getMeasuredHeight() * appScale + 0.5f), viewVisibility, in relayoutWindow()
/frameworks/base/core/java/android/provider/
DContactsContract.java8998 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()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1225 final float appScale = v.getContext().getResources() in getSourceBounds() local
1231 rect.left = (int) (pos[0] * appScale + 0.5f); in getSourceBounds()
1232 rect.top = (int) (pos[1] * appScale + 0.5f); in getSourceBounds()
1233 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); in getSourceBounds()
1234 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); in getSourceBounds()