Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java47 import com.android.systemui.statusbar.notification.stack.ViewState;
122 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationStarted()
129 assertFalse(ViewState.isAnimating(mView, mProperty)); in testNoAnimationStarted()
137 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testEndValueUpdated()
147 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag()), in testStartTagUpdated()
165 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdated()
166 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testAnimationToRightValueUpdated()
178 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdateAnimated()
179 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testAnimationToRightValueUpdateAnimated()
191 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag()), in testStartTagShiftedWhenChanging()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java31 import com.android.systemui.statusbar.notification.stack.ViewState;
50 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty()
65 Float previousStartValue = ViewState.getChildTag(view, animationStartTag); in startAnimation()
66 Float previousEndValue = ViewState.getChildTag(view, animationEndTag); in startAnimation()
71 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation()
112 long newDuration = ViewState.cancelAnimatorAndGetNewDuration(properties.duration, in startAnimation()
136 ViewState.startAnimator(animator, listener); in startAnimation()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DInlineSuggestionRequestConsumer.java30 private final WeakReference<ViewState> mViewStateWeakReference;
34 WeakReference<ViewState> viewStateWeakReference) { in InlineSuggestionRequestConsumer()
42 ViewState viewState = mViewStateWeakReference.get(); in accept()
DSession.java233 final class Session implements RemoteFillService.FillServiceCallbacks, ViewState.Listener,
336 private final ArrayMap<AutofillId, ViewState> mViewStates = new ArrayMap<>();
655 final ViewState state = mViewStates.get(mCurrentViewId); in shouldResetSessionStateOnInputMethodSwitch()
657 && (state.getState() & ViewState.STATE_TRIGGERED_AUGMENTED_AUTOFILL) != 0) { in shouldResetSessionStateOnInputMethodSwitch()
704 @Nullable Consumer<InlineSuggestionsRequest> newAutofillRequestLocked(ViewState viewState, in newAutofillRequestLocked()
712 WeakReference<ViewState> viewStateWeakReference = in newAutofillRequestLocked()
713 new WeakReference<ViewState>(viewState); in newAutofillRequestLocked()
721 ViewState viewState) { in handleInlineSuggestionRequest()
729 viewState.resetState(ViewState.STATE_PENDING_CREATE_INLINE_REQUEST); in handleInlineSuggestionRequest()
859 final ViewState viewState = new ViewState(urlBarId, Session.this, in onHandleAssistData()
[all …]
DViewState.java41 final class ViewState { class
124 ViewState(AutofillId id, Listener listener, int state, boolean isPrimaryCredential) { in ViewState() method in ViewState
212 return DebugUtils.flagsToString(ViewState.class, "STATE_", state); in getStateAsString()
DPresentationStatsEventLogger.java609 public void onFieldTextUpdated(ViewState state, int length) { in onFieldTextUpdated()
622 if ((state.getState() & ViewState.STATE_AUTOFILLED) != 0) { in onFieldTextUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt84 var currentViewState: ViewState = ViewState() in <lambda>()
88 private var nextViewState: ViewState = currentViewState.copy() in <lambda>()
260 open fun setCornerSizes(state: ViewState) { in <lambda>()
488 val newState: ViewState in <lambda>()
497 private fun resolveState(state: ViewState) { in <lambda>()
536 open fun updateDotView(state: ViewState) { in <lambda>()
648 data class ViewState( class
672 fun needsLayout(other: ViewState): Boolean { in needsLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java102 private ViewState mGroupOverFlowState;
119 private ViewState mHeaderViewState;
610 mGroupOverFlowState = new ViewState();
852 mHeaderViewState = new ViewState();
925 ViewState tmpState = new ViewState();
1062 ViewState tmpState = new ViewState();
1245 ViewState viewState = new ViewState();
DMediaContainerView.kt145 override fun copyFrom(viewState: ViewState) { in createExpandableViewState()
DExpandableViewState.java34 public class ExpandableViewState extends ViewState {
125 public void copyFrom(ViewState viewState) { in copyFrom()
DViewState.java47 public class ViewState implements Dumpable { class
224 public void copyFrom(ViewState viewState) { in copyFrom()
DStackScrollAlgorithm.java145 final ViewState viewState = view.getViewState(); in updateAlphaState()
193 final ViewState shelfState = shelf.getViewState(); in updateAlphaState()
DStackStateAnimator.java230 if (ViewState.isAnimatingY(child)) { in applyWithoutAnimation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DViewStateTest.kt33 private val viewState = ViewState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java48 import com.android.systemui.statusbar.notification.stack.ViewState;
319 ViewState childState = mIconStates.get(child); in applyIconStates()
457 ViewState iconState = mIconStates.get(view); in resetViewStates()
747 ViewState childState = mIconStates.get(child); in setAnimationsEnabled()
818 public class IconState extends ViewState {
DStatusIconContainer.java40 import com.android.systemui.statusbar.notification.stack.ViewState;
445 public static class StatusIconState extends ViewState {
DScrimController.java80 import com.android.systemui.statusbar.notification.stack.ViewState;
1513 ValueAnimator previousAnimator = ViewState.getChildTag(scrim, TAG_KEY_ANIM); in updateScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java57 import com.android.systemui.statusbar.notification.stack.ViewState;
415 boolean aboveShelf = ViewState.getFinalTranslationZ(child) > baseZHeight in updateAppearance()
630 boolean needsContinuousClipping = ViewState.isAnimatingY(icon) && !mAmbientState.isDozing();
638 boolean animatingY = ViewState.isAnimatingY(icon);
825 && (scrollingFast || (expandingAnimated && !ViewState.isAnimatingY(icon)))) { in updateIconPositioning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/view/
DFooterView.java50 import com.android.systemui.statusbar.notification.stack.ViewState;
468 public void copyFrom(ViewState viewState) { in copyFrom()