Home
last modified time | relevance | path

Searched refs:applicationScale (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java98 public final float applicationScale; field in CompatibilityInfo
154 applicationScale = 1.0f; in CompatibilityInfo()
244 applicationScale = 1.0f; in CompatibilityInfo()
248 applicationScale = DisplayMetrics.DENSITY_DEVICE in CompatibilityInfo()
250 applicationInvertedScale = 1.0f / applicationScale; in CompatibilityInfo()
262 applicationScale = scale; in CompatibilityInfo()
313 final public float applicationScale; field in CompatibilityInfo.Translator
321 Translator(float applicationScale, float applicationInvertedScale) { in Translator() argument
322 this.applicationScale = applicationScale; in Translator()
327 this(CompatibilityInfo.this.applicationScale, in Translator()
[all …]
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java791 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
792 if (shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
865 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
866 if (!shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
875 if (applicationScale != 1.0f) { in applyAppScaleAndMagnificationSpecIfNeeded()
876 boundsInParent.scale(applicationScale); in applyAppScaleAndMagnificationSpecIfNeeded()
877 boundsInScreen.scale(applicationScale); in applyAppScaleAndMagnificationSpecIfNeeded()
898 textLocation.scale(applicationScale); in applyAppScaleAndMagnificationSpecIfNeeded()
DSurface.java498 float appScale = translator.applicationScale; in setCompatibilityTranslator()
DViewRootImpl.java866 mTranslator == null ? 1.0f : mTranslator.applicationScale;
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java108 tpaint.setCompatibilityScaling(getResources().getCompatibilityInfo().applicationScale); in onCreate()
/frameworks/base/core/java/android/widget/
DNumberPicker.java2845 final float applicationScale = in createAccessibilityNodeInfoForNumberPicker() local
2846 getContext().getResources().getCompatibilityInfo().applicationScale; in createAccessibilityNodeInfoForNumberPicker()
2850 boundsInParent.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
2859 boundsInScreen.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
DSwitch.java239 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale); in Switch()
DRemoteViews.java908 .getCompatibilityInfo().applicationScale; in getSourceBounds()
DTextView.java993 mTextPaint.setCompatibilityScaling(compat.applicationScale);
996 mHighlightPaint.setCompatibilityScaling(compat.applicationScale);
DEditor.java6295 mTextView.getResources().getCompatibilityInfo().applicationScale);
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1307 + ": app scale=" + r.getCompatibilityInfo().applicationScale in getDrawable()
1309 .getCompatibilityInfo().applicationScale, in getDrawable()
/frameworks/base/core/java/android/provider/
DContactsContract.java8571 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent()