Home
last modified time | relevance | path

Searched refs:ViewState (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java40 import com.android.systemui.statusbar.notification.stack.ViewState;
114 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationStarted()
121 assertFalse(ViewState.isAnimating(mView, mProperty)); in testNoAnimationStarted()
129 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testEndValueUpdated()
139 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag()), in testStartTagUpdated()
157 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdated()
158 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testAnimationToRightValueUpdated()
170 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdateAnimated()
171 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testAnimationToRightValueUpdateAnimated()
183 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag()), in testStartTagShiftedWhenChanging()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java30 import com.android.systemui.statusbar.notification.stack.ViewState;
48 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty()
63 Float previousStartValue = ViewState.getChildTag(view, animationStartTag); in startAnimation()
64 Float previousEndValue = ViewState.getChildTag(view, animationEndTag); in startAnimation()
69 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation()
110 long newDuration = ViewState.cancelAnimatorAndGetNewDuration(properties.duration, in startAnimation()
129 ViewState.startAnimator(animator, listener); in startAnimation()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java144 final class Session implements RemoteFillService.FillServiceCallbacks, ViewState.Listener,
224 private final ArrayMap<AutofillId, ViewState> mViewStates = new ArrayMap<>();
390 final ViewState state = mViewStates.get(mCurrentViewId); in shouldResetSessionStateOnInputMethodSwitch()
392 && (state.getState() & ViewState.STATE_TRIGGERED_AUGMENTED_AUTOFILL) != 0) { in shouldResetSessionStateOnInputMethodSwitch()
436 @Nullable Consumer<InlineSuggestionsRequest> newAutofillRequestLocked(ViewState viewState, in newAutofillRequestLocked()
449 viewState.resetState(ViewState.STATE_PENDING_CREATE_INLINE_REQUEST); in newAutofillRequestLocked()
551 final ViewState viewState = new ViewState(urlBarId, Session.this,
552 ViewState.STATE_URL_BAR);
677 final ViewState state = mViewStates.get(autofillId);
707 final ViewState viewState = mViewStates.valueAt(i);
[all …]
DViewState.java40 final class ViewState { class
98 ViewState(AutofillId id, Listener listener, int state) { in ViewState() method in ViewState
160 return DebugUtils.flagsToString(ViewState.class, "STATE_", state); in getStateAsString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt83 private var currentViewState: ViewState = ViewState() in <lambda>()
86 private var nextViewState: ViewState = currentViewState.copy() in <lambda>()
248 private fun setCornerSizes(state: ViewState) { in <lambda>()
468 val newState: ViewState in <lambda>()
477 private fun resolveState(state: ViewState) { in <lambda>()
616 private data class ViewState( class
640 fun needsLayout(other: ViewState): Boolean { in needsLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFooterView.java28 import com.android.systemui.statusbar.notification.stack.ViewState;
126 public void copyFrom(ViewState viewState) { in copyFrom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java83 private ViewState mGroupOverFlowState;
100 private ViewState mHeaderViewState;
405 mGroupOverFlowState = new ViewState();
646 mHeaderViewState = new ViewState();
708 ViewState tmpState = new ViewState();
790 ViewState tmpState = new ViewState();
961 ViewState viewState = new ViewState();
DNotificationSection.java259 int finalTranslationY = (int) Math.ceil(ViewState.getFinalTranslationY(firstView)); in updateBounds()
283 float finalTranslationY = ViewState.getFinalTranslationY(lastView); in updateBounds()
DExpandableViewState.java33 public class ExpandableViewState extends ViewState {
117 public void copyFrom(ViewState viewState) { in copyFrom()
DStackStateAnimator.java198 if (ViewState.isAnimatingY(child)) { in applyWithoutAnimation()
445 + ViewState.getFinalTranslationX(icon) + icon.getWidth() * 0.25f; in processAnimationEvents()
DViewState.java46 public class ViewState implements Dumpable { class
129 public void copyFrom(ViewState viewState) { in copyFrom()
DNotificationStackScrollLayout.java2394 minBottomPosition = (int) (ViewState.getFinalTranslationY(mShelf)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java45 import com.android.systemui.statusbar.notification.stack.ViewState;
271 ViewState childState = mIconStates.get(child); in applyIconStates()
381 ViewState iconState = mIconStates.get(view); in resetViewStates()
639 ViewState childState = mIconStates.get(child); in setAnimationsEnabled()
680 public class IconState extends ViewState {
DStatusIconContainer.java38 import com.android.systemui.statusbar.notification.stack.ViewState;
414 public static class StatusIconState extends ViewState {
DScrimController.java54 import com.android.systemui.statusbar.notification.stack.ViewState;
1080 ValueAnimator previousAnimator = ViewState.getChildTag(scrim, TAG_KEY_ANIM); in updateScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java45 import com.android.systemui.statusbar.notification.stack.ViewState;
254 boolean aboveShelf = ViewState.getFinalTranslationZ(child) > baseZHeight in updateAppearance()
456 boolean needsContinuousClipping = ViewState.isAnimatingY(icon) && !mAmbientState.isDozing();
464 boolean animatingY = ViewState.isAnimatingY(icon);
630 && (scrollingFast || (expandingAnimated && !ViewState.isAnimatingY(icon)))) {
/frameworks/base/services/
Dart-profile12274 …om/android/server/autofill/Session$AssistDataReceiverImpl;Lcom/android/server/autofill/ViewState;)V
12278 …fill/ViewState;Landroid/view/inputmethod/InlineSuggestionsRequest;)V+]Lcom/android/server/autofill…
12280 …ataReceiverImpl;->newAutofillRequestLocked(Lcom/android/server/autofill/ViewState;Z)Ljava/util/fun…
12331 …/autofill/AutofillId;ILandroid/view/autofill/AutofillValue;)Lcom/android/server/autofill/ViewState;
12335 …roid/util/SparseArray;]Lcom/android/server/autofill/ViewState;Lcom/android/server/autofill/ViewSta…
12339 …w/autofill/AutofillId;]Lcom/android/server/autofill/ViewState;Lcom/android/server/autofill/ViewSta…
12357 …d(Lcom/android/server/autofill/ViewState;)V+]Lcom/android/server/autofill/ViewState;Lcom/android/s…
12377 …utofill/AutofillValue;]Lcom/android/server/autofill/ViewState;Lcom/android/server/autofill/ViewSta…
12379ViewState;)V+]Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;]Landroid/metrics/LogMaker;Landroi…
12402ViewState;II)V+]Lcom/android/server/autofill/RemoteInlineSuggestionRenderService;Lcom/android/serv…
[all …]