/frameworks/base/core/java/android/widget/ |
H A D | SimpleMonthAdapter.java | 104 AbsListView.LayoutParams params = new AbsListView.LayoutParams( 105 AbsListView.LayoutParams.MATCH_PARENT, AbsListView.LayoutParams.MATCH_PARENT);
|
H A D | YearPickerView.java | 58 final LayoutParams frame = new LayoutParams( 59 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
H A D | StackView.java | 200 mHighlight.setLayoutParams(new LayoutParams(mHighlight)); 201 addViewInLayout(mHighlight, -1, new LayoutParams(mHighlight)); 204 mClickFeedback.setLayoutParams(new LayoutParams(mClickFeedback)); 205 addViewInLayout(mClickFeedback, -1, new LayoutParams(mClickFeedback)); 237 LayoutParams lp = (LayoutParams) view.getLayoutParams(); 296 LayoutParams lp = (LayoutParams) view.getLayoutParams(); 540 LayoutParams lp = (LayoutParams) chil 1275 class LayoutParams extends ViewGroup.LayoutParams { class in class:StackView 1284 LayoutParams(View view) { method in class:StackView.LayoutParams 1293 LayoutParams(Context c, AttributeSet attrs) { method in class:StackView.LayoutParams [all...] |
H A D | MediaController.java | 81 private WindowManager.LayoutParams mDecorLayoutParams; 153 mDecorLayoutParams = new WindowManager.LayoutParams(); 154 WindowManager.LayoutParams p = mDecorLayoutParams; 156 p.height = LayoutParams.WRAP_CONTENT; 159 p.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; 160 p.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM 161 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL 162 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH; 178 WindowManager.LayoutParams p = mDecorLayoutParams; 229 FrameLayout.LayoutParams frameParam [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppNotRespondingDialog.java | 93 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); 95 WindowManager.LayoutParams attrs = getWindow().getAttributes(); 97 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR | 98 WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
|
H A D | FactoryErrorDialog.java | 34 WindowManager.LayoutParams attrs = getWindow().getAttributes();
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AlignmentTest.java | 29 import android.widget.GridLayout.LayoutParams; 96 LayoutParams layoutParams = new LayoutParams(spec(i, va), spec(j, ha)); 111 ViewGroup.LayoutParams lp = v.getLayoutParams();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | OpaqueActivity.java | 36 setContentView(view, new FrameLayout.LayoutParams(100, 100, Gravity.CENTER));
|
H A D | GradientsActivity.java | 69 layout.addView(gradientView, new FrameLayout.LayoutParams( 72 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 76 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 80 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 84 layout.addView(rotateView, new FrameLayout.LayoutParams( 85 300, FrameLayout.LayoutParams.WRAP_CONTENT,
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | ManyEditTextActivityScrollResize.java | 55 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | YearPickerView.java | 56 ViewGroup.LayoutParams frame = new ViewGroup.LayoutParams(LayoutParams.MATCH_PARENT, 57 LayoutParams.WRAP_CONTENT);
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
H A D | RootMatchers.java | 77 boolean r = !((flags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0); 97 boolean r = !((flags & WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE) != 0); 118 if ((type != WindowManager.LayoutParams.TYPE_BASE_APPLICATION 119 && type < WindowManager.LayoutParams.LAST_APPLICATION_WINDOW)) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 254 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams(); 256 lp.width = LayoutParams.WRAP_CONTENT; 257 lp.height = LayoutParams.MATCH_PARENT; 314 mMenuView.getLayoutParams().width = LayoutParams.MATCH_PARENT; 317 mMenuView.getLayoutParams().width = LayoutParams.WRAP_CONTENT; 364 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams(); 365 lp.width = LayoutParams.WRAP_CONTENT; 366 lp.height = LayoutParams.MATCH_PARENT; 399 final LayoutParams layoutParams = new LayoutParams(LayoutParam [all...] |
H A D | ToolbarWidgetWrapper.java | 138 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); 447 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 448 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 449 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 509 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 510 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 511 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 524 Toolbar.LayoutParams l [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | HitRectBug.java | 73 RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(128, 128);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ControlBar.java | 78 LayoutParams lp = (LayoutParams) second.getLayoutParams();
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 54 * {@link LayoutParams} {@link LayoutParams#token} 108 public static class LayoutParams extends ViewGroup.LayoutParams class in interface:WindowManager 128 * to the view associated with these LayoutParams. Specify 0 if the view 137 * to the view associated with these LayoutParams. Specify 0 if the view 798 * w.setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, 799 * WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); 1113 * Further, this can only be set by {@link LayoutParams#TYPE_STATUS_BAR}. 1508 public LayoutParams() { method in class:WindowManager.LayoutParams 1514 public LayoutParams(int _type) { method in class:WindowManager.LayoutParams 1520 public LayoutParams(int _type, int _flags) { method in class:WindowManager.LayoutParams 1527 public LayoutParams(int _type, int _flags, int _format) { method in class:WindowManager.LayoutParams 1534 public LayoutParams(int w, int h, int _type, int _flags, int _format) { method in class:WindowManager.LayoutParams 1541 public LayoutParams(int w, int h, int xpos, int ypos, int _type, method in class:WindowManager.LayoutParams 1613 public LayoutParams(Parcel in) { method in class:WindowManager.LayoutParams [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 259 IconMenuView.LayoutParams getTextAppropriateLayoutParams() { 260 IconMenuView.LayoutParams lp = (IconMenuView.LayoutParams) getLayoutParams(); 263 lp = new IconMenuView.LayoutParams( 264 IconMenuView.LayoutParams.MATCH_PARENT, IconMenuView.LayoutParams.MATCH_PARENT);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManager.java | 298 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 332 LayoutParams nextLp = (LayoutParams) nextChild.getLayoutParams(); 967 private void measureChildWithDecorationsAndMargin(View child, LayoutParams lp) { 982 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 1065 ViewGroup.LayoutParams lp = host.getLayoutParams(); 1066 if (!(lp instanceof LayoutParams)) { 1070 LayoutParams sgl 1857 public static class LayoutParams extends RecyclerView.LayoutParams { class in class:StaggeredGridLayoutManager 1869 public LayoutParams(Context c, AttributeSet attrs) { method in class:StaggeredGridLayoutManager.LayoutParams 1873 public LayoutParams(int width, int height) { method in class:StaggeredGridLayoutManager.LayoutParams 1877 public LayoutParams(ViewGroup.MarginLayoutParams source) { method in class:StaggeredGridLayoutManager.LayoutParams 1881 public LayoutParams(ViewGroup.LayoutParams source) { method in class:StaggeredGridLayoutManager.LayoutParams 1885 public LayoutParams(RecyclerView.LayoutParams source) { method in class:StaggeredGridLayoutManager.LayoutParams [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | LoadAverageService.java | 290 WindowManager.LayoutParams params = new WindowManager.LayoutParams( 291 WindowManager.LayoutParams.MATCH_PARENT, 292 WindowManager.LayoutParams.WRAP_CONTENT, 293 WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY, 294 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE| 295 WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsDialog.java | 97 window.setType(WindowManager.LayoutParams.TYPE_RECENTS_OVERLAY); 98 window.setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, 99 WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); 104 final WindowManager.LayoutParams params = window.getAttributes(); 105 params.width = WindowManager.LayoutParams.MATCH_PARENT; 106 params.height = WindowManager.LayoutParams.MATCH_PARENT; 108 window.setFlags(0, WindowManager.LayoutParams.FLAG_DIM_BEHIND);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarContainer.java | 217 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); 218 lp.width = LayoutParams.MATCH_PARENT; 219 lp.height = LayoutParams.WRAP_CONTENT; 245 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); 288 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams();
|
H A D | ToolbarWidgetWrapper.java | 140 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); 474 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 475 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 476 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 536 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 537 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 538 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 551 Toolbar.LayoutParams l [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 86 import android.view.ViewGroup.LayoutParams; 315 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( 316 topLayoutWidth, LayoutParams.MATCH_PARENT); 347 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( 348 LayoutParams.MATCH_PARENT, 0); 374 layoutParams = new LinearLayout.LayoutParams( 375 LayoutParams.MATCH_PARENT, 0); 792 LayoutParams layoutParam [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | ActionBarLayout.java | 241 layout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, 242 LayoutParams.MATCH_PARENT)); 246 contentRoot.setLayoutParams(new LayoutParams( 247 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); 265 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams( 266 measureContentWidth(adapter), LayoutParams.WRAP_CONTENT);
|