Home
last modified time | relevance | path

Searched refs:applicationScale (Results 1 – 11 of 11) 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.java792 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
793 if (shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
928 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
929 if (!shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
938 if (applicationScale != 1.0f) { in applyAppScaleAndMagnificationSpecIfNeeded()
939 boundsInParent.scale(applicationScale); in applyAppScaleAndMagnificationSpecIfNeeded()
940 boundsInScreen.scale(applicationScale); in applyAppScaleAndMagnificationSpecIfNeeded()
961 textLocation.scale(applicationScale); in applyAppScaleAndMagnificationSpecIfNeeded()
DSurface.java530 float appScale = translator.applicationScale; in setCompatibilityTranslator()
DViewRootImpl.java1004 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.java2848 final float applicationScale = in createAccessibilityNodeInfoForNumberPicker() local
2849 getContext().getResources().getCompatibilityInfo().applicationScale; in createAccessibilityNodeInfoForNumberPicker()
2853 boundsInParent.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
2862 boundsInScreen.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
DSwitch.java238 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale); in Switch()
DRemoteViews.java917 .getCompatibilityInfo().applicationScale; in getSourceBounds()
DTextView.java1013 mTextPaint.setCompatibilityScaling(compat.applicationScale);
1016 mHighlightPaint.setCompatibilityScaling(compat.applicationScale);
DEditor.java6804 mTextView.getResources().getCompatibilityInfo().applicationScale); in CorrectionHighlighter()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1448 + ": app scale=" + r.getCompatibilityInfo().applicationScale in getDrawable()
1450 .getCompatibilityInfo().applicationScale, in getDrawable()