/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 50 * <p>Item views may span multiple columns as specified by their {@link LayoutParams}. 514 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 759 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 771 lp = (LayoutParams) child.getLayoutParams(); // Might have changed 781 if (lp.height == LayoutParams.WRAP_CONTENT) { 843 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); [all...] |
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentTabHost.java | 146 addView(ll, new FrameLayout.LayoutParams( 147 ViewGroup.LayoutParams.FILL_PARENT, 148 ViewGroup.LayoutParams.FILL_PARENT)); 153 ll.addView(tw, new LinearLayout.LayoutParams( 154 ViewGroup.LayoutParams.FILL_PARENT, 155 ViewGroup.LayoutParams.WRAP_CONTENT, 0)); 159 ll.addView(fl, new LinearLayout.LayoutParams(0, 0, 0)); 163 ll.addView(fl, new LinearLayout.LayoutParams( 164 LinearLayout.LayoutParams.FILL_PARENT, 0, 1));
|
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentTabHost.java | 154 addView(ll, new FrameLayout.LayoutParams( 155 ViewGroup.LayoutParams.FILL_PARENT, 156 ViewGroup.LayoutParams.FILL_PARENT)); 161 ll.addView(tw, new LinearLayout.LayoutParams( 162 ViewGroup.LayoutParams.FILL_PARENT, 163 ViewGroup.LayoutParams.WRAP_CONTENT, 0)); 167 ll.addView(fl, new LinearLayout.LayoutParams(0, 0, 0)); 171 ll.addView(fl, new LinearLayout.LayoutParams( 172 LinearLayout.LayoutParams.FILL_PARENT, 0, 1));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
PopupWindowTest.java | 39 import android.view.ViewGroup.LayoutParams; 417 WindowManager.LayoutParams p = (WindowManager.LayoutParams) 420 assertEquals(0, WindowManager.LayoutParams.FLAG_IGNORE_CHEEK_PRESSES & p.flags); 421 assertEquals(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, 422 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE & p.flags); 423 assertEquals(0, WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE & p.flags); 424 assertEquals(0, WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH & p.flags); 425 assertEquals(0, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS & p.flags); 426 assertEquals(0, WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM & p.flags) [all...] |
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
CardPresenter.java | 23 import android.view.ViewGroup.LayoutParams; 40 v.setMainImageDimensions(LayoutParams.WRAP_CONTENT, height); 66 v.setMainImageDimensions(LayoutParams.WRAP_CONTENT, getRowHeight(parent.getContext()));
|
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
CurvedMotion.java | 27 import android.widget.RelativeLayout.LayoutParams; 96 LayoutParams params = (LayoutParams) mButton.getLayoutParams();
|
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson3/ |
ClickFunActivityTest.java | 84 final ViewGroup.LayoutParams layoutParams = mClickMeButton.getLayoutParams(); 85 assertNotNull(layoutParams); 86 assertEquals(layoutParams.width, WindowManager.LayoutParams.MATCH_PARENT); 87 assertEquals(layoutParams.height, WindowManager.LayoutParams.WRAP_CONTENT);
|
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/ |
TabManager.java | 73 new FrameLayout.LayoutParams( 74 FrameLayout.LayoutParams.MATCH_PARENT, 75 FrameLayout.LayoutParams.MATCH_PARENT));
|
/frameworks/base/core/java/android/app/ |
MediaRouteActionProvider.java | 125 mButton.setLayoutParams(new ViewGroup.LayoutParams( 126 ViewGroup.LayoutParams.WRAP_CONTENT, 127 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfInternalSelectionViews.java | 125 mListView.setLayoutParams(new ViewGroup.LayoutParams( 126 ViewGroup.LayoutParams.MATCH_PARENT, 127 ViewGroup.LayoutParams.MATCH_PARENT));
|
ListWithFooterViewAndNewLabels.java | 48 new AbsListView.LayoutParams( 49 ViewGroup.LayoutParams.WRAP_CONTENT, 50 ViewGroup.LayoutParams.WRAP_CONTENT));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
AdjacentListsWithAdjacentISVsInside.java | 92 final LinearLayout.LayoutParams lp = 93 new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, 1.0f);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
ColumnAdapter.java | 93 final LinearLayout.LayoutParams params = new LinearLayout.LayoutParams( 94 0, LinearLayout.LayoutParams.WRAP_CONTENT);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
TvStatusBar.java | 23 import android.view.ViewGroup.LayoutParams; 107 protected WindowManager.LayoutParams getSearchLayoutParams( 108 LayoutParams layoutParams) {
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DisplayListLayersActivity.java | 33 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 72 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(width, height);
|
ThinPatchesActivity.java | 38 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, 39 FrameLayout.LayoutParams.MATCH_PARENT));
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
EditTextActivityDialog.java | 50 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 51 ViewGroup.LayoutParams.MATCH_PARENT, 52 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
RowContainerView.java | 51 setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|
/frameworks/volley/src/com/android/volley/toolbox/ |
NetworkImageView.java | 21 import android.view.ViewGroup.LayoutParams; 109 wrapWidth = getLayoutParams().width == LayoutParams.WRAP_CONTENT; 110 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
StyleChooser.java | 3 import android.app.ActionBar.LayoutParams; 45 LayoutParams lp = new LayoutParams(dim, dim);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
AccessibilityController.java | 334 case WindowManager.LayoutParams.TYPE_APPLICATION: 335 case WindowManager.LayoutParams.TYPE_APPLICATION_PANEL: 336 case WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA: 337 case WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL: 338 case WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG: 339 case WindowManager.LayoutParams.TYPE_SEARCH_BAR: 340 case WindowManager.LayoutParams.TYPE_PHONE: 341 case WindowManager.LayoutParams.TYPE_SYSTEM_ALERT: 342 case WindowManager.LayoutParams.TYPE_TOAST: 343 case WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContextView.java | 124 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, 125 LayoutParams.MATCH_PARENT); 131 addView(mMenuView, layoutParams); 139 layoutParams.width = LayoutParams.MATCH_PARENT; 140 layoutParams.height = mContentHeight; 145 mSplitView.addView(mMenuView, layoutParams); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContextView.java | 117 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, 118 LayoutParams.MATCH_PARENT); 124 addView(mMenuView, layoutParams); 132 layoutParams.width = LayoutParams.MATCH_PARENT; 133 layoutParams.height = mContentHeight; 138 mSplitView.addView(mMenuView, layoutParams); [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraCtsActivity.java | 37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Grid3.java | 78 i.setLayoutParams(new ViewGroup.LayoutParams(50, 50)); 80 l.setLayoutParams(new GridView.LayoutParams(GridView.LayoutParams.WRAP_CONTENT, 81 GridView.LayoutParams.WRAP_CONTENT));
|