Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java40 import com.android.systemui.statusbar.stack.ViewState;
115 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationStarted()
122 assertFalse(ViewState.isAnimating(mView, mProperty)); in testNoAnimationStarted()
130 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testEndValueUpdated()
140 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag()), in testStartTagUpdated()
158 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdated()
159 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testAnimationToRightValueUpdated()
171 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdateAnimated()
172 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()), in testAnimationToRightValueUpdateAnimated()
184 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.stack.ViewState;
42 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty()
57 Float previousStartValue = ViewState.getChildTag(view, animationStartTag); in startAnimation()
58 Float previousEndValue = ViewState.getChildTag(view, animationEndTag); in startAnimation()
63 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation()
93 long newDuration = ViewState.cancelAnimatorAndGetNewDuration(properties.duration, in startAnimation()
113 ViewState.startAnimator(animator, listener); in startAnimation()
/frameworks/base/packages/SystemUI/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()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java35 import static com.android.server.autofill.ViewState.STATE_RESTARTED_SESSION;
118 final class Session implements RemoteFillService.FillServiceCallbacks, ViewState.Listener,
159 private final ArrayMap<AutofillId, ViewState> mViewStates = new ArrayMap<>();
306 final ViewState viewState = new ViewState(Session.this, urlBarId,
307 Session.this, ViewState.STATE_URL_BAR);
398 final ViewState state = mViewStates.get(id); in findValueLocked()
428 final ViewState viewState = mViewStates.valueAt(i); in fillContextWithAllowedValuesLocked()
904 final ViewState view = mViewStates.get(id); in requestShowFillUi()
1169 final ViewState viewState = mViewStates.valueAt(i); in logContextCommittedLocked()
1175 if ((state & ViewState.STATE_CHANGED) != 0) { in logContextCommittedLocked()
[all …]
DViewState.java39 final class ViewState { class
88 ViewState(Session session, AutofillId id, Listener listener, int state) { in ViewState() method in ViewState
155 return DebugUtils.flagsToString(ViewState.class, "STATE_", state); in getStateAsString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationChildrenContainer.java78 private ViewState mGroupOverFlowState;
97 private ViewState mHeaderViewState;
417 mGroupOverFlowState = new ViewState();
663 mHeaderViewState = new ViewState();
722 ViewState tmpState = new ViewState();
804 ViewState tmpState = new ViewState();
986 ViewState viewState = new ViewState();
DExpandableViewState.java33 public class ExpandableViewState extends ViewState {
122 public void copyFrom(ViewState viewState) { in copyFrom()
DStackStateAnimator.java200 if (ViewState.isAnimatingY(child)) { in applyWithoutAnimation()
493 + ViewState.getFinalTranslationX(icon) + icon.getWidth() * 0.25f; in processAnimationEvents()
DViewState.java40 public class ViewState { class
123 public void copyFrom(ViewState viewState) { in copyFrom()
DNotificationStackScrollLayout.java2437 int finalTranslationY = (int) Math.ceil(ViewState.getFinalTranslationY(firstView));
2457 finalTranslationY = (int) ViewState.getFinalTranslationY(lastView);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java40 import com.android.systemui.statusbar.stack.ViewState;
257 ViewState childState = mIconStates.get(child); in applyIconStates()
358 ViewState iconState = mIconStates.get(view); in resetViewStates()
633 ViewState childState = mIconStates.get(child); in setAnimationsEnabled()
662 public class IconState extends ViewState {
DStatusIconContainer.java38 import com.android.systemui.statusbar.stack.ViewState;
324 public static class StatusIconState extends ViewState {
DScrimController.java53 import com.android.systemui.statusbar.stack.ViewState;
708 ValueAnimator previousAnimator = ViewState.getChildTag(scrim, TAG_KEY_ANIM); in updateScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java43 import com.android.systemui.statusbar.stack.ViewState;
277 boolean aboveShelf = ViewState.getFinalTranslationZ(row) > baseZHeight in updateAppearance()
402 boolean needsContinuousClipping = ViewState.isAnimatingY(icon) && !mAmbientState.isDark();
410 boolean animatingY = ViewState.isAnimatingY(icon);
577 && iconState.useFullTransitionAmount && !ViewState.isAnimatingY(icon)))) {
/frameworks/base/services/
Dart-profile110 HPLcom/android/server/autofill/ViewState$Listener;->onFillReady(Landroid/service/autofill/FillRespo…