/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | TranslucentFancyActivity.java | 62 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, 63 WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCache.java | 41 testBed.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); 52 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); 59 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height)); 62 scroller.setLayoutParams(new ViewGroup.LayoutParams( 63 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | TestActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerImpl.java | 83 public void addView(@NonNull View view, @NonNull ViewGroup.LayoutParams params) { 89 public void updateViewLayout(@NonNull View view, @NonNull ViewGroup.LayoutParams params) { 94 private void applyDefaultToken(@NonNull ViewGroup.LayoutParams params) { 97 if (!(params instanceof WindowManager.LayoutParams)) { 98 throw new IllegalArgumentException("Params must be WindowManager.LayoutParams"); 102 final WindowManager.LayoutParams wparams = (WindowManager.LayoutParams) params;
|
/frameworks/base/core/java/android/widget/ |
H A D | ViewSwitcher.java | 62 public void addView(View child, int index, ViewGroup.LayoutParams params) { 86 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 88 lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); 97 * {@link #addView(android.view.View, int, android.view.ViewGroup.LayoutParams)}
|
H A D | ActionMenuView.java | 164 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 181 ViewGroup.LayoutParams.WRAP_CONTENT); 221 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 259 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 285 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 315 LayoutParams l 789 public static class LayoutParams extends LinearLayout.LayoutParams { class in class:ActionMenuView 813 public LayoutParams(Context c, AttributeSet attrs) { method in class:ActionMenuView.LayoutParams 817 public LayoutParams(ViewGroup.LayoutParams other) { method in class:ActionMenuView.LayoutParams 821 public LayoutParams(LayoutParams other) { method in class:ActionMenuView.LayoutParams 826 public LayoutParams(int width, int height) { method in class:ActionMenuView.LayoutParams 832 public LayoutParams(int width, int height, boolean isOverflowButton) { method in class:ActionMenuView.LayoutParams [all...] |
H A D | RadioGroup.java | 47 * {@link android.widget.LinearLayout.LayoutParams LinearLayout.LayoutParams} 127 public void addView(View child, int index, ViewGroup.LayoutParams params) { 226 public LayoutParams generateLayoutParams(AttributeSet attrs) { 227 return new RadioGroup.LayoutParams(getContext(), attrs); 234 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 235 return p instanceof RadioGroup.LayoutParams; 239 protected LinearLayout.LayoutParams generateDefaultLayoutParams() { 240 return new LayoutParams(LayoutParams 258 public static class LayoutParams extends LinearLayout.LayoutParams { class in class:RadioGroup 262 public LayoutParams(Context c, AttributeSet attrs) { method in class:RadioGroup.LayoutParams 269 public LayoutParams(int w, int h) { method in class:RadioGroup.LayoutParams 276 public LayoutParams(int w, int h, float initWeight) { method in class:RadioGroup.LayoutParams 283 public LayoutParams(ViewGroup.LayoutParams p) { method in class:RadioGroup.LayoutParams 290 public LayoutParams(MarginLayoutParams source) { method in class:RadioGroup.LayoutParams [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 51 final LinearLayout.LayoutParams buttonLp = 52 new LinearLayout.LayoutParams( 53 ViewGroup.LayoutParams.MATCH_PARENT, 63 middleFiller.setLayoutParams(new LinearLayout.LayoutParams( 64 ViewGroup.LayoutParams.MATCH_PARENT, 96 final LinearLayout.LayoutParams lp 97 = new LinearLayout.LayoutParams(0, desiredHeight); 159 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( 160 ViewGroup.LayoutParams [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | AdjacentVerticalRectLists.java | 68 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 69 ViewGroup.LayoutParams.MATCH_PARENT, 70 ViewGroup.LayoutParams.MATCH_PARENT)); 72 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(0, 73 ViewGroup.LayoutParams.MATCH_PARENT, 1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | SystemUIDialog.java | 36 getWindow().setType(WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL); 37 getWindow().addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM 38 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); 39 WindowManager.LayoutParams attrs = getWindow().getAttributes(); 47 WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; 50 ~WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
|
H A D | StatusBarWindowManager.java | 47 private WindowManager.LayoutParams mLp; 48 private WindowManager.LayoutParams mLpChanged; 79 mLp = new WindowManager.LayoutParams( 80 ViewGroup.LayoutParams.MATCH_PARENT, 82 WindowManager.LayoutParams.TYPE_STATUS_BAR, 83 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 84 | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING 85 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH 86 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH 87 | WindowManager.LayoutParams [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 50 WindowManager.LayoutParams lp = getWindow().getAttributes(); 112 WindowManager.LayoutParams lp = getWindow().getAttributes(); 122 private void updateWidthHeight(WindowManager.LayoutParams lp) { 124 lp.width = WindowManager.LayoutParams.MATCH_PARENT; 125 lp.height = WindowManager.LayoutParams.WRAP_CONTENT; 127 lp.width = WindowManager.LayoutParams.WRAP_CONTENT; 128 lp.height = WindowManager.LayoutParams.MATCH_PARENT; 169 WindowManager.LayoutParams lp = getWindow().getAttributes(); 179 int windowSetFlags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 180 int windowModFlags = WindowManager.LayoutParams [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextGammaActivity.java | 41 layout.addView(gamma, new LinearLayout.LayoutParams( 42 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT 58 layout.addView(image, new LinearLayout.LayoutParams( 59 LinearLayout.LayoutParams.WRAP_CONTENT, 60 LinearLayout.LayoutParams.WRAP_CONTENT 92 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 93 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams [all...] |
H A D | MarqueeActivity.java | 42 linearLayout.addView(text1, new LinearLayout.LayoutParams( 43 100, LinearLayout.LayoutParams.WRAP_CONTENT)); 50 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams( 51 100, LinearLayout.LayoutParams.WRAP_CONTENT);
|
H A D | TimeDialogActivity.java | 35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, 36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
|
H A D | Rotate3dTextActivity.java | 52 private static LinearLayout.LayoutParams makeLayoutParams() { 53 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 54 LinearLayout.LayoutParams.MATCH_PARENT, 0);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 168 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 185 ViewGroup.LayoutParams.WRAP_CONTENT); 225 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 263 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 289 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 319 LayoutParams l 790 public static class LayoutParams extends LinearLayoutCompat.LayoutParams { class in class:ActionMenuView 809 public LayoutParams(Context c, AttributeSet attrs) { method in class:ActionMenuView.LayoutParams 813 public LayoutParams(ViewGroup.LayoutParams other) { method in class:ActionMenuView.LayoutParams 817 public LayoutParams(LayoutParams other) { method in class:ActionMenuView.LayoutParams 822 public LayoutParams(int width, int height) { method in class:ActionMenuView.LayoutParams 827 LayoutParams(int width, int height, boolean isOverflowButton) { method in class:ActionMenuView.LayoutParams [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListSetSelection.java | 53 getListViewContainer().addView(mButton, new LinearLayout.LayoutParams( 54 LinearLayout.LayoutParams.MATCH_PARENT, 55 LinearLayout.LayoutParams.WRAP_CONTENT
|
H A D | ListItemsExpandOnSelection.java | 46 final AbsListView.LayoutParams lp = new AbsListView.LayoutParams( 47 ViewGroup.LayoutParams.MATCH_PARENT, 48 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectsTest.java | 183 addView(tv, new LinearLayout.LayoutParams( 184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 187 addView(tv, new LinearLayout.LayoutParams( 188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 191 addView(tv, new LinearLayout.LayoutParams( 192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 195 addView(tv, new LinearLayout.LayoutParams( [all...] |
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfActivity.java | 33 getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ListFragment.java | 105 pframe.addView(progress, new FrameLayout.LayoutParams( 106 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); 108 root.addView(pframe, new FrameLayout.LayoutParams( 109 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); 119 lframe.addView(tv, new FrameLayout.LayoutParams( 120 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); 125 lframe.addView(lv, new FrameLayout.LayoutParams( [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 40 * we can emulate {@link WindowManager.LayoutParams#FLAG_SLIPPERY} within a view hierarchy. 176 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 177 return p instanceof LayoutParams; 181 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { 182 return p instanceof LayoutParams ? new LayoutParams((LayoutParams) p) : new LayoutParams(p); 186 public LayoutParams generateLayoutParam 262 public static class LayoutParams extends FrameLayout.LayoutParams { class in class:KeyguardSecurityViewFlipper 269 public LayoutParams(ViewGroup.LayoutParams other) { method in class:KeyguardSecurityViewFlipper.LayoutParams 273 public LayoutParams(LayoutParams other) { method in class:KeyguardSecurityViewFlipper.LayoutParams 280 public LayoutParams(Context c, AttributeSet attrs) { method in class:KeyguardSecurityViewFlipper.LayoutParams [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ScrollViewButtonsAndLabels.java | 72 LinearLayout.LayoutParams p = new LinearLayout.LayoutParams( 73 LinearLayout.LayoutParams.MATCH_PARENT, 74 LinearLayout.LayoutParams.WRAP_CONTENT
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | BigEditTextActivityNonScrollablePanScan.java | 37 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN); 41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, 43 ViewGroup.LayoutParams.MATCH_PARENT));
|