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

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

Completed in 1009 milliseconds