Home | History | Annotate | Download | only in stack

Lines Matching refs:childViewState

181             StackScrollState.ViewState childViewState = resultState.getViewStateForView(child);
185 childViewState.belowSpeedBump = speedBumpIndex != -1 && i >= speedBumpIndex;
263 StackScrollState.ViewState childViewState = resultState.getViewStateForView(child);
264 childViewState.dimmed = dimmed;
265 childViewState.dark = dark;
266 childViewState.hideSensitive = hideSensitive;
268 childViewState.scale = !mScaleDimmed || !dimmed || isActivatedChild
272 childViewState.zTranslation += 2.0f * mZDistanceBetweenElements;
348 StackScrollState.ViewState childViewState = resultState.getViewStateForView(child);
349 childViewState.location = StackScrollState.ViewState.LOCATION_UNKNOWN;
363 childViewState.yTranslation = currentYPosition;
373 numberOfElementsCompletelyIn, i, childHeight, childViewState, scrollOffset);
374 clampPositionToTopStackEnd(childViewState, childHeight);
377 if (childViewState.yTranslation + childHeight + mPaddingBetweenElements
381 childViewState.yTranslation, mCollapsedSize);
382 childViewState.height = newSize;
384 bottomPeekStart, childViewState.yTranslation, childViewState,
387 clampPositionToBottomStackStart(childViewState, childViewState.height);
395 bottomStackStart, childViewState, childHeight);
401 childViewState, childHeight);
406 childViewState.location = StackScrollState.ViewState.LOCATION_MAIN_AREA;
407 clampYTranslation(childViewState, childHeight);
412 childViewState.alpha = 1.0f;
413 childViewState.yTranslation = Math.max(mCollapsedSize - algorithmState.scrollY, 0);
414 if (childViewState.yTranslation + childViewState.height
416 childViewState.height = (int) Math.max(
418 - childViewState.yTranslation, mCollapsedSize);
420 childViewState.location = StackScrollState.ViewState.LOCATION_FIRST_CARD;
422 if (childViewState.location == StackScrollState.ViewState.LOCATION_UNKNOWN) {
425 currentYPosition = childViewState.yTranslation + childHeight + mPaddingBetweenElements;
428 childViewState.yTranslation += mTopPadding;
435 * @param childViewState the view state of the child
438 private void clampYTranslation(StackScrollState.ViewState childViewState, int childHeight) {
439 clampPositionToBottomStackStart(childViewState, childHeight);
440 clampPositionToTopStackEnd(childViewState, childHeight);
447 * @param childViewState the view state of the child
450 private void clampPositionToBottomStackStart(StackScrollState.ViewState childViewState,
452 childViewState.yTranslation = Math.min(childViewState.yTranslation,
460 * @param childViewState the view state of the child
463 private void clampPositionToTopStackEnd(StackScrollState.ViewState childViewState,
465 childViewState.yTranslation = Math.max(childViewState.yTranslation,
482 StackScrollState.ViewState childViewState, int childHeight) {
496 childViewState.height = newHeight;
498 childViewState.yTranslation = transitioningPositionStart + offset - newHeight
502 clampPositionToTopStackEnd(childViewState, newHeight);
503 childViewState.location = StackScrollState.ViewState.LOCATION_MAIN_AREA;
507 float transitioningPositionStart, StackScrollState.ViewState childViewState,
517 childViewState.location = StackScrollState.ViewState.LOCATION_BOTTOM_STACK_PEEKING;
521 childViewState.alpha = 0.0f;
524 childViewState.alpha = 1.0f - algorithmState.partialInBottom;
526 childViewState.location = StackScrollState.ViewState.LOCATION_BOTTOM_STACK_HIDDEN;
529 childViewState.yTranslation = currentYPosition - childHeight;
530 clampPositionToTopStackEnd(childViewState, childHeight);
535 StackScrollState.ViewState childViewState, float scrollOffset) {
552 childViewState.yTranslation = scrollOffset;
565 childViewState.yTranslation = currentChildEndY - childHeight;
567 childViewState.location = StackScrollState.ViewState.LOCATION_TOP_STACK_PEEKING;
570 childViewState.alpha = 1.0f - algorithmState.partialInTop;
573 childViewState.alpha = 0.0f;
575 childViewState.yTranslation = mCollapsedSize - childHeight;
576 childViewState.location = StackScrollState.ViewState.LOCATION_TOP_STACK_HIDDEN;
598 StackScrollState.ViewState childViewState = resultState.getViewStateForView(child);
613 childViewState.height = (int) Math.max(Math.min(bottomPeekStart, maxHeight),
621 childViewState.height = mCollapsedSize;
643 childViewState.height = (int) newSize;
669 StackScrollState.ViewState childViewState = resultState.getViewStateForView(child);
687 childViewState.zTranslation = mZBasicHeight
693 childViewState.zTranslation = translationZ;
695 childViewState.zTranslation = mZBasicHeight;