Searched refs:LayoutParams (Results 276 - 300 of 387) sorted by relevance

<<111213141516

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPinView.java154 WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
168 WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
H A DKeyguardSimPukView.java208 WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
223 WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
H A DKeyguardWidgetFrame.java332 LayoutParams lp = (LayoutParams) widget.getLayoutParams();
388 setWidgetHeight(LayoutParams.MATCH_PARENT);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java147 LayoutParams lp = (LayoutParams) contractedChild.getLayoutParams();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardStatusBarView.java109 RelativeLayout.LayoutParams lp =
110 (LayoutParams) mSystemIconsSuperContainer.getLayoutParams();
H A DStatusBarWindowView.java110 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams();
H A DNavigationBarView.java373 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams();
375 boolean oldSlippery = (lp.flags & WindowManager.LayoutParams.FLAG_SLIPPERY) != 0;
377 lp.flags |= WindowManager.LayoutParams.FLAG_SLIPPERY;
379 lp.flags &= ~WindowManager.LayoutParams.FLAG_SLIPPERY;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DBarController.java110 & WindowManager.LayoutParams.PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR) == 0) {
117 if ((fl & WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS) != 0) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java449 ViewGroup.LayoutParams params = new ViewGroup.LayoutParams(1, 1);
/frameworks/support/v4/java/android/support/v4/app/
H A DDialogFragment.java311 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE |
312 WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegate.java168 abstract void setContentView(View v, ViewGroup.LayoutParams lp);
170 abstract void addContentView(View v, ViewGroup.LayoutParams lp);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityTest.java72 public RecyclerView.LayoutParams generateDefaultLayoutParams() {
73 return new RecyclerView.LayoutParams(-1, -1);
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java157 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs,
164 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs,
172 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs,
179 public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs,
189 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DSpinnerCompat.java183 ViewGroup.LayoutParams.WRAP_CONTENT);
303 * to {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT} to match the width of the Spinner
304 * itself, or {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} to wrap to the measured
321 * value may also be {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT} meaning the popup
322 * window will match the width of the Spinner itself, or {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
556 ViewGroup.LayoutParams lp = child.getLayoutParams();
665 itemView.setLayoutParams(new ViewGroup.LayoutParams(
666 ViewGroup.LayoutParams.WRAP_CONTENT,
667 ViewGroup.LayoutParams.WRAP_CONTENT));
/frameworks/base/core/java/android/widget/
H A DAbsListView.java2325 final LayoutParams params = (LayoutParams) transientView.getLayoutParams();
2381 final ViewGroup.LayoutParams vlp = child.getLayoutParams();
2382 LayoutParams lp;
2384 lp = (LayoutParams) generateDefaultLayoutParams();
2386 lp = (LayoutParams) generateLayoutParams(vlp);
2388 lp = (LayoutParams) vlp;
5769 p.setWidth(LayoutParams.WRAP_CONTENT);
5770 p.setHeight(LayoutParams.WRAP_CONTENT);
5893 protected ViewGroup.LayoutParams generateDefaultLayoutParam
6213 public static class LayoutParams extends ViewGroup.LayoutParams { class in class:AbsListView
6256 public LayoutParams(Context c, AttributeSet attrs) { method in class:AbsListView.LayoutParams
6260 public LayoutParams(int w, int h) { method in class:AbsListView.LayoutParams
6264 public LayoutParams(int w, int h, int viewType) { method in class:AbsListView.LayoutParams
6269 public LayoutParams(ViewGroup.LayoutParams source) { method in class:AbsListView.LayoutParams
[all...]
H A DEditor.java94 import android.view.ViewGroup.LayoutParams;
470 ViewGroup.LayoutParams params = mTextView.getRootView().getLayoutParams();
471 if (params instanceof WindowManager.LayoutParams) {
472 WindowManager.LayoutParams windowParams = (WindowManager.LayoutParams) params;
473 windowSupportsHandles = windowParams.type < WindowManager.LayoutParams.FIRST_SUB_WINDOW
474 || windowParams.type > WindowManager.LayoutParams.LAST_SUB_WINDOW;
1813 shadowView.setLayoutParams(new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
1814 ViewGroup.LayoutParams
[all...]
H A DTabWidget.java482 final LinearLayout.LayoutParams lp = new LayoutParams(
484 ViewGroup.LayoutParams.MATCH_PARENT, 1.0f);
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java247 private WindowManager.LayoutParams mWindowParams;
947 int type = WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY;
951 int flag = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
952 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
953 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
954 mWindowParams = new WindowManager.LayoutParams(
958 WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION;
/frameworks/base/core/java/android/view/
H A DViewGroup.java64 * {@link android.view.ViewGroup.LayoutParams} class which serves as the base
69 * Also see {@link LayoutParams} for layout attributes.
3139 final LayoutParams params = child.getLayoutParams();
3671 LayoutParams params = child.getLayoutParams();
3692 final LayoutParams params = generateDefaultLayoutParams();
3708 public void addView(View child, LayoutParams params) {
3723 public void addView(View child, int index, LayoutParams params) {
3728 // addViewInner() will call child.requestLayout() when setting the new LayoutParams
3739 public void updateViewLayout(View view, ViewGroup.LayoutParams params) {
3741 throw new IllegalArgumentException("Invalid LayoutParams supplie
6303 public static class LayoutParams { class in class:ViewGroup
6373 public LayoutParams(Context c, AttributeSet attrs) { method in class:ViewGroup.LayoutParams
6392 public LayoutParams(int width, int height) { method in class:ViewGroup.LayoutParams
6402 public LayoutParams(LayoutParams source) { method in class:ViewGroup.LayoutParams
6411 LayoutParams() { method in class:ViewGroup.LayoutParams
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePanel.java59 import android.view.WindowManager.LayoutParams;
389 final LayoutParams lp = window.getAttributes();
392 lp.type = LayoutParams.TYPE_STATUS_BAR_PANEL;
401 window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
402 window.addFlags(LayoutParams.FLAG_NOT_FOCUSABLE
403 | LayoutParams.FLAG_NOT_TOUCH_MODAL
404 | LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
405 | LayoutParams.FLAG_HARDWARE_ACCELERATED);
444 final LayoutParams lp = mDialog.getWindow().getAttributes();
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java160 public RecyclerView.LayoutParams generateDefaultLayoutParams() {
161 return new RecyclerView.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
162 ViewGroup.LayoutParams.WRAP_CONTENT);
1312 RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) view.getLayoutParams();
1481 if (((RecyclerView.LayoutParams) view.getLayoutParams()).isItemRemoved()) {
1947 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams();
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java29 import android.view.WindowManager.LayoutParams;
358 public void translateWindowLayout(WindowManager.LayoutParams params) {
391 public void translateLayoutParamsInAppWindowToScreen(LayoutParams params) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java1313 WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
1315 |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
3134 case WindowManager.LayoutParams.TYPE_APPLICATION:
3135 case WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA:
3136 case WindowManager.LayoutParams.TYPE_APPLICATION_PANEL:
3137 case WindowManager.LayoutParams.TYPE_APPLICATION_STARTING:
3138 case WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL:
3139 case WindowManager.LayoutParams.TYPE_BASE_APPLICATION:
3140 case WindowManager.LayoutParams.TYPE_PHONE:
3141 case WindowManager.LayoutParams
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java85 setContentView(mTextureView, new FrameLayout.LayoutParams(
86 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT,
/frameworks/base/core/java/android/app/
H A DSearchDialog.java146 WindowManager.LayoutParams lp = theWindow.getAttributes();
147 lp.width = ViewGroup.LayoutParams.MATCH_PARENT;
151 lp.height = ViewGroup.LayoutParams.MATCH_PARENT;
153 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE;

Completed in 1045 milliseconds

<<111213141516