Home
last modified time | relevance | path

Searched refs:mInner (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/
DRemoteComposePlayer.java34 private RemoteComposeCanvas mInner; field in RemoteComposePlayer
60 mInner.setDebug(true); in setDebug()
62 mInner.setDebug(false); in setDebug()
73 mInner.setDocument(value); in setDocument()
80 mInner.setDocument(null); in setDocument()
93 if (!(mInner.getParent() instanceof HorizontalScrollView)) { in applyContentBehavior()
94 ((ViewGroup) mInner.getParent()).removeView(mInner); in applyContentBehavior()
103 horizontalScrollView.addView(mInner, layoutParamsInner); in applyContentBehavior()
111 if (!(mInner.getParent() instanceof ScrollView)) { in applyContentBehavior()
112 ((ViewGroup) mInner.getParent()).removeView(mInner); in applyContentBehavior()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DTileDrawable.java38 private final Drawable mInner; field in TileDrawable
47 mInner = inner != null ? inner.mutate() : null; in TileDrawable()
51 mInner.setCallback(this); in TileDrawable()
72 return mInner; in getInnerDrawable()
79 if (mInner == null) { in onBoundsChange()
84 mInner.setBounds(0, 0, 0, 0); in onBoundsChange()
88 mInner.setBounds(l, t, l + mInnerWidth, t + mInnerHeight); in onBoundsChange()
101 if (mInner != null) mInner.draw(canvas); in draw()
117 if (mInner != null) mInner.setColorFilter(cf); in setColorFilter()
135 if (mInner != null) mInner.setVisible(visible, restart); in setVisible()
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DZeroJankProxy.java93 private final Callback mInner; field in ZeroJankProxy
97 mInner = inner; in ZeroJankProxy()
134 offload(() -> mInner.addClient(client, inputConnection, selfReportedDisplayId)); in addClient()
139 return mInner.getCurrentInputMethodInfoAsUser(userId); in getCurrentInputMethodInfoAsUser()
145 return mInner.getInputMethodList(userId, directBootAwareness); in getInputMethodList()
150 return mInner.getEnabledInputMethodList(userId); in getEnabledInputMethodList()
156 return mInner.getInputMethodListLegacy(userId, directBootAwareness); in getInputMethodListLegacy()
161 return mInner.getEnabledInputMethodListLegacy(userId); in getEnabledInputMethodListLegacy()
167 return mInner.getEnabledInputMethodSubtypeList(imiId, allowsImplicitlyEnabledSubtypes, in getEnabledInputMethodSubtypeList()
173 return mInner.getLastInputMethodSubtype(userId); in getLastInputMethodSubtype()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapterTest.java43 private DozeMachine.Service mInner; field in DozeSuspendScreenStatePreventingAdapterTest
49 mInner = mock(DozeMachine.Service.class); in setup()
50 mWrapper = new DozeSuspendScreenStatePreventingAdapter(mInner, mExecutor); in setup()
56 verify(mInner).finish(); in forwards_finish()
62 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on()
68 verify(mInner).setDozeScreenState(Display.STATE_OFF); in forwards_setDozeScreenState_off()
74 verify(mInner).setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
80 verify(mInner).setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze_suspend()
86 verify(mInner).setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_on_suspend()
92 verify(mInner).requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
[all …]
DDozeScreenStatePreventingAdapterTest.java43 private DozeMachine.Service mInner; field in DozeScreenStatePreventingAdapterTest
49 mInner = mock(DozeMachine.Service.class); in setup()
51 mInner, in setup()
59 verify(mInner).finish(); in forwards_finish()
65 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on()
71 verify(mInner).setDozeScreenState(Display.STATE_OFF); in forwards_setDozeScreenState_off()
77 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_doze()
83 verify(mInner).setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
89 verify(mInner).requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
98 DozeScreenStatePreventingAdapter.wrapIfNeeded(mInner, params, mExecutor) in wrapIfNeeded_needed()
[all …]
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DRenameClassAdapterTest.java32 private RenameClassAdapter mInner; field in RenameClassAdapterTest
40 mInner = new RenameClassAdapter(null, // cv in setUp()
63 assertEquals("Lcom.package.MyClass;", mInner.renameTypeDesc("Lcom.package.MyClass;")); in testRenameTypeDesc()
67 assertEquals("Lorg.blah.New$Inner;", mInner.renameTypeDesc("Lcom.pack.Old$Inner;")); in testRenameTypeDesc()
70 assertEquals("Lorg.blah.New$Other;", mInner.renameTypeDesc("Lcom.pack.Old$Other;")); in testRenameTypeDesc()
76 assertEquals("[Lorg.blah.New;", mInner.renameTypeDesc("[Lcom.pack.Old;")); in testRenameTypeDesc()
77 assertEquals("[[Lorg.blah.New;", mInner.renameTypeDesc("[[Lcom.pack.Old;")); in testRenameTypeDesc()
100 assertEquals("org.blah.New$Other", mInner.renameInternalType("com.pack.Old$Other")); in testRenameInternalType()
101 assertEquals("org.blah.New$Other", mInner.renameInternalType("com.pack.Old$Other")); in testRenameInternalType()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/wakelock/
DClientTrackingWakeLockTest.kt39 lateinit var mInner: PowerManager.WakeLock variable in com.android.systemui.util.wakelock.ClientTrackingWakeLockTest
43 mInner = in setUp()
45 mWakeLock = ClientTrackingWakeLock(mInner, null, 20000) in setUp()
50 mInner.setReferenceCounted(false) in tearDown()
51 mInner.release() in tearDown()
56 Assert.assertFalse(mInner.isHeld) in createPartialInner_notHeldYet()
62 Assert.assertTrue(mInner.isHeld) in wakeLock_acquire()
69 Assert.assertFalse(mInner.isHeld) in wakeLock_release()
78 Assert.assertTrue(mInner.isHeld) in wakeLock_acquiredReleasedMultipleSources_stillHeld()
80 Assert.assertFalse(mInner.isHeld) in wakeLock_acquiredReleasedMultipleSources_stillHeld()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockTest.java63 PowerManager.WakeLock mInner; field in WakeLockTest
67 mInner = WakeLock.createWakeLockInner(mContext, in setUp()
70 mWakeLock = WakeLock.wrap(mInner, null, 20000); in setUp()
75 mInner.setReferenceCounted(false); in tearDown()
76 mInner.release(); in tearDown()
81 assertFalse(mInner.isHeld()); in createPartialInner_notHeldYet()
87 assertTrue(mInner.isHeld()); in wakeLock_acquire()
94 assertFalse(mInner.isHeld()); in wakeLock_release()
105 assertTrue(mInner.isHeld()); in wakeLock_wrap()
111 assertFalse(mInner.isHeld()); in wakeLock_wrap()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java34 private final DisplayCutout mInner; field in WmDisplayCutout
38 mInner = inner; in WmDisplayCutout()
65 return computeSafeInsets(mInner, width, height); in computeSafeInsets()
69 return mInner; in getDisplayCutout()
78 return Objects.equals(mInner, that.mInner) && in equals()
84 return Objects.hash(mInner, mFrameSize); in hashCode()
89 return "WmDisplayCutout{" + mInner + ", mFrameSize=" + mFrameSize + '}'; in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DAsyncSensorManager.java57 private final SensorManager mInner; field in AsyncSensorManager
65 mInner = sensorManager; in AsyncSensorManager()
67 mSensorCache = mInner.getSensorList(Sensor.TYPE_ALL); in AsyncSensorManager()
82 return mInner.getSensorList(Sensor.TYPE_ALL); in getFullDynamicSensorList()
90 if (!mInner.registerListener(listener, sensor, delayUs, maxReportLatencyUs, handler)) { in registerListenerImpl()
99 return mInner.flush(listener); in flushImpl()
121 mExecutor.execute(() -> mInner.registerDynamicSensorCallback(callback, handler)); in registerDynamicSensorCallbackImpl()
126 mExecutor.execute(() -> mInner.unregisterDynamicSensorCallback(callback)); in unregisterDynamicSensorCallbackImpl()
138 if (!mInner.requestTriggerSensor(listener, sensor)) { in requestTriggerSensorImpl()
151 if (!mInner.cancelTriggerSensor(listener, sensor)) { in cancelTriggerSensorImpl()
[all …]
/frameworks/base/core/java/android/os/
DRevocableFileDescriptor.java46 private FileDescriptor mInner; field in RevocableFileDescriptor
88 mInner = fd; in init()
114 IoUtils.closeQuietly(mInner); in revoke()
139 return Os.fstat(mInner).st_size;
148 n += Os.pread(mInner, data, n, size - n, offset + n);
163 n += Os.pwrite(mInner, data, n, size - n, offset + n);
176 Os.fsync(mInner);
183 IoUtils.closeQuietly(mInner);
DRedactingFileDescriptor.java49 private FileDescriptor mInner = null; field in RedactingFileDescriptor
60 mInner = Os.open(file.getAbsolutePath(), in RedactingFileDescriptor()
68 IoUtils.closeQuietly(mInner); in RedactingFileDescriptor()
152 return Os.fstat(mInner).st_size;
160 final int res = Os.pread(mInner, data, n, size - n, offset + n);
197 final int res = Os.pwrite(mInner, data, n, size - n, offset + n);
216 Os.fsync(mInner);
222 IoUtils.closeQuietly(mInner);
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DSettableWakeLock.java23 private final WakeLock mInner; field in SettableWakeLock
31 mInner = inner; in SettableWakeLock()
42 mInner.acquire(mWhy); in setAcquired()
44 mInner.release(mWhy); in setAcquired()
DDelayedWakeLock.java40 private final WakeLock mInner; field in DelayedWakeLock
47 mInner = WakeLock.createPartial(context, logger, tag); in DelayedWakeLock()
54 mInner.acquire(why); in acquire()
59 mHandler.postDelayed(() -> mInner.release(why), RELEASE_DELAY_MS); in release()
69 return TO_STRING_PREFIX + mInner; in toString()
/frameworks/base/core/java/android/view/
DDisplayCutout.java1433 private DisplayCutout mInner; field in ParcelableWrapper
1440 mInner = cutout; in ParcelableWrapper()
1450 writeCutoutToParcel(mInner, out, flags); in writeToParcel()
1488 mInner = readCutoutFromParcel(in); in readFromParcel()
1540 return mInner; in get()
1544 mInner = cutout.get(); in set()
1548 mInner = cutout; in set()
1552 final Rect safeInsets = mInner.getSafeInsets(); in scale()
1554 final Bounds bounds = new Bounds(mInner.mBounds.mRects, true); in scale()
1556 final Rect waterfallInsets = mInner.mWaterfallInsets.toRect(); in scale()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayMapperTest.java753 foldableDisplayDevices.mInner.setState(STATE_OFF); in testWaitForSleepWhenFoldSettingSleep()
757 assertDisplayEnabled(foldableDisplayDevices.mInner); in testWaitForSleepWhenFoldSettingSleep()
769 foldableDisplayDevices.mInner.setState(STATE_OFF); in testSwapDeviceStateWithDelayWhenFoldSettingSleep()
774 assertDisplayDisabled(foldableDisplayDevices.mInner); in testSwapDeviceStateWithDelayWhenFoldSettingSleep()
789 foldableDisplayDevices.mInner.setState(STATE_OFF); in testDisplaySwappedAfterDeviceStateChange_windowManagerIsNotified()
824 foldableDisplayDevices.mInner.setState(STATE_OFF); in testDoNotWaitForSleepWhenFoldSettingStayAwake()
828 assertDisplayDisabled(foldableDisplayDevices.mInner); in testDoNotWaitForSleepWhenFoldSettingStayAwake()
840 foldableDisplayDevices.mInner.setState(STATE_OFF); in testDoNotWaitForSleepWhenFoldSettingSelectiveStayAwake()
844 assertDisplayDisabled(foldableDisplayDevices.mInner); in testDoNotWaitForSleepWhenFoldSettingSelectiveStayAwake()
856 foldableDisplayDevices.mInner.setState(STATE_OFF); in testWaitForSleepWhenGracePeriodSettingDisabled()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java67 private final Rect mInner = new Rect(); field in Letterbox
123 mInner.set(inner); in layout()
145 return mInner; in getInnerFrame()
192 mInner.setEmpty(); in destroy()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java118 final Rect mInner = new Rect(); field in LetterboxTest.LetterboxLayoutVerifier
135 mInner.set(left, top, right, bottom); in setInner()
136 mLetterbox.layout(mOuter, mInner, mSurfaceOrig); in setInner()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java2537 private final IPinItemRequest mInner; field in LauncherApps.PinItemRequest
2543 mInner = inner; in PinItemRequest()
2568 return mInner.getShortcutInfo(); in getShortcutInfo()
2589 final AppWidgetProviderInfo info = mInner.getAppWidgetProviderInfo(); in getAppWidgetProviderInfo()
2611 return mInner.getExtras(); in getExtras()
2624 return mInner.isValid(); in isValid()
2641 return mInner.accept(options); in accept()
2662 mInner = IPinItemRequest.Stub.asInterface(source.readStrongBinder()); in PinItemRequest()
2668 dest.writeStrongBinder(mInner.asBinder()); in writeToParcel()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12200 Landroid/content/pm/LauncherApps$PinItemRequest;->mInner:Landroid/content/pm/IPinItemRequest;
37827 Landroid/os/RevocableFileDescriptor;->mInner:Ljava/io/FileDescriptor;
59110 Landroid/view/DisplayCutout$ParcelableWrapper;->mInner:Landroid/view/DisplayCutout;