/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 84 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 85 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 91 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
MatchParentShrinkingLinearLayout.java | 597 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 599 measureVertical(widthMeasureSpec, heightMeasureSpec); 601 measureHorizontal(widthMeasureSpec, heightMeasureSpec); 635 * @param heightMeasureSpec Vertical space requirements as imposed by the parent. 641 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { 653 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 709 child, i, widthMeasureSpec, 0, heightMeasureSpec, 813 // Reconcile our calculated size with the heightMeasureSpec 814 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); [all...] |
/frameworks/base/core/java/android/widget/ |
FrameLayout.java | 170 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 175 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; 185 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 217 resolveSizeAndState(maxHeight, heightMeasureSpec, 248 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec,
|
ActionMenuView.java | 141 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 160 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); 168 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 172 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { 174 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 176 int heightSize = MeasureSpec.getSize(heightMeasureSpec); 181 final int itemHeightSpec = getChildMeasureSpec(heightMeasureSpec, heightPadding,
|
LinearLayout.java | 683 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 685 measureVertical(widthMeasureSpec, heightMeasureSpec); 687 measureHorizontal(widthMeasureSpec, heightMeasureSpec); 730 * @param heightMeasureSpec Vertical space requirements as imposed by the parent. 736 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { 748 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 807 heightMeasureSpec, usedHeight); [all...] |
ActivityChooserView.java | 465 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 471 heightMeasureSpec = MeasureSpec.makeMeasureSpec(MeasureSpec.getSize(heightMeasureSpec), 474 measureChild(child, widthMeasureSpec, heightMeasureSpec); 806 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 811 itemView.measure(widthMeasureSpec, heightMeasureSpec);
|
AbsSpinner.java | 176 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 220 measureChild(view, widthMeasureSpec, heightMeasureSpec); 240 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0); 244 mHeightMeasureSpec = heightMeasureSpec;
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
PagerTitleStrip.java | 416 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 423 final int childHeightSpec = getChildMeasureSpec(heightMeasureSpec, 436 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 438 height = MeasureSpec.getSize(heightMeasureSpec); 446 final int measuredHeight = View.resolveSizeAndState(height, heightMeasureSpec,
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
AsyncImageView.java | 301 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 302 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 323 final int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); 335 getMinimumHeight(), getMaxHeight(), heightMeasureSpec); 344 getMaxHeight(), heightMeasureSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 84 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 102 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mContentHeight, MeasureSpec.EXACTLY); 108 mTabLayout.measure(MeasureSpec.UNSPECIFIED, heightMeasureSpec); 119 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 400 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 401 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 406 heightMeasureSpec);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 144 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 163 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); 171 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 175 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { 177 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 179 int heightSize = MeasureSpec.getSize(heightMeasureSpec); 184 final int itemHeightSpec = getChildMeasureSpec(heightMeasureSpec, heightPadding,
|
ScrollingTabContainerView.java | 94 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 112 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mContentHeight, MeasureSpec.EXACTLY); 118 mTabLayout.measure(MeasureSpec.UNSPECIFIED, heightMeasureSpec); 129 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 436 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 437 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 442 heightMeasureSpec);
|
ActivityChooserView.java | 455 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 461 heightMeasureSpec = MeasureSpec.makeMeasureSpec(MeasureSpec.getSize(heightMeasureSpec), 464 measureChild(child, widthMeasureSpec, heightMeasureSpec); 796 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 801 itemView.measure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/core/java/android/app/ |
FragmentBreadCrumbs.java | 242 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 253 measureChild(child, widthMeasureSpec, heightMeasureSpec); 270 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
MediaRouteButton.java | 278 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 280 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); 282 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
DragLayout.java | 71 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 72 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 73 measureChildren(widthMeasureSpec, heightMeasureSpec);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CommonControllerOverlay.java | 302 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 303 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 304 measureChildren(widthMeasureSpec, heightMeasureSpec);
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
PageIndicatorDots.java | 229 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 233 int height= MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY ? 234 MeasureSpec.getSize(heightMeasureSpec) : (int) (4 * mDotRadius);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
BoxInsetLayout.java | 108 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 143 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 169 resolveSizeAndState(maxHeight, heightMeasureSpec, 227 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec,
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
JoystickView.java | 80 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
PageIndicatorView.java | 569 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 578 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY) { 579 totalHeight = MeasureSpec.getSize(heightMeasureSpec); 589 resolveSizeAndState(totalHeight, heightMeasureSpec, 0));
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
CallTypeIconsView.java | 100 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
PhoneFavoriteSquareTileView.java | 98 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
GalleryGridItemView.java | 60 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 74 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|