Home
last modified time | relevance | path

Searched refs:layoutParams (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/widget/
DTableRow.java164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns() local
166 if (layoutParams.column >= virtualCount) { in mapIndexAndColumns()
167 virtualCount = layoutParams.column; in mapIndexAndColumns()
170 for (int j = 0; j < layoutParams.span; j++) { in mapIndexAndColumns()
257 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getChildrenSkipCount() local
260 return layoutParams.span - 1; in getChildrenSkipCount()
299 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getColumnsWidths() local
300 if (layoutParams.span == 1) { in getColumnsWidths()
302 switch (layoutParams.width) { in getColumnsWidths()
310 … spec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY); in getColumnsWidths()
[all …]
DTableLayout.java505 final ViewGroup.LayoutParams layoutParams = row.getLayoutParams(); in findLargestCells() local
506 layoutParams.height = LayoutParams.WRAP_CONTENT; in findLargestCells()
DPopupWindow.java953 final ViewGroup.LayoutParams layoutParams = mContentView.getLayoutParams(); in preparePopup() local
955 if (layoutParams != null && in preparePopup()
956 layoutParams.height == ViewGroup.LayoutParams.WRAP_CONTENT) { in preparePopup()
DGridLayout.java758 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) { in onSetLayoutParams() argument
759 super.onSetLayoutParams(child, layoutParams); in onSetLayoutParams()
761 if (!checkLayoutParams(layoutParams)) { in onSetLayoutParams()
DListView.java2982 AbsListView.LayoutParams layoutParams = (LayoutParams) first.getLayoutParams();
2983 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) {
3013 AbsListView.LayoutParams layoutParams = (LayoutParams) last.getLayoutParams();
3014 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) {
DRelativeLayout.java1562 final LayoutParams layoutParams = (LayoutParams) node.view.getLayoutParams(); in findRoots() local
1563 final int[] rules = layoutParams.mRules; in findRoots()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java111 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setSplitActionBar() local
118 addView(mMenuView, layoutParams); in setSplitActionBar()
126 layoutParams.width = LayoutParams.MATCH_PARENT; in setSplitActionBar()
127 layoutParams.height = mContentHeight; in setSplitActionBar()
132 mSplitView.addView(mMenuView, layoutParams); in setSplitActionBar()
226 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in initForMode() local
232 addView(mMenuView, layoutParams); in initForMode()
240 layoutParams.width = LayoutParams.MATCH_PARENT; in initForMode()
241 layoutParams.height = mContentHeight; in initForMode()
245 mSplitView.addView(mMenuView, layoutParams); in initForMode()
DActionBarView.java429 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setMenu() local
441 addView(menuView, layoutParams); in setMenu()
450 layoutParams.width = LayoutParams.MATCH_PARENT; in setMenu()
459 mSplitView.addView(menuView, layoutParams); in setMenu()
462 menuView.setLayoutParams(layoutParams); in setMenu()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java297 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in inflate() local
299 layoutParams.weight = 1; in inflate()
300 topLayout.setLayoutParams(layoutParams); in inflate()
323 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in inflate() local
325 layoutParams.weight = 1; in inflate()
326 backgroundLayout.setLayoutParams(layoutParams); in inflate()
358 layoutParams = new LinearLayout.LayoutParams( in inflate()
360 layoutParams.weight = 1; in inflate()
361 mContentRoot.setLayoutParams(layoutParams); in inflate()
772 LayoutParams layoutParams = null; in moveChild() local
[all …]
/frameworks/base/core/java/android/preference/
DPreferenceFrameLayout.java91 LayoutParams layoutParams = params instanceof PreferenceFrameLayout.LayoutParams in addView() local
94 if (layoutParams != null && layoutParams.removeBorders) { in addView()
/frameworks/base/core/java/android/view/
DViewStub.java268 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in inflate() local
269 if (layoutParams != null) { in inflate()
270 parent.addView(view, index, layoutParams); in inflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
DTvStatusBar.java101 LayoutParams layoutParams) { in getRecentsLayoutParams() argument
107 LayoutParams layoutParams) { in getSearchLayoutParams() argument
/frameworks/base/core/java/android/webkit/
DPluginFullScreenHolder.java57 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( in setContentView() local
62 mLayout.addView(contentView, layoutParams); in setContentView()
DViewManager.java128 ViewGroup.LayoutParams layoutParams = v.mView.getLayoutParams(); in requestLayout() local
130 if (layoutParams instanceof AbsoluteLayout.LayoutParams) { in requestLayout()
131 lp = (AbsoluteLayout.LayoutParams) layoutParams; in requestLayout()
DHTML5VideoFullScreen.java286 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( in enterFullScreenVideoState() local
291 mLayout.addView(getSurfaceView(), layoutParams); in enterFullScreenVideoState() local
304 mLayout.addView(mProgressView, layoutParams); in enterFullScreenVideoState()
DWebViewProvider.java295 public void setLayoutParams(LayoutParams layoutParams); in setLayoutParams() argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAlignmentTest.java86 LayoutParams layoutParams = new LayoutParams(spec(i, va), spec(j, ha)); in create() local
89 container.addView(factory.create(name, 20), layoutParams); in create() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java142 Map<String, String> layoutParams, IAnimationListener listener) { in moveChild() argument
155 layoutParams, listener); in moveChild()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java139 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in addAppWidgetView() local
142 mAppWidgetContainer.addView(view, layoutParams); in addAppWidgetView()
/frameworks/base/core/java/android/app/
DActionBar.java172 public abstract void setCustomView(View view, LayoutParams layoutParams); in setCustomView() argument
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java1101 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument
1102 view.setLayoutParams(layoutParams); in setCustomView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java626 protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { in getRecentsLayoutParams() argument
629 layoutParams.width, in getRecentsLayoutParams()
630 layoutParams.height, in getRecentsLayoutParams()
651 protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutParams) { in getSearchLayoutParams() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java424 LayoutParams layoutParams);
427 LayoutParams layoutParams);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java605 protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { in getRecentsLayoutParams() argument
625 protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutParams) { in getSearchLayoutParams() argument
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java740 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) { in onSetLayoutParams() argument
741 super.onSetLayoutParams(child, layoutParams); in onSetLayoutParams()

12