Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimator.java145 ExpandableViewState viewState = child.getViewState(); in startAnimationForEvents() local
146 if (viewState == null || child.getVisibility() == View.GONE in startAnimationForEvents()
147 || applyWithoutAnimation(child, viewState)) { in startAnimationForEvents()
154 initAnimationProperties(child, viewState, animationStaggerCount); in startAnimationForEvents()
155 viewState.animateTo(child, mAnimationProperties); in startAnimationForEvents()
168 ExpandableViewState viewState, int animationStaggerCount) { in initAnimationProperties() argument
171 adaptDurationWhenGoingToFullShade(child, viewState, wasAdded, animationStaggerCount); in initAnimationProperties()
174 && (viewState.yTranslation != child.getTranslationY() in initAnimationProperties()
175 || viewState.zTranslation != child.getTranslationZ() in initAnimationProperties()
176 || viewState.alpha != child.getAlpha() in initAnimationProperties()
[all …]
DNotificationChildrenContainer.java263 ExpandableViewState viewState = row.getViewState(); in addNotification()
264 if (viewState != null) { in addNotification()
265 viewState.cancelAnimations(row); in addNotification()
687 ExpandableViewState viewState = child.getViewState();
688 viewState.applyToView(child);
693 tmpState.yTranslation = viewState.yTranslation - mDividerHeight;
694 float alpha = mChildrenExpanded && viewState.alpha != 0 ? mDividerAlpha : 0;
695 if (mUserLocked && !showingAsLowPriority() && viewState.alpha != 0) {
697 Math.min(viewState.alpha, expandFraction));
766 ExpandableViewState viewState = child.getViewState();
[all …]
DViewState.java129 public void copyFrom(ViewState viewState) { in copyFrom() argument
130 alpha = viewState.alpha; in copyFrom()
131 xTranslation = viewState.xTranslation; in copyFrom()
132 yTranslation = viewState.yTranslation; in copyFrom()
133 zTranslation = viewState.zTranslation; in copyFrom()
134 gone = viewState.gone; in copyFrom()
135 hidden = viewState.hidden; in copyFrom()
136 scaleX = viewState.scaleX; in copyFrom()
137 scaleY = viewState.scaleY; in copyFrom()
DExpandableViewState.java117 public void copyFrom(ViewState viewState) { in copyFrom() argument
118 super.copyFrom(viewState); in copyFrom()
119 if (viewState instanceof ExpandableViewState) { in copyFrom()
120 ExpandableViewState svs = (ExpandableViewState) viewState; in copyFrom()
DStackScrollAlgorithm.java352 ExpandableViewState viewState = v.getViewState(); in updateNotGoneIndex() local
353 viewState.notGoneIndex = notGoneIndex; in updateNotGoneIndex()
505 ExpandableViewState viewState = row.getViewState();
506 viewState.hidden = false;
DNotificationStackScrollLayout.java3448 ExpandableViewState viewState = row.getViewState();
3449 if (viewState == null) {
3455 if (pinnedAndClosed || shouldHunAppearFromBottom(viewState)) {
3474 private boolean shouldHunAppearFromBottom(ExpandableViewState viewState) {
3475 if (viewState.yTranslation + viewState.height < mAmbientState.getMaxHeadsUpTranslation()) {
5396 ExpandableViewState viewState = child.getViewState();
5397 if (viewState == null) {
5401 viewState.dump(fd, pw, args);
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java362 final ViewState viewState = new ViewState(urlBarId, Session.this,
364 mViewStates.put(urlBarId, viewState);
508 final ViewState viewState = mViewStates.valueAt(i); in fillContextWithAllowedValuesLocked() local
514 "fillContextWithAllowedValuesLocked(): no node for " + viewState.id); in fillContextWithAllowedValuesLocked()
519 final AutofillValue currentValue = viewState.getCurrentValue(); in fillContextWithAllowedValuesLocked()
520 final AutofillValue filledValue = viewState.getAutofilledValue(); in fillContextWithAllowedValuesLocked()
530 overlay.focused = mCurrentViewId.equals(viewState.id); in fillContextWithAllowedValuesLocked()
576 private void requestNewFillResponseLocked(@NonNull ViewState viewState, int newState, in requestNewFillResponseLocked() argument
588 viewState.setState(newState); in requestNewFillResponseLocked()
1371 final ViewState viewState = mViewStates.valueAt(i); in logContextCommittedLocked() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java191 ShelfState viewState = (ShelfState) getViewState(); in updateState() local
197 viewState.copyFrom(lastViewState); in updateState()
198 viewState.height = getIntrinsicHeight(); in updateState()
200 viewState.yTranslation = Math.max(Math.min(viewEnd, maxShelfEnd) - viewState.height, in updateState()
202 viewState.zTranslation = ambientState.getBaseZHeight(); in updateState()
207 float openedAmount = (viewState.yTranslation - getFullyClosedTranslation()) in updateState()
210 viewState.openedAmount = openedAmount; in updateState()
211 viewState.clipTopAmount = 0; in updateState()
212 viewState.alpha = 1; in updateState()
213 viewState.belowSpeedBump = mAmbientState.getSpeedBumpIndex() == 0; in updateState()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java520 visDockStates.get(i).viewState.draw(canvas);
528 Drawable d = visDockStates.get(i).viewState.dockAreaOverlay;
559 true /* isDefaultDockState */, DockState.NONE.viewState.dockAreaAlpha,
560 DockState.NONE.viewState.hintTextAlpha,
577 true /* isDefaultDockState */, DockState.NONE.viewState.dockAreaAlpha,
578 DockState.NONE.viewState.hintTextAlpha,
833 DockState.ViewState viewState = dockState.viewState;
836 viewState.startAnimation(null, 0, 0, TaskStackView.SLOW_SYNC_STACK_DURATION,
842 : viewState.dockAreaAlpha;
845 : viewState.hintTextAlpha;
[all …]
DDockState.java242 public final ViewState viewState; field in DockState
261 this.viewState = new ViewState(dockAreaAlpha, hintTextAlpha, hintTextOrientation, in DockState()
272 viewState.update(context); in update()
/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;