Home
last modified time | relevance | path

Searched refs:setLayoutParams (Results 1 – 25 of 156) sorted by relevance

1234567

/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DSurfaceAndTextureViews.java56 mView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate()
61 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate()
66 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate()
81 mView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE)); in onCreate()
82 … mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE)); in onCreate()
83 … mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE)); in onCreate()
88 mView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate()
89 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate()
90 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate()
DDelayedTransition.java49 button1.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
59 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DAdjacentVerticalRectLists.java67 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
75 mLeftColumn.setLayoutParams(params); in onCreate()
80 mMiddleColumn.setLayoutParams(params); in onCreate()
85 mRightColumn.setLayoutParams(params); in onCreate()
DVerticalFocusSearch.java70 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
104 button.setLayoutParams(new LinearLayout.LayoutParams( in makeWide()
121 button.setLayoutParams(new LinearLayout.LayoutParams( in addSkinny()
128 filler.setLayoutParams(new LinearLayout.LayoutParams( in addSkinny()
135 ll.setLayoutParams(new LinearLayout.LayoutParams( in addSkinny()
DHorizontalFocusSearch.java63 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
96 button.setLayoutParams(new LinearLayout.LayoutParams( in makeTall()
105 button.setLayoutParams(new LinearLayout.LayoutParams( in addShort()
112 filler.setLayoutParams(new LinearLayout.LayoutParams( in addShort()
119 ll.setLayoutParams(new LinearLayout.LayoutParams( in addShort()
DListOfEditTexts.java52 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
58 buttonAbove.setLayoutParams( in onCreate()
67 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
72 mListView.setLayoutParams((new LinearLayout.LayoutParams( in onCreate()
88 buttonBelow.setLayoutParams( in onCreate()
DGoneParentFocusedChild.java60 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
67 mGoneGroup.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
72 mButton.setLayoutParams(new LinearLayout.LayoutParams( in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java37 testBed.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
48 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); in onCreate()
55 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height)); in onCreate()
58 scroller.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java57 topButton.setLayoutParams( in twoButtonsSeparatedByFiller()
63 middleFiller.setLayoutParams(new LinearLayout.LayoutParams( in twoButtonsSeparatedByFiller()
70 bottomButton.setLayoutParams(buttonLp); in twoButtonsSeparatedByFiller()
162 result.setLayoutParams(lp); in button()
202 result.setLayoutParams(lp); in text()
244 ll.setLayoutParams(lp); in doubleText()
DListScenario.java318 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
379 mHeaderTextView.setLayoutParams(new LinearLayout.LayoutParams( in onCreate()
385 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
388 mListView.setLayoutParams((new LinearLayout.LayoutParams( in onCreate()
398 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
401 mListView.setLayoutParams((new LinearLayout.LayoutParams( in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemISVAndButton.java49 isv.setLayoutParams(new LinearLayout.LayoutParams( in createView()
59 topButton.setLayoutParams( in createView()
65 filler.setLayoutParams(new LinearLayout.LayoutParams( in createView()
DListViewHeight.java65 mInnerList.setLayoutParams(lp); in onCreate()
81 mInnerList.setLayoutParams(lp); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGlyphCacheActivity.java40 scrollView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in createTextView()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DScaleDrawableTests.java64 png_view.setLayoutParams(params); in onCreate()
70 view.setLayoutParams(params); in onCreate()
76 avd_view.setLayoutParams(params); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java128 mList.setLayoutParams(params); in updateEdgeMargin()
140 mSeparatedView.setLayoutParams(params); in updateEdgeMargin()
269 mList.setLayoutParams(p); in rotateRight()
273 mSeparatedView.setLayoutParams(separatedViewLayoutParams); in rotateRight()
283 v.setLayoutParams(params); in swapDimens()
327 mList.setLayoutParams(p); in rotateLeft()
331 mSeparatedView.setLayoutParams(separatedViewLayoutParams); in rotateLeft()
379 v.setLayoutParams(params); in rotateLeft()
388 v.setLayoutParams(params); in rotateRight()
397 v.setLayoutParams(params); in swapLeftAndTop()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java261 rootLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
266 layout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
287 controlLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
304 mPixelFormatSelector.setLayoutParams(new LinearLayout.LayoutParams( in onCreate()
312 mResultView.setLayoutParams(new LinearLayout.LayoutParams( in onCreate()
319 mSystemInfoView.setLayoutParams(new LinearLayout.LayoutParams( in onCreate()
334 view.setLayoutParams(new CustomLayout.LayoutParams(0, 0, mWidth, mHeight)); in onCreate()
341 view.setLayoutParams(new CustomLayout.LayoutParams(x, y, x + mWidth, y + mHeight)); in onCreate()
358 button.setLayoutParams(new LinearLayout.LayoutParams( in createButton()
/frameworks/base/core/java/com/android/internal/widget/
DMediaNotificationView.java88 mRightIcon.setLayoutParams(layoutParams); in onMeasure()
98 mMainColumn.setLayoutParams(params); in onMeasure()
112 mHeader.setLayoutParams(params); in onMeasure()
152 mHeader.setLayoutParams(headerParams); in resetHeaderIndention()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerPalette.java77 row.setLayoutParams(params); in createTableRow()
179 view.setLayoutParams(params); in createBlankSpace()
191 view.setLayoutParams(params); in createColorSwatch()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewResizeActivity.java55 mActivityView.setLayoutParams(params); in onCreate()
66 mActivityView.setLayoutParams(params); in onCreate()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java174 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addBitmapDrawable()
185 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addResourceDrawable()
196 view.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, in addCanvasBitmap()
209 view.setLayoutParams(new LinearLayout.LayoutParams( in addNinePatchResourceDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTwoTargetPreference.java91 icon.setLayoutParams(new LinearLayout.LayoutParams(mSmallIconSize, mSmallIconSize)); in onBindViewHolder()
94 icon.setLayoutParams( in onBindViewHolder()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java203 overlay.setLayoutParams(new FrameLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in createSysUiOverlay()
226 contentRoot.setLayoutParams(params); in createContentFrame()
273 statusBar.setLayoutParams(params); in createStatusBar()
315 actionBar.getRootView().setLayoutParams(layoutParams); in createActionBar()
332 titleBar.setLayoutParams(params); in createTitleBar()
358 navBar.setLayoutParams(params); in createNavBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java132 mMultiUserAvatar.setLayoutParams(lp); in onConfigurationChanged()
140 mMultiUserSwitch.setLayoutParams(lp); in onConfigurationChanged()
146 mSystemIconsContainer.setLayoutParams(lp); in onConfigurationChanged()
159 mCarrierLabel.setLayoutParams(lp); in onConfigurationChanged()
164 setLayoutParams(lp); in onConfigurationChanged()
213 mSystemIconsContainer.setLayoutParams(lp); in updateSystemIconsLayoutParams()
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java66 topPanel.setLayoutParams(topParams); in setupContent()
74 buttonPanel.setLayoutParams(buttonParams); in setupContent()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java76 v.setLayoutParams(lp); in setLayoutHeight()
82 v.setLayoutParams(lp); in setLayoutMarginBottom()

1234567