Home
last modified time | relevance | path

Searched refs:MATCH_PARENT (Results 1 – 25 of 189) sorted by relevance

12345678

/frameworks/base/core/tests/coretests/src/android/view/
DCreateViewTest.java19 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 …]
DBigCache.java38 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/
DMultiLayersActivity.java39 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()
DVideoViewCaptureActivity.java79 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()
DHardwareCanvasSurfaceViewActivity.java78 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()
DLooperAcceleration.java57 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/
DListOfEditTexts.java53 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()
DGoneParentFocusedChild.java61 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()
DVerticalFocusSearch.java71 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()
DHorizontalFocusSearch.java64 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()
DAdjacentVerticalRectLists.java68 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/
DScreenDecorWindowTests.java28 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 …]
DWindowFrameTests.java25 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()
DDisplayPolicyTests.java20 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/
DCutoutAvoidingToolbar.kt22 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/
DListPopupWindow.java146 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 …]
DDayPickerViewPager.java76 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/
DListScenario.java319 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()
DListItemFactory.java53 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/
DListItemISVAndButton.java50 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/
DEffectsTest.java184 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/
DLayout.java53 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/
DDialogViewAnimator.java58 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/
DAnimatedTemperatureView.java152 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/
DViewUtils.java38 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, in attachView()

12345678