Home
last modified time | relevance | path

Searched refs:viewState (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackStateAnimator.java130 StackViewState viewState = finalState.getViewStateForView(child); in startAnimationForEvents() local
131 if (viewState == null || child.getVisibility() == View.GONE in startAnimationForEvents()
132 || applyWithoutAnimation(child, viewState, finalState)) { in startAnimationForEvents()
137 startStackAnimations(child, viewState, finalState, i, -1 /* fixedDelay */); in startAnimationForEvents()
155 private boolean applyWithoutAnimation(ExpandableView child, StackViewState viewState, in applyWithoutAnimation() argument
172 finalState.applyState(child, viewState); in applyWithoutAnimation()
181 StackViewState viewState = finalState.getViewStateForView(child); in findLastNotAddedIndex() local
182 if (viewState == null || child.getVisibility() == View.GONE) { in findLastNotAddedIndex()
186 return viewState.notGoneIndex; in findLastNotAddedIndex()
203 public void startStackAnimations(final ExpandableView child, StackViewState viewState, in startStackAnimations() argument
[all …]
DViewState.java34 public void copyFrom(ViewState viewState) { in copyFrom() argument
35 alpha = viewState.alpha; in copyFrom()
36 yTranslation = viewState.yTranslation; in copyFrom()
37 zTranslation = viewState.zTranslation; in copyFrom()
38 gone = viewState.gone; in copyFrom()
39 scale = viewState.scale; in copyFrom()
DStackViewState.java71 public void copyFrom(ViewState viewState) { in copyFrom() argument
72 super.copyFrom(viewState); in copyFrom()
73 if (viewState instanceof StackViewState) { in copyFrom()
74 StackViewState svs = (StackViewState) viewState; in copyFrom()
DStackScrollState.java78 StackViewState viewState = mStateMap.get(view); in resetViewState() local
79 if (viewState == null) { in resetViewState()
80 viewState = new StackViewState(); in resetViewState()
81 mStateMap.put(view, viewState); in resetViewState()
84 viewState.height = view.getIntrinsicHeight(); in resetViewState()
85 viewState.gone = view.getVisibility() == View.GONE; in resetViewState()
86 viewState.alpha = 1; in resetViewState()
87 viewState.notGoneIndex = -1; in resetViewState()
DNotificationChildrenContainer.java286 StackViewState viewState = state.getViewStateForView(child);
294 dividerState.yTranslation = (int) (viewState.yTranslation
301 state.applyState(child, viewState);
322 StackViewState viewState = state.getViewStateForView(child);
330 dividerState.yTranslation = viewState.yTranslation
337 sourceState.copyFrom(viewState);
355 StackViewState viewState = state.getViewStateForView(child);
369 dividerState.yTranslation = viewState.yTranslation
376 stateAnimator.startStackAnimations(child, viewState, state, -1, delay);
DStackScrollAlgorithm.java328 StackViewState viewState = resultState.getViewStateForView( in handleDraggedViews() local
332 viewState.alpha = 1; in handleDraggedViews()
337 StackViewState viewState = resultState.getViewStateForView(draggedView); in handleDraggedViews() local
339 viewState.alpha = draggedView.getAlpha(); in handleDraggedViews()
382 StackViewState viewState = resultState.getViewStateForView(v); in updateNotGoneIndex() local
383 viewState.notGoneIndex = notGoneIndex; in updateNotGoneIndex()
DNotificationStackScrollLayout.java1920 StackViewState viewState = mCurrentStackScrollState.getViewStateForView(row); in generateHeadsUpAnimationEvents() local
1921 if (viewState == null) { in generateHeadsUpAnimationEvents()
1927 if (pinnedAndClosed || shouldHunAppearFromBottom(viewState)) { in generateHeadsUpAnimationEvents()
1945 private boolean shouldHunAppearFromBottom(StackViewState viewState) { in shouldHunAppearFromBottom() argument
1946 if (viewState.yTranslation + viewState.height < mAmbientState.getMaxHeadsUpTranslation()) { in shouldHunAppearFromBottom()
/frameworks/base/core/java/android/util/
DStateSet.java87 final int viewState = R.styleable.ViewDrawableStates[i];
89 if (VIEW_STATE_IDS[j] == viewState) {
90 orderedIds[i * 2] = viewState;