Home
last modified time | relevance | path

Searched refs:layoutParams (Results 1 – 25 of 31) 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()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java96 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( in setSplitActionBar() local
106 addView(mMenuView, layoutParams); in setSplitActionBar()
114 layoutParams.width = ViewGroup.LayoutParams.FILL_PARENT; in setSplitActionBar()
115 layoutParams.height = mContentHeight; in setSplitActionBar()
122 mSplitView.addView(mMenuView, layoutParams); in setSplitActionBar()
216 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( in initForMode() local
223 addView(mMenuView, layoutParams); in initForMode()
231 layoutParams.width = ViewGroup.LayoutParams.FILL_PARENT; in initForMode()
232 layoutParams.height = mContentHeight; in initForMode()
236 mSplitView.addView(mMenuView, layoutParams); in initForMode()
DActionBarView.java412 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setMenu() local
424 addView(menuView, layoutParams); in setMenu()
433 layoutParams.width = LayoutParams.FILL_PARENT; in setMenu()
442 mSplitView.addView(menuView, layoutParams); in setMenu()
445 menuView.setLayoutParams(layoutParams); in setMenu()
/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.java442 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setMenu() local
454 addView(menuView, layoutParams); in setMenu()
463 layoutParams.width = LayoutParams.MATCH_PARENT; in setMenu()
472 mSplitView.addView(menuView, layoutParams); in setMenu()
475 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/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/view/
DViewStub.java269 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in inflate() local
270 if (layoutParams != null) { in inflate()
271 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.java301 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/support/v7/appcompat/src/android/support/v7/app/
DActionBarImplICS.java65 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument
67 new android.app.ActionBar.LayoutParams(layoutParams); in setCustomView()
68 lp.gravity = layoutParams.gravity; in setCustomView()
DActionBar.java172 public abstract void setCustomView(View view, LayoutParams layoutParams); in setCustomView() argument
DActionBarImplBase.java185 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument
186 view.setLayoutParams(layoutParams); in setCustomView()
/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.java1127 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument
1128 view.setLayoutParams(layoutParams); in setCustomView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java623 protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { in getRecentsLayoutParams() argument
626 layoutParams.width, in getRecentsLayoutParams()
627 layoutParams.height, in getRecentsLayoutParams()
648 protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutParams) { in getSearchLayoutParams() argument

12