Home
last modified time | relevance | path

Searched refs:mMagnificationSpec (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DWindowInfoTest.java134 assertTrue(windowinfo.mMagnificationSpec.isNop()); in assertDefaultValue()
145 equality &= w1.mMagnificationSpec.equals(w2.mMagnificationSpec); in areWindowsEqual()
168 windowInfo.mMagnificationSpec.scale = 2.0f; in initTestWindowInfo()
169 windowInfo.mMagnificationSpec.offsetX = 100f; in initTestWindowInfo()
170 windowInfo.mMagnificationSpec.offsetY = 200f; in initTestWindowInfo()
/frameworks/base/core/java/android/view/
DWindowInfo.java62 public MagnificationSpec mMagnificationSpec = new MagnificationSpec(); field in WindowInfo
104 window.mMagnificationSpec.setTo(other.mMagnificationSpec); in obtain()
142 mMagnificationSpec.writeToParcel(parcel, flags); in writeToParcel()
167 builder.append(", mMagnificationSpec=").append(mMagnificationSpec); in toString()
195 mMagnificationSpec = MagnificationSpec.CREATOR.createFromParcel(parcel); in initFromParcel()
217 mMagnificationSpec.clear(); in clear()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java642 private final MagnificationSpec mMagnificationSpec = new MagnificationSpec(); field in AccessibilityController.DisplayMagnifier
703 mMagnificationSpec.initialize(spec.scale, spec.offsetX, spec.offsetY); in updateMagnificationSpec()
705 mMagnificationSpec.clear(); in updateMagnificationSpec()
884 rect.offset((int) -mMagnificationSpec.offsetX, (int) -mMagnificationSpec.offsetY); in getMagnifiedFrameInContentCoords()
885 rect.scale(1.0f / mMagnificationSpec.scale); in getMagnifiedFrameInContentCoords()
903 if (mMagnificationSpec != null && !mMagnificationSpec.isNop()) { in getMagnificationSpecForWindow()
908 return mMagnificationSpec; in getMagnificationSpecForWindow()
923 return mMagnificationSpec.scale > 1.0f; in isMagnifying()
DDisplayContent.java657 private MagnificationSpec mMagnificationSpec; field in DisplayContent
4179 final boolean allowAttachToApp = (mMagnificationSpec == null); in shouldImeAttachedToApp()
5451 mMagnificationSpec = spec; in applyMagnificationSpec()
5453 mMagnificationSpec = null; in applyMagnificationSpec()
5467 if (mMagnificationSpec != null) { in reapplyMagnificationSpec()
5468 applyMagnificationSpec(getPendingTransaction(), mMagnificationSpec); in reapplyMagnificationSpec() local
7148 return mMagnificationSpec; in getMagnificationSpec()
DAccessibilityWindowsPopulator.java722 final MagnificationSpec spec = instance.mWindowInfo.mMagnificationSpec; in initializeData()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java625 spec.setTo(windowInfo.mMagnificationSpec); in getWindowTransformationMatrixAndMagnificationSpec()