HomeSort by relevance Sort by last modified time
    Searched refs:MeasureSpec (Results 101 - 125 of 462) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
HorizontalHoverCardSwitcher.java 18 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),
  /developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.kt 55 val width = View.MeasureSpec.getSize(widthMeasureSpec)
56 val height = View.MeasureSpec.getSize(heightMeasureSpec)
  /developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.kt 55 val width = View.MeasureSpec.getSize(widthMeasureSpec)
56 val height = View.MeasureSpec.getSize(heightMeasureSpec)
  /developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.kt 55 val width = View.MeasureSpec.getSize(widthMeasureSpec)
56 val height = View.MeasureSpec.getSize(heightMeasureSpec)
  /developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.kt 55 val width = View.MeasureSpec.getSize(widthMeasureSpec)
56 val height = View.MeasureSpec.getSize(heightMeasureSpec)
  /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/base/core/tests/coretests/src/android/widget/
TextViewFallbackLineSpacingTest.java 108 View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY),
109 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
TaskViewFocusFrame.java 68 MeasureSpec.makeMeasureSpec(rect.width() + thickness * 2, MeasureSpec.EXACTLY),
69 MeasureSpec.makeMeasureSpec(rect.height() + thickness * 2, MeasureSpec.EXACTLY));
  /frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
PlaybackGlueHostImplWithViewHolder.java 64 View.MeasureSpec.makeMeasureSpec(1920, View.MeasureSpec.AT_MOST),
65 View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED));
  /frameworks/support/media/src/main/java/androidx/media/subtitle/
ClosedCaptionWidget.java 95 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY);
96 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
ActionBarContextView.java 243 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
244 if (widthMode != MeasureSpec.EXACTLY) {
249 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
250 if (heightMode == MeasureSpec.UNSPECIFIED) {
255 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec);
258 mContentHeight : MeasureSpec.getSize(heightMeasureSpec);
263 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
278 final int titleWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)
    [all...]
ContentFrameLayout.java 19 import static android.view.View.MeasureSpec.AT_MOST;
20 import static android.view.View.MeasureSpec.EXACTLY;
21 import static android.view.View.MeasureSpec.getMode;
117 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
118 widthMeasureSpec = MeasureSpec.makeMeasureSpec(
136 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
137 heightMeasureSpec = MeasureSpec.makeMeasureSpec(
148 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
163 widthMeasureSpec = MeasureSpec.makeMeasureSpec(min, EXACTLY);
LinearLayoutCompat.java 605 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
606 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
638 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) {
698 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
734 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) {
802 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) {
811 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
816 MeasureSpec.makeMeasureSpec(share > 0 ? share : 0
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
LinearLayoutWithMaxWidth.java 40 WeekButton.setSuggestedWidth((View.MeasureSpec.getSize(widthMeasureSpec)) / 7);
  /packages/apps/Contacts/src/com/android/contacts/widget/
ProportionalLayout.java 114 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
115 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
LivePreviewWidgetCell.java 68 v.measure(MeasureSpec.makeMeasureSpec(viewWidth, MeasureSpec.EXACTLY),
69 MeasureSpec.makeMeasureSpec(viewHeight, MeasureSpec.EXACTLY));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSContainerImpl.java 106 mQSPanel.measure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(
107 MeasureSpec.getSize(heightMeasureSpec), MeasureSpec.UNSPECIFIED));
112 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
113 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
118 MeasureSpec.makeMeasureSpec(getDisplayHeight(), MeasureSpec.EXACTLY));
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 276 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec);
277 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec);
279 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec);
280 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec);
282 if (widthSpecMode == MeasureSpec.UNSPECIFIED || heightSpecMode == MeasureSpec.UNSPECIFIED) {
291 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY),
292 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);

Completed in 1852 milliseconds

1 2 3 45 6 7 8 91011>>