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();
615 mHeaderViewState = new ViewState();
675 ViewState tmpState = new ViewState();
757 ViewState tmpState = new ViewState();
928 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 {
118 public void copyFrom(ViewState viewState) { in copyFrom()
DStackStateAnimator.java203 if (ViewState.isAnimatingY(child)) { in applyWithoutAnimation()
459 + 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.java2541 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;
258 ViewState childState = mIconStates.get(child); in applyIconStates()
360 ViewState iconState = mIconStates.get(view); in resetViewStates()
642 ViewState childState = mIconStates.get(child); in setAnimationsEnabled()
671 public class IconState extends ViewState {
DStatusIconContainer.java38 import com.android.systemui.statusbar.notification.stack.ViewState;
376 public static class StatusIconState extends ViewState {
DScrimController.java49 import com.android.systemui.statusbar.notification.stack.ViewState;
740 ValueAnimator previousAnimator = ViewState.getChildTag(scrim, TAG_KEY_ANIM); in updateScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java50 import com.android.systemui.statusbar.notification.stack.ViewState;
309 boolean aboveShelf = ViewState.getFinalTranslationZ(row) > baseZHeight in updateAppearance()
466 boolean needsContinuousClipping = ViewState.isAnimatingY(icon) && !mAmbientState.isDark();
474 boolean animatingY = ViewState.isAnimatingY(icon);
657 && 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