Home
last modified time | relevance | path

Searched refs:heightMeasureSpec (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/widget/
DFullHeightLinearLayout.java44 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
45 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
46 heightMeasureSpec = MeasureSpec.makeMeasureSpec( in onMeasure()
47 MeasureSpec.getSize(heightMeasureSpec), MeasureSpec.EXACTLY); in onMeasure()
49 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DInterpolatingLayout.java204 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
206 int parentHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
269 fillChild.measure(childMeasureSpec, heightMeasureSpec); in onMeasure()
275 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec)); in onMeasure()
/packages/apps/Gallery2/src/com/android/photos/views/
DSquareImageView.java39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
46 height = Math.min(height, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DHeaderGridView.java79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
80 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
197 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
203 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DBalloonHint.java239 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, in setBalloonSize() local
241 mBalloonView.measure(widthMeasureSpec, heightMeasureSpec); in setBalloonSize()
389 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
391 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
393 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DCandidatesContainer.java230 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
237 heightMeasureSpec = MeasureSpec.makeMeasureSpec(measuredHeight, in onMeasure()
239 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Calendar/src/com/android/calendar/
DExpandableTextView.java72 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
75 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
86 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
101 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java142 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
146 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
147 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
163 resolveSizeAndState((int) (mDialHeight * scale), heightMeasureSpec, 0)); in onMeasure() local
DCircleButtonsLinearLayout.java63 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
69 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Browser/src/com/android/browser/
DBreadCrumbView.java323 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
324 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
329 int mode = View.MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
332 if (View.MeasureSpec.getSize(heightMeasureSpec) < height) { in onMeasure()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DExpandedGridView.java29 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
33 heightMeasureSpec = MeasureSpec.makeMeasureSpec(65536, MeasureSpec.AT_MOST); in onMeasure()
34 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DStackLayout.java33 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
38 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
45 resolveSize(height, heightMeasureSpec)); in onMeasure()
/packages/apps/Camera/src/com/android/camera/ui/
DExpandedGridView.java29 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
33 heightMeasureSpec = MeasureSpec.makeMeasureSpec(65536, MeasureSpec.AT_MOST); in onMeasure()
34 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Gallery2/src/com/android/camera/ui/
DExpandedGridView.java29 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
33 heightMeasureSpec = MeasureSpec.makeMeasureSpec(65536, MeasureSpec.AT_MOST); in onMeasure()
34 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DCameraRootView.java64 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
104 heightMeasureSpec - mTopMargin - mBottomMargin); in onMeasure()
106 setMeasuredDimension(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DCenteredLinearLayout.java38 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
48 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java26 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
53 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure()
71 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Email/src/com/android/email/view/
DSizeBoundingFrameLayout.java82 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
84 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
86 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DProportionalLayout.java90 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
98 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
118 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec)); in onMeasure()
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
56 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
66 resolveSize(height, heightMeasureSpec)); in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayoutChildren.java78 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
82 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
83 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DAppsCustomizeTabHost.java144 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
146 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
157 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DChartView.java84 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
85 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
91 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragmentCarousel.java101 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
103 int screenHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
135 resolveSize(screenHeight, heightMeasureSpec)); in onMeasure()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCommonControllerOverlay.java298 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
299 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
300 measureChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure()

123