Searched refs:LayoutParams (Results 251 - 275 of 691) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowLayersControllerTests.java29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG;
30 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY;
31 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION;
32 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY;
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAlignmentTest.java29 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 DGetBitmapSurfaceViewActivity.java74 content.addView(mSurfaceView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER));
75 content.addView(button, new FrameLayout.LayoutParams(
76 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT,
H A DOpaqueActivity.java36 setContentView(view, new FrameLayout.LayoutParams(100, 100, Gravity.CENTER));
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DManyEditTextActivityScrollResize.java55 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DBridgeActionBar.java32 import android.view.ViewGroup.LayoutParams;
174 view.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,
175 LayoutParams.MATCH_PARENT));
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DDataBindingUtilTest.java25 import android.view.ViewGroup.LayoutParams;
60 LayoutParams layoutParams = binding.getRoot().getLayoutParams();
61 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width);
62 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DYearPickerView.java56 ViewGroup.LayoutParams frame = new ViewGroup.LayoutParams(LayoutParams.MATCH_PARENT,
57 LayoutParams.WRAP_CONTENT);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java42 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(
43 ViewGroup.LayoutParams.MATCH_PARENT,
44 ViewGroup.LayoutParams.MATCH_PARENT);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DAsyncListUtilActivity.java52 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(
53 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java42 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(
43 ViewGroup.LayoutParams.MATCH_PARENT,
44 ViewGroup.LayoutParams.MATCH_PARENT);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DAsyncListUtilActivity.java52 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(
53 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java251 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
253 lp.width = LayoutParams.WRAP_CONTENT;
254 lp.height = LayoutParams.MATCH_PARENT;
311 mMenuView.getLayoutParams().width = LayoutParams.MATCH_PARENT;
314 mMenuView.getLayoutParams().width = LayoutParams.WRAP_CONTENT;
361 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
362 lp.width = LayoutParams.WRAP_CONTENT;
363 lp.height = LayoutParams.MATCH_PARENT;
396 final LayoutParams layoutParams = new LayoutParams(LayoutParam
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java80 private WindowManager.LayoutParams mWindowParams;
215 mWindowParams = new WindowManager.LayoutParams(
216 WindowManager.LayoutParams.TYPE_DISPLAY_OVERLAY);
217 mWindowParams.flags |= WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
218 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
219 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
220 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
221 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
223 mWindowParams.flags |= WindowManager.LayoutParams.FLAG_SECURE;
226 mWindowParams.flags |= WindowManager.LayoutParams
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarContextView.java183 final LayoutParams layoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT,
184 LayoutParams.MATCH_PARENT);
229 protected ViewGroup.LayoutParams generateDefaultLayoutParams() {
232 return new MarginLayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
236 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) {
291 ViewGroup.LayoutParams lp = mCustomView.getLayoutParams();
292 final int customWidthMode = lp.width != LayoutParams
[all...]
/frameworks/base/core/java/android/widget/
H A DStackView.java199 mHighlight.setLayoutParams(new LayoutParams(mHighlight));
200 addViewInLayout(mHighlight, -1, new LayoutParams(mHighlight));
203 mClickFeedback.setLayoutParams(new LayoutParams(mClickFeedback));
204 addViewInLayout(mClickFeedback, -1, new LayoutParams(mClickFeedback));
236 LayoutParams lp = (LayoutParams) view.getLayoutParams();
295 LayoutParams lp = (LayoutParams) view.getLayoutParams();
539 LayoutParams lp = (LayoutParams) chil
1277 class LayoutParams extends ViewGroup.LayoutParams { class in class:StackView
1286 LayoutParams(View view) { method in class:StackView.LayoutParams
1295 LayoutParams(Context c, AttributeSet attrs) { method in class:StackView.LayoutParams
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DResizingSpace.java23 import android.view.ViewGroup.LayoutParams;
43 LayoutParams params = getLayoutParams();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DFakeShadowView.java58 mFakeShadow.setLayoutParams(new LinearLayout.LayoutParams(
59 ViewGroup.LayoutParams.MATCH_PARENT,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DReverseLinearLayout.java60 public void addView(View child, ViewGroup.LayoutParams params) {
103 private void reversParams(ViewGroup.LayoutParams params) {
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DHitRectBug.java73 RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(128, 128);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java81 public void addView(View child, ViewGroup.LayoutParams params) {
88 public void addView(View child, int index, ViewGroup.LayoutParams params) {
/frameworks/support/design/src/android/support/design/internal/
H A DBottomNavigationItemView.java144 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams();
152 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams();
163 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams();
175 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams();
/frameworks/base/core/java/android/view/
H A DWindowManager.java78 * {@link LayoutParams} {@link LayoutParams#token}
172 public static class LayoutParams extends ViewGroup.LayoutParams implements Parcelable { class in interface:WindowManager
191 * to the view associated with these LayoutParams. Specify 0 if the view
200 * to the view associated with these LayoutParams. Specify 0 if the view
1013 * w.setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
1014 * WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
1312 * Further, this can only be set by {@link LayoutParams#TYPE_STATUS_BAR}.
1327 * This can only be set by {@link LayoutParams#TYPE_STATUS_BA
1931 public LayoutParams() { method in class:WindowManager.LayoutParams
1937 public LayoutParams(int _type) { method in class:WindowManager.LayoutParams
1943 public LayoutParams(int _type, int _flags) { method in class:WindowManager.LayoutParams
1950 public LayoutParams(int _type, int _flags, int _format) { method in class:WindowManager.LayoutParams
1957 public LayoutParams(int w, int h, int _type, int _flags, int _format) { method in class:WindowManager.LayoutParams
1964 public LayoutParams(int w, int h, int xpos, int ypos, int _type, method in class:WindowManager.LayoutParams
2105 public LayoutParams(Parcel in) { method in class:WindowManager.LayoutParams
[all...]
/frameworks/base/core/java/android/view/autofill/
H A DAutofillPopupWindow.java32 import android.view.WindowManager.LayoutParams;
48 private WindowManager.LayoutParams mWindowLayoutParams;
83 protected LayoutParams getDecorViewLayoutParams() {
182 protected void update(View anchor, WindowManager.LayoutParams params) {
202 final WindowManager.LayoutParams p = mWindowLayoutParams = createPopupLayoutParams(
319 void show(WindowManager.LayoutParams p, Rect transitionEpicenter, boolean fitsSystemWindows,
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java270 IconMenuView.LayoutParams getTextAppropriateLayoutParams() {
271 IconMenuView.LayoutParams lp = (IconMenuView.LayoutParams) getLayoutParams();
274 lp = new IconMenuView.LayoutParams(
275 IconMenuView.LayoutParams.MATCH_PARENT, IconMenuView.LayoutParams.MATCH_PARENT);

Completed in 700 milliseconds

<<11121314151617181920>>