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

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

Completed in 126 milliseconds