Home
last modified time | relevance | path

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

/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.java501 final ViewGroup.LayoutParams layoutParams = row.getLayoutParams(); in findLargestCells() local
502 layoutParams.height = LayoutParams.WRAP_CONTENT; in findLargestCells()
DPopupWindow.java951 final ViewGroup.LayoutParams layoutParams = mContentView.getLayoutParams(); in preparePopup() local
953 if (layoutParams != null && in preparePopup()
954 layoutParams.height == ViewGroup.LayoutParams.WRAP_CONTENT) { in preparePopup()
DListView.java2920 AbsListView.LayoutParams layoutParams = (LayoutParams) first.getLayoutParams();
2921 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) {
2951 AbsListView.LayoutParams layoutParams = (LayoutParams) last.getLayoutParams();
2952 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) {
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()
DRelativeLayout.java1352 final LayoutParams layoutParams = (LayoutParams) node.view.getLayoutParams(); in findRoots() local
1353 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.java420 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setMenu() local
432 addView(menuView, layoutParams); in setMenu()
441 layoutParams.width = LayoutParams.MATCH_PARENT; in setMenu()
450 mSplitView.addView(menuView, layoutParams); in setMenu()
453 menuView.setLayoutParams(layoutParams); in setMenu()
/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()
DViewGroup.java5305 protected void onSetLayoutParams(View child, LayoutParams layoutParams) { in onSetLayoutParams() argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java260 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in inflate() local
262 layoutParams.weight = 1; in inflate()
263 backgroundLayout.setLayoutParams(layoutParams); in inflate()
295 layoutParams = new LinearLayout.LayoutParams( in inflate()
297 layoutParams.weight = 1; in inflate()
298 mContentRoot.setLayoutParams(layoutParams); in inflate()
707 LayoutParams layoutParams = null; in moveChild() local
710 layoutParams = newParentView.generateLayoutParams( in moveChild()
718 final LayoutParams params = layoutParams; in moveChild()
788 return SUCCESS.createResult(layoutParams); in moveChild()
[all …]
/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.java271 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( in enterFullScreenVideoState() local
276 mLayout.addView(getSurfaceView(), layoutParams); in enterFullScreenVideoState() local
289 mLayout.addView(mProgressView, layoutParams); in enterFullScreenVideoState()
DWebViewProvider.java294 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.java166 public abstract void setCustomView(View view, LayoutParams layoutParams); in setCustomView() argument
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java1096 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument
1097 view.setLayoutParams(layoutParams); in setCustomView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java389 LayoutParams layoutParams);
392 LayoutParams layoutParams);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java494 protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { in getRecentsLayoutParams() argument
497 layoutParams.width, in getRecentsLayoutParams()
498 layoutParams.height, in getRecentsLayoutParams()
519 protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutParams) { in getSearchLayoutParams() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java626 protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { in getRecentsLayoutParams() argument
646 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()