HomeSort by relevance Sort by last modified time
    Searched refs:ViewState (Results 1 - 14 of 14) sorted by null

  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
PropertyAnimatorTest.java 41 import com.android.systemui.statusbar.stack.ViewState;
115 assertTrue(ViewState.isAnimating(mView, mProperty));
122 assertFalse(ViewState.isAnimating(mView, mProperty));
130 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()),
140 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag()),
158 assertTrue(ViewState.isAnimating(mView, mProperty));
159 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()),
171 assertTrue(ViewState.isAnimating(mView, mProperty));
172 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationEndTag()),
184 assertEquals(ViewState.getChildTag(mView, mProperty.getAnimationStartTag())
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
PropertyAnimator.java 30 import com.android.systemui.statusbar.stack.ViewState;
43 Float previousStartValue = ViewState.getChildTag(view, animationStartTag);
44 Float previousEndValue = ViewState.getChildTag(view, animationEndTag);
49 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag);
79 long newDuration = ViewState.cancelAnimatorAndGetNewDuration(properties.duration,
99 ViewState.startAnimator(animator, listener);
  /frameworks/base/services/autofill/java/com/android/server/autofill/
Session.java 32 import static com.android.server.autofill.ViewState.STATE_AUTOFILLED;
33 import static com.android.server.autofill.ViewState.STATE_RESTARTED_SESSION;
96 * <p>This class manages the multiple {@link ViewState}s for each view it has, and keeps track
97 * of the current {@link ViewState} to display the appropriate UI.
105 final class Session implements RemoteFillService.FillServiceCallbacks, ViewState.Listener,
133 private final ArrayMap<AutofillId, ViewState> mViewStates = new ArrayMap<>();
280 final ViewState state = mViewStates.get(id);
324 final ViewState viewState = mViewStates.valueAt(i);
329 Slog.v(TAG, "fillStructureWithAllowedValues(): no node for " + viewState.id)
    [all...]
ViewState.java 39 final class ViewState {
48 private static final String TAG = "ViewState";
82 ViewState(Session session, AutofillId id, Listener listener, int state) {
136 return DebugUtils.flagsToString(ViewState.class, "STATE_", mState);
185 return "ViewState: [id=" + id + ", currentValue=" + mCurrentValue
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationIconContainer.java 42 import com.android.systemui.statusbar.stack.ViewState;
181 ViewState childState = mIconStates.get(child);
279 ViewState iconState = mIconStates.get(view);
512 ViewState childState = mIconStates.get(child);
530 public class IconState extends ViewState {
ScrimController.java 49 import com.android.systemui.statusbar.stack.ViewState;
652 ValueAnimator previousAnimator = ViewState.getChildTag(scrim,
664 animEndValue = ViewState.getChildTag(scrim, TAG_END_ALPHA);
674 float previousStartValue = ViewState.getChildTag(scrim, TAG_START_ALPHA);
675 float previousEndValue = ViewState.getChildTag(scrim, TAG_END_ALPHA);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
NotificationChildrenContainer.java 78 private ViewState mGroupOverFlowState;
97 private ViewState mHeaderViewState;
393 mGroupOverFlowState = new ViewState();
637 mHeaderViewState = new ViewState();
691 ViewState tmpState = new ViewState();
702 ExpandableViewState viewState = state.getViewStateForView(child);
703 viewState.applyToView(child);
708 tmpState.yTranslation = viewState.yTranslation - mDividerHeight;
709 float alpha = mChildrenExpanded && viewState.alpha != 0 ? mDividerAlpha : 0
    [all...]
ExpandableViewState.java 33 public class ExpandableViewState extends ViewState {
116 public void copyFrom(ViewState viewState) {
117 super.copyFrom(viewState);
118 if (viewState instanceof ExpandableViewState) {
119 ExpandableViewState svs = (ExpandableViewState) viewState;
ViewState.java 41 public class ViewState {
124 public void copyFrom(ViewState viewState) {
125 alpha = viewState.alpha;
126 xTranslation = viewState.xTranslation;
127 yTranslation = viewState.yTranslation;
128 zTranslation = viewState.zTranslation;
129 gone = viewState.gone;
130 hidden = viewState.hidden;
131 scaleX = viewState.scaleX
    [all...]
StackStateAnimator.java 129 ExpandableViewState viewState = finalState.getViewStateForView(child);
130 if (viewState == null || child.getVisibility() == View.GONE
131 || applyWithoutAnimation(child, viewState, finalState)) {
135 initAnimationProperties(finalState, child, viewState);
136 viewState.animateTo(child, mAnimationProperties);
149 ExpandableViewState viewState) {
152 adaptDurationWhenGoingToFullShade(child, viewState, wasAdded);
155 && (viewState.yTranslation != child.getTranslationY()
156 || viewState.zTranslation != child.getTranslationZ()
157 || viewState.alpha != child.getAlpha(
    [all...]
NotificationStackScrollLayout.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
TaskStack.java 295 public static class ViewState {
296 private static final IntProperty<ViewState> HINT_ALPHA =
297 new IntProperty<ViewState>("drawableAlpha") {
299 public void setValue(ViewState object, int alpha) {
305 public Integer get(ViewState object) {
323 private ViewState(int areaAlpha, int hintAlpha, @TextOrientation int hintOrientation,
433 public final ViewState viewState;
452 this.viewState = new ViewState(dockAreaAlpha, hintTextAlpha, hintTextOrientation
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationShelf.java 44 import com.android.systemui.statusbar.stack.ViewState;
264 boolean aboveShelf = ViewState.getFinalTranslationZ(row) > baseZHeight;
343 boolean needsContinuousClipping = ViewState.isAnimatingY(icon);
350 boolean animatingY = ViewState.isAnimatingY(icon);
504 && iconState.useFullTransitionAmount && !ViewState.isAnimatingY(icon)))) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
RecentsView.java 546 visDockStates.get(i).viewState.draw(canvas);
554 Drawable d = visDockStates.get(i).viewState.dockAreaOverlay;
588 true /* isDefaultDockState */, TaskStack.DockState.NONE.viewState.dockAreaAlpha,
589 TaskStack.DockState.NONE.viewState.hintTextAlpha,
606 true /* isDefaultDockState */, TaskStack.DockState.NONE.viewState.dockAreaAlpha,
607 TaskStack.DockState.NONE.viewState.hintTextAlpha,
    [all...]

Completed in 1210 milliseconds