/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 49 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout2() 57 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 60 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 63 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 66 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 69 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 72 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3() 87 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5() 96 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() [all …]
|
D | BigCache.java | 38 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 59 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 | 53 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 54 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 60 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 73 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 90 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 | 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 | 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 | AdjacentVerticalRectLists.java | 68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 72 ViewGroup.LayoutParams.MATCH_PARENT, 1); in onCreate()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 28 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 125 final View decorWindow = createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testScreenSides() 129 updateWindow(decorWindow, BOTTOM, MATCH_PARENT, mDecorThickness, 0, 0); in testScreenSides() 133 updateWindow(decorWindow, LEFT, mDecorThickness, MATCH_PARENT, 0, 0); in testScreenSides() 137 updateWindow(decorWindow, RIGHT, mDecorThickness, MATCH_PARENT, 0, 0); in testScreenSides() 144 createDecorWindow(TOP, MATCH_PARENT, mHalfDecorThickness); in testMultipleDecors() 146 createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testMultipleDecors() 150 createDecorWindow(BOTTOM, MATCH_PARENT, mHalfDecorThickness); in testMultipleDecors() 159 final View decorWindow = createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testFlagChange() 162 updateWindow(decorWindow, TOP, MATCH_PARENT, mDecorThickness, in testFlagChange() [all …]
|
D | WindowFrameTests.java | 25 import static android.view.WindowManager.LayoutParams.MATCH_PARENT; 132 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutInFullscreenTaskInsets() 189 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutInFullscreenTaskNoInsets() 276 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutNonfullscreenTask() 329 final FrameTestWindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testCalculatePolicyCrop() 394 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutLetterboxedWindow() 431 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testDisplayCutout() 455 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testDisplayCutout_tempDisplayedBounds() 481 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testFreeformContentInsets()
|
D | DisplayPolicyTests.java | 20 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 67 attrs.width = MATCH_PARENT; in createOpaqueFullscreen() 68 attrs.height = MATCH_PARENT; in createOpaqueFullscreen() 92 attrs.width = MATCH_PARENT; in createInputMethodWindow() 93 attrs.height = MATCH_PARENT; in createInputMethodWindow() 217 attrs.height = attrs.width = WindowManager.LayoutParams.MATCH_PARENT; in testShouldRotateSeamlessly() 269 attrs.width = MATCH_PARENT; in createApplicationWindow() 270 attrs.height = MATCH_PARENT; in createApplicationWindow()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | CutoutAvoidingToolbar.kt | 22 import android.view.ViewGroup.LayoutParams.MATCH_PARENT 73 it.layoutParams = LayoutParams(cutoutLeft, MATCH_PARENT) in adjustLayout() 76 it.layoutParams = LayoutParams(cutoutCenter, MATCH_PARENT) in adjustLayout() 79 it.layoutParams = LayoutParams(cutoutRight, MATCH_PARENT) in adjustLayout()
|
/frameworks/base/core/java/android/widget/ |
D | ListPopupWindow.java | 146 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT; field in ListPopupWindow 554 && ViewGroup.LayoutParams.MATCH_PARENT != height) { in setHeight() 644 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show() 655 if (mDropDownHeight == ViewGroup.LayoutParams.MATCH_PARENT) { in show() 658 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show() 660 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show() 661 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show() 664 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show() 665 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show() 666 mPopup.setHeight(ViewGroup.LayoutParams.MATCH_PARENT); in show() [all …]
|
D | DayPickerViewPager.java | 76 if (lp.width == LayoutParams.MATCH_PARENT || in onMeasure() 77 lp.height == LayoutParams.MATCH_PARENT) { in onMeasure() 112 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure() 122 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListScenario.java | 319 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 320 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 380 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 386 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 387 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 389 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 399 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 400 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 402 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/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/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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 53 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 203 overlay.setLayoutParams(new FrameLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in createSysUiOverlay() 210 RelativeLayout.LayoutParams params = createSysUiLayoutParams(MATCH_PARENT, MATCH_PARENT); in createContentFrame() 268 RelativeLayout.LayoutParams params = createSysUiLayoutParams(MATCH_PARENT, mBuilder in createStatusBar() 285 int heightRule = appCompatActionBar || !mBuilder.hasAppCompatActionBar() ? MATCH_PARENT : in createActionBar() 287 … RelativeLayout.LayoutParams layoutParams = createSysUiLayoutParams(MATCH_PARENT, heightRule); in createActionBar() 325 …RelativeLayout.LayoutParams params = createSysUiLayoutParams(MATCH_PARENT, mBuilder.mTitleBarSize); in createTitleBar() 354 int w = isVertical ? size : MATCH_PARENT; in createNavBar() 355 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()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | AnimatedTemperatureView.java | 152 addView(background, ViewGroup.LayoutParams.MATCH_PARENT, in AnimatedTemperatureView() 153 ViewGroup.LayoutParams.MATCH_PARENT); in AnimatedTemperatureView() 154 addView(textSwitcher, ViewGroup.LayoutParams.MATCH_PARENT, in AnimatedTemperatureView() 155 ViewGroup.LayoutParams.MATCH_PARENT); in AnimatedTemperatureView() 184 textView.setLayoutParams(new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in generateTextView() 185 ViewGroup.LayoutParams.MATCH_PARENT)); in generateTextView()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | ViewUtils.java | 38 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, in attachView()
|