/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InsettableFrameLayout.java | 26 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in setFrameLayoutChildInsets() 50 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 51 return new InsettableFrameLayout.LayoutParams(getContext(), attrs); in generateLayoutParams() 55 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 56 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams() 61 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams() 62 return p instanceof InsettableFrameLayout.LayoutParams; in checkLayoutParams() 66 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() 67 return new LayoutParams(p); in generateLayoutParams() 70 public static class LayoutParams extends FrameLayout.LayoutParams { class in InsettableFrameLayout [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | SystemUIOverlayWindowController.java | 20 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; 65 private WindowManager.LayoutParams mLp; 66 private WindowManager.LayoutParams mLpChanged; 80 mLpChanged = new WindowManager.LayoutParams(); in SystemUIOverlayWindowController() 118 mLp = new WindowManager.LayoutParams( in attach() 119 ViewGroup.LayoutParams.MATCH_PARENT, in attach() 120 ViewGroup.LayoutParams.MATCH_PARENT, in attach() 121 WindowManager.LayoutParams.TYPE_NOTIFICATION_SHADE, in attach() 122 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in attach() 123 | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING in attach() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 67 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onMeasure() 115 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout() 144 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout() 189 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() 190 return new LayoutParams(p); in generateLayoutParams() 194 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 195 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 199 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 200 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams() 203 public static final class LayoutParams extends FrameLayout.LayoutParams { class in LineWrapLayout [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ViewLayoutUtils.java | 36 return new FrameLayout.LayoutParams(width, height); in newLayoutParam() 38 return new RelativeLayout.LayoutParams(width, height); in newLayoutParam() 49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in placeViewAt() 59 final WindowManager.LayoutParams params = window.getAttributes(); in updateLayoutHeightOf() 67 final ViewGroup.LayoutParams params = view.getLayoutParams(); in updateLayoutHeightOf() 75 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in updateLayoutGravityOf() 76 if (lp instanceof LinearLayout.LayoutParams) { in updateLayoutGravityOf() 77 final LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)lp; in updateLayoutGravityOf() 82 } else if (lp instanceof FrameLayout.LayoutParams) { in updateLayoutGravityOf() 83 final FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)lp; in updateLayoutGravityOf()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 338 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 366 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() 388 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() 515 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getBaseline() 682 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical() 702 lp.height = LayoutParams.WRAP_CONTENT; in measureVertical() 746 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical() 760 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT; in measureVertical() 797 final LayoutParams lp = (LayoutParams) in measureVertical() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | BaseDragLayer.java | 58 public static final Property<LayoutParams, Integer> LAYOUT_X = 59 new Property<LayoutParams, Integer>(Integer.TYPE, "x") { 61 public Integer get(LayoutParams lp) { 66 public void set(LayoutParams lp, Integer x) { 71 public static final Property<LayoutParams, Integer> LAYOUT_Y = 72 new Property<LayoutParams, Integer>(Integer.TYPE, "y") { 74 public Integer get(LayoutParams lp) { 79 public void set(LayoutParams lp, Integer y) { 488 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 489 return new LayoutParams(getContext(), attrs); in generateLayoutParams() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 41 import android.view.ViewGroup.LayoutParams; 82 FrameLayout.LayoutParams layoutParams = 83 (FrameLayout.LayoutParams) msg.obj; 115 private FrameLayout.LayoutParams mTvViewLayoutParams; 118 private FrameLayout.LayoutParams mTvViewFrame; 119 private FrameLayout.LayoutParams mLastAnimatedTvViewFrame; 120 private FrameLayout.LayoutParams mOldTvViewFrame; 320 int color, FrameLayout.LayoutParams targetLayoutParams, boolean animate) { in setBackgroundColor() 333 ((targetLayoutParams.width != LayoutParams.MATCH_PARENT) in setBackgroundColor() 335 || ((targetLayoutParams.height != LayoutParams.MATCH_PARENT) in setBackgroundColor() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 56 public final static class LayoutParams extends LinearLayout.LayoutParams { class in InterpolatingLayout 81 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() method in InterpolatingLayout.LayoutParams 147 public LayoutParams(int width, int height) { in LayoutParams() method in InterpolatingLayout.LayoutParams 151 public LayoutParams(MarginLayoutParams source) { in LayoutParams() method in InterpolatingLayout.LayoutParams 194 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 195 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 199 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 200 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams() 219 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure() 220 if (params.width == LayoutParams.MATCH_PARENT) { in onMeasure() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | CarHeadsUpNotificationSystemContainer.java | 54 protected WindowManager.LayoutParams getWindowManagerLayoutParams() { in getWindowManagerLayoutParams() 57 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in getWindowManagerLayoutParams() 58 ViewGroup.LayoutParams.MATCH_PARENT, in getWindowManagerLayoutParams() 59 WindowManager.LayoutParams.WRAP_CONTENT, in getWindowManagerLayoutParams() 60 WindowManager.LayoutParams.TYPE_STATUS_BAR_SUB_PANEL, in getWindowManagerLayoutParams() 61 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in getWindowManagerLayoutParams() 62 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN, in getWindowManagerLayoutParams()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | BackGestureIndicatorView.java | 90 public WindowManager.LayoutParams getLayoutParams( in getLayoutParams() 91 WindowManager.LayoutParams parentWindowAttributes) { in getLayoutParams() 93 & WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); in getLayoutParams() 94 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in getLayoutParams() 95 WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, in getLayoutParams() 96 WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED in getLayoutParams() 97 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in getLayoutParams() 98 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in getLayoutParams()
|
/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/ |
D | SampleRearViewCameraActivity.java | 57 LinearLayout.LayoutParams viewParam = new LinearLayout.LayoutParams( in onCreate() 58 LinearLayout.LayoutParams.MATCH_PARENT, in onCreate() 59 LinearLayout.LayoutParams.MATCH_PARENT, in onCreate() 71 int width = WindowManager.LayoutParams.MATCH_PARENT; in onCreate() 72 int height = WindowManager.LayoutParams.MATCH_PARENT; in onCreate() 80 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in onCreate() 83 WindowManager.LayoutParams.FLAG_DIM_BEHIND in onCreate() 84 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL, in onCreate()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/window/ |
D | ActivityWindowControllerImpl.java | 18 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; 66 private WindowManager.LayoutParams mWmLayoutParams; 114 mWmLayoutParams = new WindowManager.LayoutParams( in inflate() 115 ViewGroup.LayoutParams.MATCH_PARENT, in inflate() 116 ViewGroup.LayoutParams.MATCH_PARENT, in inflate() 117 WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, in inflate() 118 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in inflate() 119 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL in inflate() 120 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in inflate() 124 mWmLayoutParams.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE; in inflate() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiLayoutParams.java | 64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); in setPagerProperties() 71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setCategoryPageIdViewProperties() 81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); in setActionBarProperties() 87 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setKeyProperties()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdCtsForegroundActivity.java | 119 WindowManager.LayoutParams wmlp = new WindowManager.LayoutParams( in doShowApplicationOverlay() 120 WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, in doShowApplicationOverlay() 121 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in doShowApplicationOverlay() 122 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in doShowApplicationOverlay() 123 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE); in doShowApplicationOverlay() 129 ViewGroup.LayoutParams vglp = new ViewGroup.LayoutParams( in doShowApplicationOverlay() 130 ViewGroup.LayoutParams.MATCH_PARENT, in doShowApplicationOverlay() 131 ViewGroup.LayoutParams.MATCH_PARENT); in doShowApplicationOverlay()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | AbstractNavButtonLayoutter.kt | 68 fun getParamsToCenterView(): FrameLayout.LayoutParams { in getParamsToCenterView() 70 FrameLayout.LayoutParams( in getParamsToCenterView() 71 ViewGroup.LayoutParams.MATCH_PARENT, in getParamsToCenterView() 72 ViewGroup.LayoutParams.MATCH_PARENT in getParamsToCenterView() 79 navButtonsLayoutParams: FrameLayout.LayoutParams, in adjustForSetupInPhoneMode() 80 navButtonsViewLayoutParams: FrameLayout.LayoutParams, in adjustForSetupInPhoneMode() 103 FrameLayout.LayoutParams(buttonSize, ViewGroup.LayoutParams.MATCH_PARENT) in repositionContextualContainer()
|
D | TaskbarNavLayoutter.kt | 22 import android.view.ViewGroup.LayoutParams.WRAP_CONTENT 70 FrameLayout.LayoutParams( in layoutButtons() 71 FrameLayout.LayoutParams.WRAP_CONTENT, in layoutButtons() 72 ViewGroup.LayoutParams.MATCH_PARENT in layoutButtons() 85 val buttonLayoutParams = navButton.layoutParams as LinearLayout.LayoutParams in layoutButtons() 123 FrameLayout.LayoutParams( in layoutButtons() 124 FrameLayout.LayoutParams.MATCH_PARENT, in layoutButtons() 125 ViewGroup.LayoutParams.MATCH_PARENT in layoutButtons()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneDisplayMessage.java | 79 WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); in displayMessage() 81 WindowManager.LayoutParams.FLAG_DIM_BEHIND in displayMessage() 82 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in displayMessage() 83 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in displayMessage() 84 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in displayMessage() 97 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in dismissMessage() 98 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in dismissMessage()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | BaseTestingActivity.java | 31 import android.widget.LinearLayout.LayoutParams; 84 LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in addButton() 94 LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in addEditor()
|
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/ |
D | CarHeadsUpNotificationAppContainer.java | 39 protected WindowManager.LayoutParams getWindowManagerLayoutParams() { in getWindowManagerLayoutParams() 41 WindowManager.LayoutParams wrapperParams = new WindowManager.LayoutParams( in getWindowManagerLayoutParams() 45 WindowManager.LayoutParams.TYPE_SYSTEM_ERROR, in getWindowManagerLayoutParams() 46 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in getWindowManagerLayoutParams() 47 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, in getWindowManagerLayoutParams()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 609 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1; in obtainView() 621 ViewGroup.LayoutParams lp = view.getLayoutParams(); in obtainView() 632 final LayoutParams sglp = (LayoutParams) lp; in obtainView() 678 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 679 return new LayoutParams(LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams() 683 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { in generateLayoutParams() 684 return new LayoutParams(lp); in generateLayoutParams() 688 protected boolean checkLayoutParams(ViewGroup.LayoutParams lp) { in checkLayoutParams() 689 return lp instanceof LayoutParams; in checkLayoutParams() 693 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/ |
D | TaskbarOverlayController.java | 18 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; 19 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_CONSUME_IME_INSETS; 20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 32 import android.view.WindowManager.LayoutParams; 59 private final LayoutParams mLayoutParams; 183 private LayoutParams createLayoutParams() { in createLayoutParams() 184 LayoutParams layoutParams = new LayoutParams( in createLayoutParams() 186 LayoutParams.FLAG_SPLIT_TOUCH, in createLayoutParams()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SmsBottomSheetFragment.java | 32 import android.view.ViewGroup.LayoutParams; 71 layout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in onCreateView() 85 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreateDialog() 109 LayoutParams params = in newTextViewItem() 110 new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in newTextViewItem()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/appstyledview/ |
D | AppStyledViewControllerAdapterProxyV3.java | 21 import android.view.WindowManager.LayoutParams; 100 public LayoutParams getDialogWindowLayoutParam(@NonNull LayoutParams params) { in getDialogWindowLayoutParam() 106 WindowManager.LayoutParams latestParams = in getContentAreaWidth() 108 new WindowManager.LayoutParams()); in getContentAreaWidth() 117 WindowManager.LayoutParams latestParams = in getContentAreaHeight() 119 new WindowManager.LayoutParams()); in getContentAreaHeight()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | OnScreenHint.java | 50 private final WindowManager.LayoutParams mParams = 51 new WindowManager.LayoutParams(); 67 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in OnScreenHint() 68 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in OnScreenHint() 69 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in OnScreenHint() 70 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; in OnScreenHint() 73 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; in OnScreenHint()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | PageIndicator.java | 66 setLayoutParams(new LayoutParams(/* width */ mAppGridWidth, in PageIndicator() 67 /* height */ LayoutParams.MATCH_PARENT)); in PageIndicator() 79 ViewGroup.LayoutParams indicatorContainerParams = mContainer.getLayoutParams(); in onDimensionsUpdated() 95 LayoutParams params = (LayoutParams) getLayoutParams(); in updatePageCount() 110 LayoutParams params = (LayoutParams) getLayoutParams(); in updateOffset()
|