Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java71 ExpandableViewState viewState = mStateMap.get(view); in resetViewState() local
72 if (viewState == null) { in resetViewState()
73 viewState = view.createNewViewState(this); in resetViewState()
74 mStateMap.put(view, viewState); in resetViewState()
77 viewState.height = view.getIntrinsicHeight(); in resetViewState()
78 viewState.gone = view.getVisibility() == View.GONE; in resetViewState()
79 viewState.alpha = 1f; in resetViewState()
80 viewState.shadowAlpha = 1f; in resetViewState()
81 viewState.notGoneIndex = -1; in resetViewState()
82 viewState.xTranslation = view.getTranslationX(); in resetViewState()
[all …]
DStackStateAnimator.java141 ExpandableViewState viewState = finalState.getViewStateForView(child); in startAnimationForEvents() local
142 if (viewState == null || child.getVisibility() == View.GONE in startAnimationForEvents()
143 || applyWithoutAnimation(child, viewState, finalState)) { in startAnimationForEvents()
147 initAnimationProperties(finalState, child, viewState); in startAnimationForEvents()
148 viewState.animateTo(child, mAnimationProperties); in startAnimationForEvents()
161 ExpandableViewState viewState) { in initAnimationProperties() argument
164 adaptDurationWhenGoingToFullShade(child, viewState, wasAdded); in initAnimationProperties()
167 && (viewState.yTranslation != child.getTranslationY() in initAnimationProperties()
168 || viewState.zTranslation != child.getTranslationZ() in initAnimationProperties()
169 || viewState.alpha != child.getAlpha() in initAnimationProperties()
[all …]
DNotificationChildrenContainer.java273 ExpandableNotificationRow.NotificationViewState viewState = row.getViewState(); in addNotification()
274 if (viewState != null) { in addNotification()
275 viewState.cancelAnimations(row); in addNotification()
733 ExpandableViewState viewState = state.getViewStateForView(child);
734 viewState.applyToView(child);
739 tmpState.yTranslation = viewState.yTranslation - mDividerHeight;
740 float alpha = mChildrenExpanded && viewState.alpha != 0 ? mDividerAlpha : 0;
741 if (mUserLocked && !showingAsLowPriority() && viewState.alpha != 0) {
743 Math.min(viewState.alpha, expandFraction));
812 ExpandableViewState viewState = state.getViewStateForView(child);
[all …]
DViewState.java123 public void copyFrom(ViewState viewState) { in copyFrom() argument
124 alpha = viewState.alpha; in copyFrom()
125 xTranslation = viewState.xTranslation; in copyFrom()
126 yTranslation = viewState.yTranslation; in copyFrom()
127 zTranslation = viewState.zTranslation; in copyFrom()
128 gone = viewState.gone; in copyFrom()
129 hidden = viewState.hidden; in copyFrom()
130 scaleX = viewState.scaleX; in copyFrom()
131 scaleY = viewState.scaleY; in copyFrom()
DStackScrollAlgorithm.java223 ExpandableViewState viewState = resultState.getViewStateForView( in handleDraggedViews() local
227 viewState.shadowAlpha = 1; in handleDraggedViews()
228 viewState.hidden = false; in handleDraggedViews()
233 ExpandableViewState viewState = resultState.getViewStateForView(draggedView); in handleDraggedViews() local
235 viewState.alpha = draggedView.getAlpha(); in handleDraggedViews()
356 ExpandableViewState viewState = resultState.getViewStateForView(v); in updateNotGoneIndex() local
357 viewState.notGoneIndex = notGoneIndex; in updateNotGoneIndex()
DExpandableViewState.java122 public void copyFrom(ViewState viewState) { in copyFrom() argument
123 super.copyFrom(viewState); in copyFrom()
124 if (viewState instanceof ExpandableViewState) { in copyFrom()
125 ExpandableViewState svs = (ExpandableViewState) viewState; in copyFrom()
DNotificationStackScrollLayout.java3215 ExpandableViewState viewState = mCurrentStackScrollState.getViewStateForView(row);
3216 if (viewState == null) {
3222 if (pinnedAndClosed || shouldHunAppearFromBottom(viewState)) {
3240 private boolean shouldHunAppearFromBottom(ExpandableViewState viewState) {
3241 if (viewState.yTranslation + viewState.height < mAmbientState.getMaxHeadsUpTranslation()) {
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java306 final ViewState viewState = new ViewState(Session.this, urlBarId,
308 mViewStates.put(urlBarId, viewState);
428 final ViewState viewState = mViewStates.valueAt(i); in fillContextWithAllowedValuesLocked() local
434 "fillContextWithAllowedValuesLocked(): no node for " + viewState.id); in fillContextWithAllowedValuesLocked()
439 final AutofillValue currentValue = viewState.getCurrentValue(); in fillContextWithAllowedValuesLocked()
440 final AutofillValue filledValue = viewState.getAutofilledValue(); in fillContextWithAllowedValuesLocked()
450 overlay.focused = mCurrentViewId.equals(viewState.id); in fillContextWithAllowedValuesLocked()
1169 final ViewState viewState = mViewStates.valueAt(i); in logContextCommittedLocked() local
1170 final int state = viewState.getState(); in logContextCommittedLocked()
1178 final String datasetId = viewState.getDatasetId(); in logContextCommittedLocked()
[all …]
/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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
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()