Home
last modified time | relevance | path

Searched refs:widthMeasureSpec (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Browser/src/com/android/browser/view/
DSnapshotGridView.java41 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
42 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
43 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
49 widthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); in onMeasure()
51 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DBookmarkExpandableView.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
90 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
91 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
95 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, widthMode); in onMeasure()
97 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DOneRowGridView.java39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
43 widthMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure()
45 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()
44 setMeasuredDimension(resolveSize(width, widthMeasureSpec), in onMeasure()
DExpandedGridView.java29 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
34 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/apps/Camera/src/com/android/camera/ui/
DStackLayout.java34 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
39 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
45 setMeasuredDimension(resolveSize(width, widthMeasureSpec), in onMeasure()
DExpandedGridView.java29 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
34 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/Email/src/com/android/email/view/
DSizeBoundingFrameLayout.java82 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
83 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
85 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFullHeightLinearLayout.java44 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
49 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
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()
DInterpolatingLayout.java204 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
205 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
275 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec)); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DChartView.java85 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
86 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
91 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY); in onMeasure()
92 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DBalloonHint.java237 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, in setBalloonSize() local
241 mBalloonView.measure(widthMeasureSpec, heightMeasureSpec); in setBalloonSize()
389 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
390 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
392 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
DCandidatesContainer.java230 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
235 widthMeasureSpec = MeasureSpec.makeMeasureSpec(measuredWidth, in onMeasure()
239 super.onMeasure(widthMeasureSpec, 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()
65 setMeasuredDimension(resolveSize(width, widthMeasureSpec), in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayoutChildren.java78 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
79 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
80 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
DPagedViewGridLayout.java59 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
65 MeasureSpec.getSize(widthMeasureSpec)); in onMeasure()
DShortcutAndWidgetContainer.java91 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
97 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragmentCarousel.java101 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
102 int screenWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
132 resolveSize(screenWidth, widthMeasureSpec), in onMeasure()
DContactDetailTabCarousel.java157 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
158 int screenWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
200 resolveSize(screenWidth, widthMeasureSpec), in onMeasure()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileAdapter.java605 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
609 onMeasureForTiles(widthMeasureSpec);
612 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
617 private void onMeasureForTiles(int widthMeasureSpec) {
618 final int width = MeasureSpec.getSize(widthMeasureSpec);
DContactListPinnedHeaderView.java97 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
100 int width = resolveSize(0, widthMeasureSpec); in onMeasure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java90 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
97 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestionsView.java97 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
104 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()

123