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;
41 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty()
56 Float previousStartValue = ViewState.getChildTag(view, animationStartTag); in startAnimation()
57 Float previousEndValue = ViewState.getChildTag(view, animationEndTag); in startAnimation()
62 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation()
92 long newDuration = ViewState.cancelAnimatorAndGetNewDuration(properties.duration, in startAnimation()
112 ViewState.startAnimator(animator, listener); in startAnimation()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java124 final class Session implements RemoteFillService.FillServiceCallbacks, ViewState.Listener,
172 private final ArrayMap<AutofillId, ViewState> mViewStates = new ArrayMap<>();
362 final ViewState viewState = new ViewState(urlBarId, Session.this,
363 ViewState.STATE_URL_BAR);
478 final ViewState state = mViewStates.get(autofillId); in findValueFromThisSessionOnlyLocked()
508 final ViewState viewState = mViewStates.valueAt(i); in fillContextWithAllowedValuesLocked()
576 private void requestNewFillResponseLocked(@NonNull ViewState viewState, int newState, in requestNewFillResponseLocked()
1058 final ViewState view = mViewStates.get(id); in requestShowFillUi()
1371 final ViewState viewState = mViewStates.valueAt(i); in logContextCommittedLocked()
1377 if ((state & ViewState.STATE_CHANGED) != 0) { in logContextCommittedLocked()
[all …]
DViewState.java40 final class ViewState { class
90 ViewState(AutofillId id, Listener listener, int state) { in ViewState() method in ViewState
152 return DebugUtils.flagsToString(ViewState.class, "STATE_", state); in getStateAsString()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DDockState.java104 public static class ViewState { class in DockState
105 private static final IntProperty<ViewState> HINT_ALPHA =
106 new IntProperty<ViewState>("drawableAlpha") {
108 public void setValue(ViewState object, int alpha) {
114 public Integer get(ViewState object) {
132 private ViewState(int areaAlpha, int hintAlpha, @TextOrientation int hintOrientation, in ViewState() method in DockState.ViewState
242 public final ViewState viewState;
261 this.viewState = new ViewState(dockAreaAlpha, hintTextAlpha, hintTextOrientation, in DockState()
DRecentsView.java833 DockState.ViewState viewState = dockState.viewState;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java80 private ViewState mGroupOverFlowState;
97 private ViewState mHeaderViewState;
373 mGroupOverFlowState = new ViewState();
614 mHeaderViewState = new ViewState();
676 ViewState tmpState = new ViewState();
758 ViewState tmpState = new ViewState();
929 ViewState viewState = new ViewState();
DNotificationSection.java246 int finalTranslationY = (int) Math.ceil(ViewState.getFinalTranslationY(firstView)); in updateBounds()
270 float finalTranslationY = ViewState.getFinalTranslationY(lastView); in updateBounds()
DExpandableViewState.java33 public class ExpandableViewState extends ViewState {
117 public void copyFrom(ViewState viewState) { in copyFrom()
DStackStateAnimator.java203 if (ViewState.isAnimatingY(child)) { in applyWithoutAnimation()
463 + 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.java2587 minBottomPosition = (int) (ViewState.getFinalTranslationY(mShelf)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java41 import com.android.systemui.statusbar.notification.stack.ViewState;
259 ViewState childState = mIconStates.get(child); in applyIconStates()
365 ViewState iconState = mIconStates.get(view); in resetViewStates()
647 ViewState childState = mIconStates.get(child); in setAnimationsEnabled()
680 public class IconState extends ViewState {
DStatusIconContainer.java38 import com.android.systemui.statusbar.notification.stack.ViewState;
376 public static class StatusIconState extends ViewState {
DScrimController.java51 import com.android.systemui.statusbar.notification.stack.ViewState;
782 ValueAnimator previousAnimator = ViewState.getChildTag(scrim, TAG_KEY_ANIM); in updateScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java51 import com.android.systemui.statusbar.notification.stack.ViewState;
284 boolean aboveShelf = ViewState.getFinalTranslationZ(row) > baseZHeight in updateAppearance()
448 boolean needsContinuousClipping = ViewState.isAnimatingY(icon) && !mAmbientState.isDozing();
456 boolean animatingY = ViewState.isAnimatingY(icon);
643 && iconState.useFullTransitionAmount && !ViewState.isAnimatingY(icon)))) {
/frameworks/base/services/
Dart-profile4616 …/autofill/AutofillId;ILandroid/view/autofill/AutofillValue;)Lcom/android/server/autofill/ViewState;
4641 …teredIfNecessaryLocked(Landroid/view/autofill/AutofillId;Lcom/android/server/autofill/ViewState;I)V
4654 PLcom/android/server/autofill/ViewState;->maybeCallOnFillReady(I)V