/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackStateAnimator.java | 144 ExpandableViewState viewState = child.getViewState(); in startAnimationForEvents() local 145 if (viewState == null || child.getVisibility() == View.GONE in startAnimationForEvents() 146 || applyWithoutAnimation(child, viewState)) { in startAnimationForEvents() 153 initAnimationProperties(child, viewState, animationStaggerCount); in startAnimationForEvents() 154 viewState.animateTo(child, mAnimationProperties); in startAnimationForEvents() 167 ExpandableViewState viewState, int animationStaggerCount) { in initAnimationProperties() argument 170 adaptDurationWhenGoingToFullShade(child, viewState, wasAdded, animationStaggerCount); in initAnimationProperties() 173 && (viewState.yTranslation != child.getTranslationY() in initAnimationProperties() 174 || viewState.zTranslation != child.getTranslationZ() in initAnimationProperties() 175 || viewState.alpha != child.getAlpha() in initAnimationProperties() [all …]
|
D | NotificationChildrenContainer.java | 263 ExpandableViewState viewState = row.getViewState(); in addNotification() 264 if (viewState != null) { in addNotification() 265 viewState.cancelAnimations(row); in addNotification() 686 ExpandableViewState viewState = child.getViewState(); 687 viewState.applyToView(child); 692 tmpState.yTranslation = viewState.yTranslation - mDividerHeight; 693 float alpha = mChildrenExpanded && viewState.alpha != 0 ? mDividerAlpha : 0; 694 if (mUserLocked && !showingAsLowPriority() && viewState.alpha != 0) { 696 Math.min(viewState.alpha, expandFraction)); 765 ExpandableViewState viewState = child.getViewState(); [all …]
|
D | ViewState.java | 129 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()
|
D | ExpandableViewState.java | 118 public void copyFrom(ViewState viewState) { in copyFrom() argument 119 super.copyFrom(viewState); in copyFrom() 120 if (viewState instanceof ExpandableViewState) { in copyFrom() 121 ExpandableViewState svs = (ExpandableViewState) viewState; in copyFrom()
|
D | StackScrollAlgorithm.java | 354 ExpandableViewState viewState = v.getViewState(); in updateNotGoneIndex() local 355 viewState.notGoneIndex = notGoneIndex; in updateNotGoneIndex() 508 ExpandableViewState viewState = row.getViewState(); 509 viewState.hidden = false;
|
D | NotificationStackScrollLayout.java | 3397 ExpandableViewState viewState = row.getViewState(); 3398 if (viewState == null) { 3404 if (pinnedAndClosed || shouldHunAppearFromBottom(viewState)) { 3423 private boolean shouldHunAppearFromBottom(ExpandableViewState viewState) { 3424 if (viewState.yTranslation + viewState.height < mAmbientState.getMaxHeadsUpTranslation()) { 5411 ExpandableViewState viewState = child.getViewState(); 5412 if (viewState == null) { 5416 viewState.dump(fd, pw, args);
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Session.java | 362 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/bubbles/ |
D | BubbleExpandedView.java | 491 ExpandableViewState viewState = view.getViewState(); in applyRowState() local 492 viewState = viewState == null ? new ExpandableViewState() : viewState; in applyRowState() 493 viewState.height = view.getIntrinsicHeight(); in applyRowState() 494 viewState.gone = false; in applyRowState() 495 viewState.hidden = false; in applyRowState() 496 viewState.dimmed = false; in applyRowState() 497 viewState.dark = false; in applyRowState() 498 viewState.alpha = 1f; in applyRowState() 499 viewState.notGoneIndex = -1; in applyRowState() 500 viewState.xTranslation = 0; in applyRowState() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 213 ShelfState viewState = (ShelfState) getViewState(); in updateState() local 219 viewState.copyFrom(lastViewState); in updateState() 220 viewState.height = getIntrinsicHeight(); in updateState() 222 float awakenTranslation = Math.max(Math.min(viewEnd, maxShelfEnd) - viewState.height, in updateState() 226 viewState.yTranslation = awakenTranslation + mDarkShelfPadding * yRatio; in updateState() 227 viewState.zTranslation = ambientState.getBaseZHeight(); in updateState() 232 float openedAmount = (viewState.yTranslation - getFullyClosedTranslation()) in updateState() 235 viewState.openedAmount = openedAmount; in updateState() 236 viewState.clipTopAmount = 0; in updateState() 237 viewState.alpha = 1; in updateState() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 520 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 …]
|
D | DockState.java | 242 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/ |
D | StateSet.java | 87 final int viewState = R.styleable.ViewDrawableStates[i]; 89 if (VIEW_STATE_IDS[j] == viewState) { 90 orderedIds[i * 2] = viewState;
|