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

/frameworks/base/core/java/android/view/
H A DView.java408 * {@link MeasureSpec} class is used by views to tell their parents how they
426 * child. A MeasureSpec can be in one of three modes:
17521 widthMeasureSpec = MeasureSpec.adjust(widthMeasureSpec, optical ? -oWidth : oWidth);
17522 heightMeasureSpec = MeasureSpec.adjust(heightMeasureSpec, optical ? -oHeight : oHeight);
17530 final boolean isExactly = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY &&
17531 MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY;
17533 getMeasuredWidth() == MeasureSpec.getSize(widthMeasureSpec) &&
17534 getMeasuredHeight() == MeasureSpec
19717 public static class MeasureSpec { class in class:View
[all...]

Completed in 1455 milliseconds