/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ControlPanelLayout.java | 40 protected void onMeasure(int widthSpec, int heightSpec) { 41 int widthSpecSize = MeasureSpec.getSize(widthSpec); 50 mode = MeasureSpec.getMode(widthSpec); 81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); 86 super.onMeasure(widthSpec, heightSpec);
|
RotateLayout.java | 65 protected void onMeasure(int widthSpec, int heightSpec) { 70 measureChild(mChild, widthSpec, heightSpec); 76 measureChild(mChild, heightSpec, widthSpec);
|
IndicatorControlWheelContainer.java | 117 protected void onMeasure(int widthSpec, int heightSpec) { 128 int widthMode = MeasureSpec.getMode(widthSpec); 134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); 136 measuredWidth = MeasureSpec.getSize(widthSpec);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 70 protected void onMeasure(int widthSpec, int heightSpec) { 75 measureChild(mChild, widthSpec, heightSpec); 81 measureChild(mChild, heightSpec, widthSpec);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
MeasureHelper.java | 45 public void measure(int widthSpec, int heightSpec) { 48 getLength(widthSpec, mPreferredWidth + p.left + p.right),
|
GLView.java | 365 public void measure(int widthSpec, int heightSpec) { 366 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec 371 mLastWidthSpec = widthSpec; 375 onMeasure(widthSpec, heightSpec); 382 protected void onMeasure(int widthSpec, int heightSpec) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreviewFrameLayout.java | 63 protected void onMeasure(int widthSpec, int heightSpec) { 64 int previewWidth = MeasureSpec.getSize(widthSpec);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateLayout.java | 133 protected void onMeasure(int widthSpec, int heightSpec) { 138 measureChild(mChild, widthSpec, heightSpec); 144 measureChild(mChild, heightSpec, widthSpec);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
HierarchicalMove.java | 100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; 101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT);
|
/packages/apps/Camera/src/com/android/camera/ |
PreviewFrameLayout.java | 85 protected void onMeasure(int widthSpec, int heightSpec) { 86 int previewWidth = MeasureSpec.getSize(widthSpec);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 183 final int widthSpec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY); 185 mButton.measure(widthSpec, heightSpec); 242 int widthSpec; 255 widthSpec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY); 257 view.measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/android/transition/ |
TransitionUtils.java | 104 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); 106 copy.measure(widthSpec, heightSpec);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 195 protected void onMeasure(int widthSpec, int heightSpec) { 196 final int widthMode = MeasureSpec.getMode(widthSpec); 199 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + 207 final int widthSize = MeasureSpec.getSize(widthSpec);
|
MultiPaneChallengeLayout.java | 208 protected void onMeasure(final int widthSpec, final int heightSpec) { 209 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || 215 final int width = MeasureSpec.getSize(widthSpec); 253 int adjustedWidthSpec = widthSpec; 275 child.measure(widthSpec, heightSpec);
|
SlidingChallengeLayout.java | 813 protected void onMeasure(int widthSpec, int heightSpec) { 814 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || 819 final int width = MeasureSpec.getSize(widthSpec); [all...] |
/frameworks/base/core/java/android/widget/ |
ListPopupWindow.java | 570 int widthSpec = 0; 580 widthSpec = -1; 582 widthSpec = getAnchorView().getWidth(); 584 widthSpec = mDropDownWidth; 610 mDropDownVerticalOffset, widthSpec, heightSpec); 613 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 632 mPopup.setWindowLayoutMode(widthSpec, heightSpec); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListPopupWindow.java | 573 int widthSpec = 0; 582 widthSpec = -1; 584 widthSpec = getAnchorView().getWidth(); 586 widthSpec = mDropDownWidth; 612 mDropDownVerticalOffset, widthSpec, heightSpec); 615 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 634 mPopup.setWindowLayoutMode(widthSpec, heightSpec); [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseCardView.java | 647 int widthSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); 653 extraView.measure(widthSpec, heightSpec); 690 int widthSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); 696 extraView.measure(widthSpec, heightSpec); [all...] |
GridLayoutManager.java | 800 private void measureScrapChild(int position, int widthSpec, int heightSpec, 805 int childWidthSpec = ViewGroup.getChildMeasureSpec(widthSpec, 914 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { 920 sizePrimary = MeasureSpec.getSize(widthSpec); 925 sizeSecondary = MeasureSpec.getSize(widthSpec); 927 modeSecondary = MeasureSpec.getMode(widthSpec); 930 if (DEBUG) Log.v(getTag(), "onMeasure widthSpec " + Integer.toHexString(widthSpec) + [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
GridLayoutManager.java | 478 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec) { 481 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mDecorInsets.left, 485 child.measure(widthSpec, heightSpec);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 359 int widthSpec; 363 widthSpec = View.MeasureSpec 366 widthSpec = View.MeasureSpec 376 view.measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 219 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); 221 if (computeMeasurements(widthSpec)) {
|
ResolverDrawerLayout.java | 558 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 569 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed); 581 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 787 child.measure(widthSpec, heightSpec); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewCoordinates.java | 320 final int widthSpec = MeasureSpec.makeMeasureSpec(config.getWidth(), MeasureSpec.EXACTLY); 323 view.measure(widthSpec, heightSpec);
|