/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 24 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 48 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout2() 56 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 59 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 62 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 65 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 68 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 71 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 86 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5() 95 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() [all …]
|
D | BigCache.java | 42 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 63 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiLayersActivity.java | 39 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); in onCreate() 44 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); in onCreate() 47 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate() 49 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate() 52 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate() 54 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
|
D | VideoViewCaptureActivity.java | 79 layout.addView(button, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate() 81 layout.addView(mVideoView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate() 82 LinearLayout.LayoutParams.MATCH_PARENT); in onCreate() 85 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate() 86 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
|
D | HardwareCanvasSurfaceViewActivity.java | 78 layout.addView(button, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate() 80 layout.addView(mSurfaceView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate() 81 LinearLayout.LayoutParams.MATCH_PARENT); in onCreate() 84 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate() 85 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
|
D | LooperAcceleration.java | 57 layout.addView(new IsAcceleratedView(this), LayoutParams.MATCH_PARENT, 60); in makeView() 64 layout.addView(wv, LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in makeView()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListOfEditTexts.java | 48 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 49 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 55 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 63 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 64 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 85 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
|
D | GoneParentFocusedChild.java | 61 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 62 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
D | HorizontalFocusSearch.java | 64 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 65 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 98 ViewGroup.LayoutParams.MATCH_PARENT)); in makeTall() 121 ViewGroup.LayoutParams.MATCH_PARENT)); in addShort()
|
D | VerticalFocusSearch.java | 71 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 72 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 105 ViewGroup.LayoutParams.MATCH_PARENT, in makeWide() 136 ViewGroup.LayoutParams.MATCH_PARENT, in addSkinny()
|
D | AdjacentVerticalRectLists.java | 69 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 70 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 73 ViewGroup.LayoutParams.MATCH_PARENT, 1); in onCreate()
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | BigEditTextActivityScrollablePanScan.java | 44 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 45 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 50 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 51 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
D | BigEditTextActivityScrollableResize.java | 44 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 45 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 50 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 51 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | ListPopupWindow.java | 140 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT; field in ListPopupWindow 604 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show() 615 if (mDropDownHeight == ViewGroup.LayoutParams.MATCH_PARENT) { in show() 618 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show() 620 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show() 621 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show() 624 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show() 625 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show() 626 mPopup.setHeight(ViewGroup.LayoutParams.MATCH_PARENT); in show() 641 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show() [all …]
|
D | DayPickerViewPager.java | 81 if (lp.width == LayoutParams.MATCH_PARENT || in onMeasure() 82 lp.height == LayoutParams.MATCH_PARENT) { in onMeasure() 117 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure() 127 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ListPopupWindow.java | 175 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT; field in ListPopupWindow 642 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show() 653 if (mDropDownHeight == ViewGroup.LayoutParams.MATCH_PARENT) { in show() 656 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show() 658 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show() 659 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show() 662 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show() 663 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show() 664 mPopup.setHeight(ViewGroup.LayoutParams.MATCH_PARENT); in show() 679 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListScenario.java | 318 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 319 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 378 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 384 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 385 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 387 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 397 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 398 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 400 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
|
D | ScrollViewScenario.java | 181 ViewGroup.LayoutParams.MATCH_PARENT, 0, 1f); in addVerticalLLOfButtons() 258 ViewGroup.LayoutParams.MATCH_PARENT, height); in onCreate() 265 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 266 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
D | ListItemFactory.java | 53 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller() 64 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller() 160 ViewGroup.LayoutParams.MATCH_PARENT, in button() 200 ViewGroup.LayoutParams.MATCH_PARENT, in text() 242 ViewGroup.LayoutParams.MATCH_PARENT, in doubleText()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 196 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 200 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 204 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | GridLayoutManagerWrapContentTest.java | 23 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 92 new MeasureBehavior(10, 10, WRAP_CONTENT, MATCH_PARENT) in testVerticalWithItemDecors() 112 new MeasureBehavior(10, 10, MATCH_PARENT, WRAP_CONTENT) in testHorizontalWithItemDecors() 165 new AspectRatioMeasureBehavior(10, 5, MATCH_PARENT, WRAP_CONTENT) in testSecondLineAffectingBordersWithAspectRatio() 168 new MeasureBehavior(10, 5, MATCH_PARENT, WRAP_CONTENT), in testSecondLineAffectingBordersWithAspectRatio()
|
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 34 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 134 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, in wrapContentAffectsOtherOrientation() 135 testOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT) in wrapContentAffectsOtherOrientation() 138 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, in wrapContentAffectsOtherOrientation() 139 testOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT) in wrapContentAffectsOtherOrientation()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListItemISVAndButton.java | 50 ViewGroup.LayoutParams.MATCH_PARENT, in createView() 56 ViewGroup.LayoutParams.MATCH_PARENT, in createView() 66 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 47 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 169 LayoutParams params = createLayoutParams(MATCH_PARENT, MATCH_PARENT); in createContentFrame() 225 LayoutParams params = createLayoutParams(MATCH_PARENT, mBuilder.mStatusBarSize); in createStatusBar() 244 LayoutParams layoutParams = createLayoutParams(MATCH_PARENT, MATCH_PARENT); in createActionBar() 261 LayoutParams params = createLayoutParams(MATCH_PARENT, mBuilder.mTitleBarSize); in createTitleBar() 286 int w = isVertical ? size : MATCH_PARENT; in createNavBar() 287 int h = isVertical ? MATCH_PARENT : size; in createNavBar()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DialogViewAnimator.java | 58 final boolean matchWidth = lp.width == LayoutParams.MATCH_PARENT; in onMeasure() 59 final boolean matchHeight = lp.height == LayoutParams.MATCH_PARENT; in onMeasure() 113 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure() 125 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
|