Home
last modified time | relevance | path

Searched refs:childState (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java111 int childState = 0; in tryOnMeasure() local
118 childState = combineMeasuredStates(childState, topPanel.getMeasuredState()); in tryOnMeasure()
129 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
146 childState = combineMeasuredStates(childState, middlePanel.getMeasuredState()); in tryOnMeasure()
168 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
188 childState = combineMeasuredStates(childState, middlePanel.getMeasuredState()); in tryOnMeasure()
202 final int widthSizeAndState = resolveSizeAndState(maxWidth, widthMeasureSpec, childState); in tryOnMeasure()
DDialogViewAnimator.java49 int childState = 0; in onMeasure() local
83 childState = combineMeasuredStates(childState, state); in onMeasure()
102 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
104 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DActionBarOverlayLayout.java368 int childState = 0;
379 childState = combineMeasuredStates(childState, mActionBarTop.getMeasuredState());
389 childState = combineMeasuredStates(childState, mActionBarBottom.getMeasuredState());
452 childState = combineMeasuredStates(childState, mContent.getMeasuredState());
462 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
464 childState << MEASURED_HEIGHT_STATE_SHIFT));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollAlgorithm.java287 StackViewState childState in initAlgorithmState() local
289 childState.notGoneIndex = notGoneIndex; in initAlgorithmState()
411 StackViewState childState = resultState.getViewStateForView(row); in updateHeadsUpStates() local
414 childState.location = StackViewState.LOCATION_FIRST_HUN; in updateHeadsUpStates()
417 float unmodifiedEndLocation = childState.yTranslation + childState.height; in updateHeadsUpStates()
420 clampHunToTop(ambientState, row, childState); in updateHeadsUpStates()
421 clampHunToMaxTranslation(ambientState, row, childState); in updateHeadsUpStates()
424 childState.yTranslation = Math.max(childState.yTranslation, 0); in updateHeadsUpStates()
425 childState.height = Math.max(row.getIntrinsicHeight(), childState.height); in updateHeadsUpStates()
431 childState.height = row.getIntrinsicHeight(); in updateHeadsUpStates()
[all …]
DNotificationChildrenContainer.java450 StackViewState childState = resultState.getViewStateForView(child);
455 if (updateChildStateForExpandedGroup(child, parentHeight, childState, yPosition)) {
458 childState.isBottomClipped = true;
461 childState.hidden = false;
462 childState.height = intrinsicHeight;
463 childState.isBottomClipped = false;
465 childState.yTranslation = yPosition;
468 childState.zTranslation = childrenExpanded
471 childState.dimmed = parentState.dimmed;
472 childState.dark = parentState.dark;
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java62 int childState = 0; in onMeasure() local
101 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
120 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
122 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java70 int childState = 0; in onMeasure() local
79 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
104 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
106 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DToolbar.java1549 int childState = 0; in onMeasure() local
1571 childState = combineMeasuredStates(childState, mNavButtonView.getMeasuredState()); in onMeasure()
1581 childState = combineMeasuredStates(childState, mCollapseButtonView.getMeasuredState()); in onMeasure()
1595 childState = combineMeasuredStates(childState, mMenuView.getMeasuredState()); in onMeasure()
1607 childState = combineMeasuredStates(childState, mExpandedActionView.getMeasuredState()); in onMeasure()
1615 childState = combineMeasuredStates(childState, mLogoView.getMeasuredState()); in onMeasure()
1630 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
1643 childState = combineMeasuredStates(childState, mTitleTextView.getMeasuredState()); in onMeasure()
1652 childState = combineMeasuredStates(childState, mSubtitleTextView.getMeasuredState()); in onMeasure()
1665 widthMeasureSpec, childState & MEASURED_STATE_MASK); in onMeasure()
[all …]
DFrameLayout.java180 int childState = 0; in onMeasure() local
191 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
216 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
218 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DLinearLayout.java694 int childState = 0; in measureVertical() local
810 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureVertical()
914 childState = combineMeasuredStates(childState, child.getMeasuredState() in measureVertical()
976 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
1021 int childState = 0; in measureHorizontal() local
1154 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureHorizontal()
1298 childState = combineMeasuredStates(childState, in measureHorizontal()
1391 setMeasuredDimension(widthSizeAndState | (childState&MEASURED_STATE_MASK), in measureHorizontal()
1393 (childState<<MEASURED_HEIGHT_STATE_SHIFT))); in measureHorizontal()
DGridView.java1060 int childState = 0; in onMeasure() local
1084 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
DListView.java1198 int childState = 0; in onMeasure() local
1211 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
1223 widthSize |= (childState & MEASURED_STATE_MASK); in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1566 int childState = 0; in onMeasure() local
1588 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1599 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1614 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1627 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1636 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1652 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1666 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1676 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1690 widthMeasureSpec, childState & ViewCompat.MEASURED_STATE_MASK); in onMeasure()
[all …]
DActionBarOverlayLayout.java333 int childState = 0; in onMeasure() local
344 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
397 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
409 ViewCompat.resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
411 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DLinearLayoutCompat.java590 int childState = 0; in measureVertical() local
703 childState = ViewUtils.combineMeasuredStates(childState, in measureVertical()
814 childState = ViewUtils.combineMeasuredStates(childState, in measureVertical()
878 setMeasuredDimension(ViewCompat.resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
923 int childState = 0; in measureHorizontal() local
1051 childState = ViewUtils.combineMeasuredStates(childState, in measureHorizontal()
1204 childState = ViewUtils.combineMeasuredStates(childState, in measureHorizontal()
1298 setMeasuredDimension(widthSizeAndState | (childState&ViewCompat.MEASURED_STATE_MASK), in measureHorizontal()
1300 (childState<<ViewCompat.MEASURED_HEIGHT_STATE_SHIFT))); in measureHorizontal()
/frameworks/base/core/java/android/app/
DLocalActivityManager.java501 final Bundle childState = new Bundle(); in saveInstanceState() local
502 r.activity.performSaveInstanceState(childState); in saveInstanceState()
503 r.instanceState = childState; in saveInstanceState()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java454 final int childState = ViewCompat.getMeasuredState(mCurrText); in onMeasure() local
456 childState << ViewCompat.MEASURED_HEIGHT_STATE_SHIFT); in onMeasure()
/frameworks/base/media/java/android/media/tv/
DTvView.java718 int childState = mSurfaceView.getMeasuredState(); in onMeasure() local
719 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
721 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java697 int childState = 0; in onMeasure() local
749 childState = ViewCompat.combineMeasuredStates(childState, in onMeasure()
754 childState & ViewCompat.MEASURED_STATE_MASK); in onMeasure()
756 childState << ViewCompat.MEASURED_HEIGHT_STATE_SHIFT); in onMeasure()
/frameworks/base/core/java/android/view/
DViewGroup.java6499 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
6501 if (childState != null) { in onCreateDrawableState()
6502 need += childState.length; in onCreateDrawableState()
6509 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
6511 if (childState != null) { in onCreateDrawableState()
6512 state = mergeDrawableStates(state, childState); in onCreateDrawableState()