/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
AutoSizingTextClock.java | 45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 46 mTextSizeHelper.onMeasure(widthMeasureSpec, heightMeasureSpec); 47 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
AutoSizingTextView.java | 44 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 45 mTextSizeHelper.onMeasure(widthMeasureSpec, heightMeasureSpec); 46 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
EllipsizeLayout.java | 59 * @param heightMeasureSpec vertical space requirements as imposed by the parent 62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 93 measureChildWithMargins(child, queryWidthMeasureSpec, 0, heightMeasureSpec, 0); 122 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
TextSizeHelper.java | 55 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 63 if (View.MeasureSpec.getMode(heightMeasureSpec) != View.MeasureSpec.UNSPECIFIED) { 64 heightConstraint = View.MeasureSpec.getSize(heightMeasureSpec)
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
DialpadTextView.java | 62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 63 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 68 int height = resolveSize(mTextBounds.height(), heightMeasureSpec);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
FixedAspectSurfaceView.java | 68 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 70 int height = MeasureSpec.getSize(heightMeasureSpec); 81 height = View.resolveSizeAndState(height, heightMeasureSpec, 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
CenteredLinearLayout.java | 38 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec); 48 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
SeekBarRotator.java | 51 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 56 measureChild(child, heightMeasureSpec, widthMeasureSpec); 63 resolveSizeAndState(0, heightMeasureSpec, 0));
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
ManualLayoutFrame.java | 37 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 54 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 59 measureChild(getChildAt(0), widthMeasureSpec, heightMeasureSpec);
|
ButtonBarLayout.java | 52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 79 super.onMeasure(initialWidthMeasureSpec, heightMeasureSpec); 93 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
DialpadTextView.java | 63 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 69 int height = resolveSize(mTextBounds.height(), heightMeasureSpec);
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
FlowLayout.java | 36 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 40 MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); 48 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { 72 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.UNSPECIFIED) { 74 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) {
|
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/ |
PreferenceImageView.java | 89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 100 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 102 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); 106 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); 110 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
ReferenceViewGroup.java | 47 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 49 heightMeasureSpec = getMeasureSpec(LayoutParams.MATCH_PARENT, mHeightDp); 51 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
WatchListDecorLayout.java | 112 private void applyMeasureToChild(View child, int widthMeasureSpec, int heightMeasureSpec) { 137 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, 146 private int measureAndGetHeight(View child, int widthMeasureSpec, int heightMeasureSpec) { 149 applyMeasureToChild(mBottomPanel, widthMeasureSpec, heightMeasureSpec); 152 applyMeasureToChild(mBottomPanel, widthMeasureSpec, heightMeasureSpec); 159 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 164 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; 174 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 206 resolveSizeAndState(maxHeight, heightMeasureSpec, 216 measureAndGetHeight(mTopPanel, widthMeasureSpec, heightMeasureSpec)); [all...] |
WeightedLinearLayout.java | 57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 88 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidedActionsRelativeLayout.java | 48 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 49 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); 63 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
FixedAspectSurfaceView.java | 85 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 88 int heightMode = MeasureSpec.getMode(heightMeasureSpec); 90 int height = MeasureSpec.getSize(heightMeasureSpec); 143 height = View.resolveSizeAndState(height, heightMeasureSpec, 0);
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
FixedAspectSurfaceView.java | 86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); 91 int height = MeasureSpec.getSize(heightMeasureSpec); 144 height = View.resolveSizeAndState(height, heightMeasureSpec, 0);
|
VerticalSeekBar.java | 47 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 48 super.onMeasure(heightMeasureSpec, widthMeasureSpec);
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
FixedAspectSurfaceView.java | 86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); 91 int height = MeasureSpec.getSize(heightMeasureSpec); 144 height = View.resolveSizeAndState(height, heightMeasureSpec, 0);
|
/frameworks/support/percent/src/android/support/percent/ |
PercentFrameLayout.java | 157 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 158 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec); 159 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 161 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/packages/apps/Calendar/src/com/android/calendar/ |
ExpandableTextView.java | 72 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 75 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 86 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 101 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/core/java/android/widget/ |
Space.java | 95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 98 getDefaultSize2(getSuggestedMinimumHeight(), heightMeasureSpec));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcutAppItemLayout.java | 45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 58 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|