Home
last modified time | relevance | path

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

/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/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapterTest.java38 private DozeMachine.Service mInner; field in DozeSuspendScreenStatePreventingAdapterTest
43 mInner = mock(DozeMachine.Service.class); in setup()
44 mWrapper = new DozeSuspendScreenStatePreventingAdapter(mInner); in setup()
50 verify(mInner).finish(); in forwards_finish()
56 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on()
62 verify(mInner).setDozeScreenState(Display.STATE_OFF); in forwards_setDozeScreenState_off()
68 verify(mInner).setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
74 verify(mInner).setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze_suspend()
80 verify(mInner).setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_on_suspend()
86 verify(mInner).requestWakeUp(); in forwards_requestWakeUp()
[all …]
DDozeScreenStatePreventingAdapterTest.java38 private DozeMachine.Service mInner; field in DozeScreenStatePreventingAdapterTest
43 mInner = mock(DozeMachine.Service.class); in setup()
44 mWrapper = new DozeScreenStatePreventingAdapter(mInner); in setup()
50 verify(mInner).finish(); in forwards_finish()
56 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on()
62 verify(mInner).setDozeScreenState(Display.STATE_OFF); in forwards_setDozeScreenState_off()
68 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_doze()
74 verify(mInner).setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
80 verify(mInner).requestWakeUp(); in forwards_requestWakeUp()
89 DozeScreenStatePreventingAdapter.wrapIfNeeded(mInner, params).getClass()); in wrapIfNeeded_needed()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockTest.java40 PowerManager.WakeLock mInner; field in WakeLockTest
44 mInner = WakeLock.createPartialInner(mContext, WakeLockTest.class.getName()); in setUp()
45 mWakeLock = WakeLock.wrap(mInner, 20000); in setUp()
50 mInner.setReferenceCounted(false); in tearDown()
51 mInner.release(); in tearDown()
56 assertFalse(mInner.isHeld()); in createPartialInner_notHeldYet()
62 assertTrue(mInner.isHeld()); in wakeLock_acquire()
69 assertFalse(mInner.isHeld()); in wakeLock_release()
80 assertTrue(mInner.isHeld()); in wakeLock_wrap()
86 assertFalse(mInner.isHeld()); in wakeLock_wrap()
/frameworks/layoutlib/create/tests/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/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java36 private final DisplayCutout mInner; field in WmDisplayCutout
40 mInner = inner; in WmDisplayCutout()
62 DisplayCutout newInner = mInner.inset(insetLeft, insetTop, insetRight, insetBottom); in inset()
64 if (mInner == newInner) { in inset()
92 if (frame.left >= mInner.getSafeInsetLeft() in calculateRelativeTo()
93 && frame.top >= mInner.getSafeInsetTop() in calculateRelativeTo()
94 && insetRight >= mInner.getSafeInsetRight() in calculateRelativeTo()
95 && insetBottom >= mInner.getSafeInsetBottom()) { in calculateRelativeTo()
98 if (mInner.isEmpty()) { in calculateRelativeTo()
111 return computeSafeInsets(mInner, width, height); in computeSafeInsets()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java57 private final SensorManager mInner; field in AsyncSensorManager
70 mInner = sensorManager; in AsyncSensorManager()
73 mSensorCache = mInner.getSensorList(Sensor.TYPE_ALL); in AsyncSensorManager()
85 return mInner.getSensorList(Sensor.TYPE_ALL); in getFullDynamicSensorList()
93 if (!mInner.registerListener(listener, sensor, delayUs, maxReportLatencyUs, handler)) { in registerListenerImpl()
102 return mInner.flush(listener); in flushImpl()
124 mHandler.post(() -> mInner.registerDynamicSensorCallback(callback, handler)); in registerDynamicSensorCallbackImpl()
129 mHandler.post(() -> mInner.unregisterDynamicSensorCallback(callback)); in unregisterDynamicSensorCallbackImpl()
135 if (!mInner.requestTriggerSensor(listener, sensor)) { in requestTriggerSensorImpl()
148 if (!mInner.cancelTriggerSensor(listener, sensor)) { in cancelTriggerSensorImpl()
[all …]
/frameworks/base/core/java/android/os/
DRevocableFileDescriptor.java46 private FileDescriptor mInner; field in RevocableFileDescriptor
76 mInner = fd; in init()
97 IoUtils.closeQuietly(mInner); in revoke()
114 return Os.fstat(mInner).st_size;
123 n += Os.pread(mInner, data, n, size - n, offset + n);
138 n += Os.pwrite(mInner, data, n, size - n, offset + n);
151 Os.fsync(mInner);
158 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/
DDelayedWakeLock.java30 private final WakeLock mInner; field in DelayedWakeLock
34 mInner = inner; in DelayedWakeLock()
39 mInner.acquire(why); in acquire()
44 mHandler.postDelayed(() -> mInner.release(why), RELEASE_DELAY_MS); in release()
54 return TO_STRING_PREFIX + mInner; in toString()
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()
/frameworks/base/core/java/android/view/
DDisplayCutout.java738 private DisplayCutout mInner; field in DisplayCutout.ParcelableWrapper
745 mInner = cutout; in ParcelableWrapper()
755 writeCutoutToParcel(mInner, out, flags); in writeToParcel()
782 mInner = readCutoutFromParcel(in); in readFromParcel()
819 return mInner; in get()
823 mInner = cutout.get(); in set()
827 mInner = cutout; in set()
832 return mInner.hashCode(); in hashCode()
838 && mInner.equals(((ParcelableWrapper) o).mInner); in equals()
843 return String.valueOf(mInner); in toString()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java46 private final Rect mInner = new Rect(); field in Letterbox
75 mInner.set(inner); in layout()
97 return mInner; in getInnerFrame()
126 mInner.setEmpty(); in destroy()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1615 private final IPinItemRequest mInner; field in LauncherApps.PinItemRequest
1621 mInner = inner; in PinItemRequest()
1646 return mInner.getShortcutInfo(); in getShortcutInfo()
1667 final AppWidgetProviderInfo info = mInner.getAppWidgetProviderInfo(); in getAppWidgetProviderInfo()
1689 return mInner.getExtras(); in getExtras()
1702 return mInner.isValid(); in isValid()
1719 return mInner.accept(options); in accept()
1740 mInner = IPinItemRequest.Stub.asInterface(source.readStrongBinder()); in PinItemRequest()
1746 dest.writeStrongBinder(mInner.asBinder()); in writeToParcel()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15087 Landroid/content/pm/LauncherApps$PinItemRequest;->mInner:Landroid/content/pm/IPinItemRequest;
52348 Landroid/os/RevocableFileDescriptor;->mInner:Ljava/io/FileDescriptor;
74182 Landroid/view/DisplayCutout$ParcelableWrapper;->mInner:Landroid/view/DisplayCutout;