Searched refs:appScale (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | Surface.java | 496 float appScale = translator.applicationScale; in setCompatibilityTranslator() local 498 mCompatibleMatrix.setScale(appScale, appScale); in setCompatibilityTranslator()
|
D | ViewRootImpl.java | 1502 final float appScale = mAttachInfo.mApplicationScale; in invalidateRectOnScreen() local 1504 (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in invalidateRectOnScreen() 3515 final float appScale = mAttachInfo.mApplicationScale; in draw() local 3529 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); in draw() 3538 appScale + ", width=" + mWidth + ", height=" + mHeight); in draw() 6904 float appScale = mAttachInfo.mApplicationScale; in relayoutWindow() local 6931 (int) (mView.getMeasuredWidth() * appScale + 0.5f), in relayoutWindow() 6932 (int) (mView.getMeasuredHeight() * appScale + 0.5f), viewVisibility, in relayoutWindow()
|
D | AccessibilityInteractionController.java | 914 private boolean shouldApplyAppScaleAndMagnificationSpec(float appScale, in shouldApplyAppScaleAndMagnificationSpec() argument 916 return (appScale != 1.0f || (spec != null && !spec.isNop())); in shouldApplyAppScaleAndMagnificationSpec()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 8565 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent() local 8570 rect.left = (int) (pos[0] * appScale + 0.5f); in composeQuickContactsIntent() 8571 rect.top = (int) (pos[1] * appScale + 0.5f); in composeQuickContactsIntent() 8572 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f); in composeQuickContactsIntent() 8573 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f); in composeQuickContactsIntent()
|