HomeSort by relevance Sort by last modified time
    Searched refs:MeasureSpec (Results 76 - 100 of 357) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/tests/tests/text/src/android/text/cts/
EmojiTest.java 193 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
194 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
217 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
218 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
241 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
HorizontalHoverCardSwitcher.java 20 import android.view.View.MeasureSpec;
49 view.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewGridLayout.java 65 MeasureSpec.getSize(widthMeasureSpec));
66 int widthSpecMode = MeasureSpec.EXACTLY;
67 super.onMeasure(MeasureSpec.makeMeasureSpec(widthSpecSize, widthSpecMode),
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 70 int cellWidthSpec = MeasureSpec.makeMeasureSpec(mCellWidth,
71 MeasureSpec.AT_MOST);
72 int cellHeightSpec = MeasureSpec.makeMeasureSpec(mCellHeight,
73 MeasureSpec.AT_MOST);
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
FitCenterFrameLayout.java 43 int childWidthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.UNSPECIFIED);
44 int childHeightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.UNSPECIFIED);
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarContextView.java 302 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
303 if (widthMode != MeasureSpec.EXACTLY) {
308 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
309 if (heightMode == MeasureSpec.UNSPECIFIED) {
314 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec);
317 mContentHeight : MeasureSpec.getSize(heightMeasureSpec);
322 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
337 final int titleWidthSpec = MeasureSpec.makeSafeMeasureSpec(contentWidth,
338 MeasureSpec.UNSPECIFIED)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionBarContextView.java 237 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
238 if (widthMode != MeasureSpec.EXACTLY) {
243 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
244 if (heightMode == MeasureSpec.UNSPECIFIED) {
249 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec);
252 mContentHeight : MeasureSpec.getSize(heightMeasureSpec);
257 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
272 final int titleWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)
    [all...]
ContentFrameLayout.java 27 import static android.view.View.MeasureSpec.AT_MOST;
28 import static android.view.View.MeasureSpec.EXACTLY;
29 import static android.view.View.MeasureSpec.getMode;
109 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
110 widthMeasureSpec = MeasureSpec.makeMeasureSpec(
128 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
129 heightMeasureSpec = MeasureSpec.makeMeasureSpec(
140 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
155 widthMeasureSpec = MeasureSpec.makeMeasureSpec(min, EXACTLY);
LinearLayoutCompat.java 598 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
599 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
631 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) {
691 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
727 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) {
795 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) {
804 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
809 MeasureSpec.makeMeasureSpec(share > 0 ? share : 0
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorPadLayout.java 91 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
92 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
  /packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
LinearLayoutWithMaxWidth.java 40 WeekButton.setSuggestedWidth((View.MeasureSpec.getSize(widthMeasureSpec)) / 7);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
ProportionalLayout.java 114 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
115 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 278 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec);
279 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec);
281 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec);
282 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec);
284 if (widthSpecMode == MeasureSpec.UNSPECIFIED || heightSpecMode == MeasureSpec.UNSPECIFIED) {
293 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY),
294 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY))
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ConversationFastScroller.java 34 import android.view.View.MeasureSpec;
437 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mTrackWidth, MeasureSpec.EXACTLY);
438 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(trackHeight, MeasureSpec.EXACTLY);
449 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mTrackWidth, MeasureSpec.EXACTLY);
450 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(mThumbHeight, MeasureSpec.EXACTLY);
461 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mContainer.width(), MeasureSpec.AT_MOST)
    [all...]
  /developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
AutoFitTextureView.java 66 int width = MeasureSpec.getSize(widthMeasureSpec);
67 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
AutoFitTextureView.java 66 int width = MeasureSpec.getSize(widthMeasureSpec);
67 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
InternalSelectionView.java 104 private int measureWidth(int measureSpec) {
105 int specMode = MeasureSpec.getMode(measureSpec);
106 int specSize = MeasureSpec.getSize(measureSpec);
109 if (specMode == MeasureSpec.EXACTLY) {
112 } else if (specMode == MeasureSpec.AT_MOST) {
119 private int measureHeight(int measureSpec) {
120 int specMode = MeasureSpec.getMode(measureSpec);
    [all...]
  /development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
AutoFitTextureView.java 66 int width = MeasureSpec.getSize(widthMeasureSpec);
67 int height = MeasureSpec.getSize(heightMeasureSpec);
  /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /frameworks/base/core/tests/coretests/src/android/util/
InternalSelectionView.java 111 private int measureWidth(int measureSpec) {
112 int specMode = MeasureSpec.getMode(measureSpec);
113 int specSize = MeasureSpec.getSize(measureSpec);
116 if (specMode == MeasureSpec.EXACTLY) {
119 } else if (specMode == MeasureSpec.AT_MOST) {
126 private int measureHeight(int measureSpec) {
127 int specMode = MeasureSpec.getMode(measureSpec);
    [all...]

Completed in 869 milliseconds

1 2 34 5 6 7 8 91011>>