Searched defs:MeasureSpec (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/view/
H A DView.java423 * {@link MeasureSpec} class is used by views to tell their parents how they
441 * child. A MeasureSpec can be in one of three modes:
796 * Always return a size of 0 for MeasureSpec values with a mode of UNSPECIFIED
19699 widthMeasureSpec = MeasureSpec.adjust(widthMeasureSpec, optical ? -oWidth : oWidth);
19700 heightMeasureSpec = MeasureSpec.adjust(heightMeasureSpec, optical ? -oHeight : oHeight);
19714 final boolean isSpecExactly = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY
19715 && MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY;
19716 final boolean matchesSpecSize = getMeasuredWidth() == MeasureSpec
22081 public static class MeasureSpec { class in class:View
[all...]

Completed in 1820 milliseconds