Home
last modified time | relevance | path

Searched refs:wrapped (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverAppPredictorCallbackTest.java47 ResolverAppPredictorCallback wrapped = new ResolverAppPredictorCallback(callback); in testAsConsumer() local
51 wrapped.asConsumer().accept(targets); in testAsConsumer()
56 wrapped.destroy(); in testAsConsumer()
59 wrapped.asConsumer().accept(targets); in testAsConsumer()
67 ResolverAppPredictorCallback wrapped = new ResolverAppPredictorCallback(callback); in testAsCallback() local
71 wrapped.asCallback().onTargetsAvailable(targets); in testAsCallback()
76 wrapped.destroy(); in testAsCallback()
79 wrapped.asConsumer().accept(targets); in testAsCallback()
87 ResolverAppPredictorCallback wrapped = new ResolverAppPredictorCallback(callback); in testAsConsumer_null() local
90 wrapped.asConsumer().accept(null); in testAsConsumer_null()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DGhostedViewTransitionAnimatorController.kt341 backgroundDrawable.wrapped?.let { in onTransitionAnimationProgress()
354 backgroundDrawable?.wrapped?.alpha = startBackgroundAlpha in onTransitionAnimationEnd()
408 private class WrappedDrawable(val wrapped: Drawable?) : Drawable() { constant in com.android.systemui.animation.GhostedViewTransitionAnimatorController.WrappedDrawable
416 val wrapped = this.wrapped ?: return in draw() constant
418 wrapped.copyBounds(previousBounds) in draw()
420 wrapped.alpha = currentAlpha in draw()
421 wrapped.bounds = bounds in draw()
424 wrapped.draw(canvas) in draw()
429 wrapped.alpha = 0 in draw()
430 wrapped.bounds = previousBounds in draw()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderWrapper.kt33 private val wrapped: NotificationInterruptStateProvider constant in com.android.systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper
63 wrapped.addSuppressor(suppressor) in addLegacySuppressor()
67 wrapped.removeSuppressor(suppressor) in removeLegacySuppressor()
87 wrapped.checkHeadsUp(entry, /* log= */ false).let { DecisionImpl.of(it) } in makeUnloggedHeadsUpDecision()
92 wrapped.checkHeadsUp(entry, /* log= */ true).let { DecisionImpl.of(it) } in makeAndLogHeadsUpDecision()
99 wrapped.getFullScreenIntentDecision(entry).let { in makeUnloggedFullScreenIntentDecision()
107 wrapped.logFullScreenIntentDecision(it.originalEntry, it.originalDecision) in logFullScreenIntentDecision()
113 wrapped.shouldBubbleUp(entry).let { DecisionImpl.of(it) } in makeAndLogBubbleDecision()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DParameters.kt70 abstract class UnaryParamBase<out T, out TParsed : T>(val wrapped: MultipleArgParam<T, TParsed>) : in parseArgsFromIter() constant in com.android.systemui.statusbar.commandline.UnaryParamBase
90 when (wrapped.valueParser) { in parseArgsFromIter()
118 wrapped.getValue(thisRef, property)[0] in getValue()
126 wrapped.parseArgsFromIter(iterator) in parseArgsFromIter()
148 wrapped.getValue(thisRef, property).getOrNull(0) in getValue()
153 wrapped.parseArgsFromIter(iterator) in getValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java83 RemoteAnimationTarget[] wrapped = RemoteAnimationTargetCompat.wrapApps(combined, in testLegacyTargetExtract() local
85 assertEquals(2, wrapped.length); in testLegacyTargetExtract()
88 for (RemoteAnimationTarget t : wrapped) { in testLegacyTargetExtract()
125 RemoteAnimationTarget wrapped = TransitionUtil.newTarget(
127 assertEquals(ACTIVITY_TYPE_HOME, wrapped.windowConfiguration.getActivityType());
128 assertEquals(new Rect(0, 0, 100, 140), wrapped.localBounds);
129 assertEquals(endBounds, wrapped.screenSpaceBounds);
130 assertTrue(wrapped.isTranslucent);
/frameworks/base/libs/dream/lowlight/tests/src/com/android/dream/lowlight/utils/
DKotlinMockitoHelpers.kt81 private val wrapped: ArgumentCaptor<T> = ArgumentCaptor.forClass(clazz) in whenever() constant
82 fun capture(): T = wrapped.capture() in whenever()
84 get() = wrapped.value in whenever()
86 get() = wrapped.allValues in whenever()
/frameworks/base/core/tests/coretests/src/com/android/internal/security/
DContentSignerWrapper.java28 ContentSignerWrapper(ContentSigner wrapped) { in ContentSignerWrapper() argument
29 mSigner = wrapped; in ContentSignerWrapper()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/mockito/
DKotlinMockitoHelpers.kt187 private val wrapped: ArgumentCaptor<T> = ArgumentCaptor.forClass(clazz) in whenever() constant
188 fun capture(): T = wrapped.capture() in whenever()
190 get() = wrapped.value in whenever()
192 get() = wrapped.allValues in whenever()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/coroutine/
DConflatedCallbackFlow.kt19 import com.android.systemui.utils.coroutines.flow.conflatedCallbackFlow as wrapped
45 ): Flow<T> = wrapped(block)
/frameworks/base/core/java/android/util/apk/
DVerbatimX509Certificate.java33 VerbatimX509Certificate(X509Certificate wrapped, byte[] encodedVerbatim) { in VerbatimX509Certificate() argument
34 super(wrapped); in VerbatimX509Certificate()
DWrappedX509Certificate.java37 WrappedX509Certificate(X509Certificate wrapped) { in WrappedX509Certificate() argument
38 this.mWrapped = wrapped; in WrappedX509Certificate()
/frameworks/base/core/java/com/android/internal/util/
DSizedInputStream.java31 public SizedInputStream(InputStream wrapped, long length) { in SizedInputStream() argument
32 mWrapped = wrapped; in SizedInputStream()
DXmlSerializerWrapper.java35 public XmlSerializerWrapper(@NonNull XmlSerializer wrapped) { in XmlSerializerWrapper() argument
36 mWrapped = Objects.requireNonNull(wrapped); in XmlSerializerWrapper()
DXmlPullParserWrapper.java36 public XmlPullParserWrapper(@NonNull XmlPullParser wrapped) { in XmlPullParserWrapper() argument
37 mWrapped = Objects.requireNonNull(wrapped); in XmlPullParserWrapper()
/frameworks/base/core/java/android/view/
DWindowCallbackWrapper.java34 public WindowCallbackWrapper(Window.Callback wrapped) { in WindowCallbackWrapper() argument
35 if (wrapped == null) { in WindowCallbackWrapper()
38 mWrapped = wrapped; in WindowCallbackWrapper()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DActionBarWrapper.java18 public MenuVisiblityListenerWrapper(ActionBarInterface.OnMenuVisibilityListener wrapped) { in MenuVisiblityListenerWrapper() argument
19 mWrapped = wrapped; in MenuVisiblityListenerWrapper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DCornerDrawable.kt30 class CornerDrawable(val wrapped: Drawable, val cornerRadius: Float) : DrawableWrapper(wrapped) { constant in com.android.systemui.controls.ui.CornerDrawable
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DActionBarWrapper.java17 public MenuVisiblityListenerWrapper(ActionBarInterface.OnMenuVisibilityListener wrapped) { in MenuVisiblityListenerWrapper() argument
18 mWrapped = wrapped; in MenuVisiblityListenerWrapper()
/frameworks/base/services/core/java/com/android/server/am/
DSameProcessApplicationThread.java43 public SameProcessApplicationThread(@NonNull IApplicationThread wrapped, in SameProcessApplicationThread() argument
45 mWrapped = Objects.requireNonNull(wrapped); in SameProcessApplicationThread()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockTest.java101 Runnable wrapped = mWakeLock.wrap(() -> { in wakeLock_wrap() local
108 wrapped.run(); in wakeLock_wrap()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/wakelock/
DClientTrackingWakeLockTest.kt97 val wrapped = mWakeLock.wrap { ran[0] = true } in wakeLock_wrap() constant
100 wrapped.run() in wakeLock_wrap()
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/
DAnimatorTestRule.java140 RunnableWithException wrapped = TestableLooper.wrapWithRunBlocking(mTest, runnable);
141 if (wrapped != null) {
142 return wrapped;
/frameworks/base/core/java/android/hardware/
DSyncFence.java162 public static @NonNull SyncFence create(@NonNull ParcelFileDescriptor wrapped) { in create() argument
163 return new SyncFence(wrapped.detachFd()); in create()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DNavigationBarButton.java145 TintedDrawable(Drawable wrapped) { in TintedDrawable() argument
146 super(new Drawable[] {wrapped}); in TintedDrawable()
/frameworks/base/graphics/java/android/graphics/
DHardwareBufferRenderer.java275 Consumer<RenderResult> wrapped = consumable -> executor.execute( in draw() local
295 wrapped); in draw()

123