/frameworks/base/core/java/android/widget/ |
D | TableRow.java | 164 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 …]
|
D | TableLayout.java | 505 final ViewGroup.LayoutParams layoutParams = row.getLayoutParams(); in findLargestCells() local 506 layoutParams.height = LayoutParams.WRAP_CONTENT; in findLargestCells()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 146 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams( in createMenuPopup() local 148 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_END); in createMenuPopup() 150 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in createMenuPopup() 151 layoutParams.bottomMargin = getActionBarHeight() + mActionBar.getMenuPopupMargin(); in createMenuPopup() 153 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); in createMenuPopup() 154 layoutParams.topMargin = getActionBarHeight() + mActionBar.getMenuPopupMargin(); in createMenuPopup() 156 layoutParams.setMarginEnd(getPixelValue("5dp", metrics)); in createMenuPopup() 157 listView.setLayoutParams(layoutParams); in createMenuPopup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ExpandableView.java | 67 ViewGroup.LayoutParams layoutParams = child.getLayoutParams(); in onMeasure() local 68 if (layoutParams.height != ViewGroup.LayoutParams.MATCH_PARENT) { in onMeasure() 69 if (layoutParams.height >= 0) { in onMeasure() 71 childHeightSpec = layoutParams.height > ownMaxHeight in onMeasure() 73 : MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY); in onMeasure() 76 getChildMeasureSpec(widthMeasureSpec, 0 /* padding */, layoutParams.width), in onMeasure()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | DetailsOverviewRowPresenter.java | 424 ViewGroup.MarginLayoutParams layoutParams = in onBindRowViewHolder() local 470 layoutParams.setMarginStart(horizontalMargin); in onBindRowViewHolder() 471 layoutParams.topMargin = layoutParams.bottomMargin = verticalMargin; in onBindRowViewHolder() 476 layoutParams.leftMargin = layoutParams.topMargin = layoutParams.bottomMargin = 0; in onBindRowViewHolder() 486 layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT; in onBindRowViewHolder() 487 layoutParams.width = ViewGroup.LayoutParams.WRAP_CONTENT; in onBindRowViewHolder() 491 layoutParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in onBindRowViewHolder() 493 layoutParams.width = Math.min(cardHeight, drawableWidth); in onBindRowViewHolder() 495 vh.mImageView.setLayoutParams(layoutParams); in onBindRowViewHolder()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActionBarContextView.java | 117 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setSplitToolbar() local 124 addView(mMenuView, layoutParams); in setSplitToolbar() 132 layoutParams.width = LayoutParams.MATCH_PARENT; in setSplitToolbar() 133 layoutParams.height = mContentHeight; in setSplitToolbar() 138 mSplitView.addView(mMenuView, layoutParams); in setSplitToolbar() 232 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in initForMode() local 238 addView(mMenuView, layoutParams); in initForMode() 246 layoutParams.width = LayoutParams.MATCH_PARENT; in initForMode() 247 layoutParams.height = mContentHeight; in initForMode() 251 mSplitView.addView(mMenuView, layoutParams); in initForMode()
|
D | ViewStubCompat.java | 211 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in inflate() local 212 if (layoutParams != null) { in inflate() 213 parent.addView(view, index, layoutParams); in inflate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContextView.java | 124 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setSplitToolbar() local 131 addView(mMenuView, layoutParams); in setSplitToolbar() 139 layoutParams.width = LayoutParams.MATCH_PARENT; in setSplitToolbar() 140 layoutParams.height = mContentHeight; in setSplitToolbar() 145 mSplitView.addView(mMenuView, layoutParams); in setSplitToolbar() 239 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in initForMode() local 245 addView(mMenuView, layoutParams); in initForMode() 253 layoutParams.width = LayoutParams.MATCH_PARENT; in initForMode() 254 layoutParams.height = mContentHeight; in initForMode() 258 mSplitView.addView(mMenuView, layoutParams); in initForMode()
|
D | ActionBarView.java | 395 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, in setMenu() local 407 addView(menuView, layoutParams); in setMenu() 416 layoutParams.width = LayoutParams.MATCH_PARENT; in setMenu() 417 layoutParams.height = LayoutParams.WRAP_CONTENT; in setMenu() 426 mSplitView.addView(menuView, layoutParams); in setMenu() 429 menuView.setLayoutParams(layoutParams); in setMenu()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFrameLayout.java | 95 LayoutParams layoutParams = params instanceof PreferenceFrameLayout.LayoutParams in addView() local 98 if (layoutParams != null && layoutParams.removeBorders) { in addView()
|
/frameworks/base/core/java/android/view/ |
D | ViewStub.java | 274 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in inflate() local 275 if (layoutParams != null) { in inflate() 276 parent.addView(view, index, layoutParams); in inflate()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 318 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in inflate() local 320 topLayout.setLayoutParams(layoutParams); in inflate() 350 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in inflate() local 352 layoutParams.weight = 1; in inflate() 353 backgroundLayout.setLayoutParams(layoutParams); in inflate() 376 layoutParams = new LinearLayout.LayoutParams( in inflate() 378 layoutParams.weight = 1; in inflate() 379 mContentRoot.setLayoutParams(layoutParams); in inflate() 802 LayoutParams layoutParams = null; in moveChild() local 805 layoutParams = newParentView.generateLayoutParams( in moveChild() [all …]
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AlignmentTest.java | 96 LayoutParams layoutParams = new LayoutParams(spec(i, va), spec(j, ha)); in create() local 99 container.addView(factory.create(name, 20), layoutParams); in create() local
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 846 WindowManager.LayoutParams layoutParams = mWindow.getAttributes(); in showWallpaper() local 848 if ((layoutParams.flags & WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER) != 0) { in showWallpaper() 852 layoutParams.flags |= WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER; in showWallpaper() 854 if ((layoutParams.flags & WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER) == 0) { in showWallpaper() 858 layoutParams.flags &= ~WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER; in showWallpaper() 861 mWindow.setAttributes(layoutParams); in showWallpaper()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | BridgeRenderSession.java | 147 Map<String, String> layoutParams, IAnimationListener listener) { in moveChild() argument 160 layoutParams, listener); in moveChild()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ChildHelper.java | 200 void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, in attachViewToParent() argument 208 mCallback.attachViewToParent(child, offset, layoutParams); in attachViewToParent() 483 void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams); in attachViewToParent() argument
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 139 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in addAppWidgetView() local 142 mAppWidgetContainer.addView(view, layoutParams); in addAppWidgetView()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | GridLayoutManagerTest.java | 101 ViewGroup.LayoutParams layoutParams = holder.itemView.getLayoutParams(); in customSizeInScrollDirectionTest() 102 if (layoutParams == null) { in customSizeInScrollDirectionTest() 103 layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in customSizeInScrollDirectionTest() 105 holder.itemView.setLayoutParams(layoutParams); in customSizeInScrollDirectionTest() 109 layoutParams.width = size; in customSizeInScrollDirectionTest() 111 layoutParams.height = size; in customSizeInScrollDirectionTest()
|
D | BaseRecyclerViewInstrumentationTest.java | 396 RecyclerView.LayoutParams layoutParams = (RecyclerView.LayoutParams) view in layoutRange() local 399 + "that is removed", layoutParams != null in layoutRange() 400 && layoutParams.isItemRemoved()); in layoutRange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
D | TvStatusBar.java | 108 LayoutParams layoutParams) { in getSearchLayoutParams() argument
|
/frameworks/base/docs/html/training/activity-testing/ |
D | activity-ui-testing.jd | 122 final ViewGroup.LayoutParams layoutParams = 124 assertNotNull(layoutParams); 125 assertEquals(layoutParams.width, WindowManager.LayoutParams.MATCH_PARENT); 126 assertEquals(layoutParams.height, WindowManager.LayoutParams.WRAP_CONTENT);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 85 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument 86 view.setLayoutParams(layoutParams); in setCustomView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeWindowSession.java | 90 public int relayout(IWindow iWindow, int i, LayoutParams layoutParams, int i2, in relayout() argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
D | ToolbarActionBar.java | 101 public void setCustomView(View view, LayoutParams layoutParams) { in setCustomView() argument 102 view.setLayoutParams(layoutParams); in setCustomView()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewProvider.java | 314 public void setLayoutParams(LayoutParams layoutParams); in setLayoutParams() argument
|