/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 82 FrameLayout.LayoutParams layoutParams = 88 + layoutParams.width 90 + layoutParams.height); 92 mTvView.setTvViewLayoutParams(layoutParams); 100 layoutParams.width, layoutParams.height); 356 final FrameLayout.LayoutParams layoutParams, in setTvViewPosition() argument 363 + layoutParams.width in setTvViewPosition() 365 + layoutParams.height in setTvViewPosition() 367 + layoutParams.getMarginStart() in setTvViewPosition() 369 + layoutParams.topMargin in setTvViewPosition() [all …]
|
D | ViewUtils.java | 83 LayoutParams layoutParams = view.getLayoutParams(); in getLayoutHeight() local 84 return layoutParams.height; in getLayoutHeight() 89 LayoutParams layoutParams = view.getLayoutParams(); in setLayoutHeight() local 90 if (height != layoutParams.height) { in setLayoutHeight() 91 layoutParams.height = height; in setLayoutHeight() 92 view.setLayoutParams(layoutParams); in setLayoutHeight()
|
D | ChannelBannerView.java | 885 LayoutParams layoutParams = (LayoutParams) getLayoutParams(); 886 if (targetHeight != layoutParams.height) { 887 layoutParams.height = targetHeight; 888 setLayoutParams(layoutParams); 908 LayoutParams layoutParams = 910 if (value != layoutParams.height) { 911 layoutParams.height = value; 912 ChannelBannerView.this.setLayoutParams(layoutParams);
|
D | KeypadChannelSwitchView.java | 361 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in setViewHeight() local 362 if (height != layoutParams.height) { in setViewHeight() 363 layoutParams.height = height; in setViewHeight() 364 view.setLayoutParams(layoutParams); in setViewHeight()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 67 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onMeasure() local 68 int startMargin = layoutParams.getStartMargin(); in onMeasure() 69 int endMargin = layoutParams.getEndMargin(); in onMeasure() 72 int childMeasuredHeight = currChild.getMeasuredHeight() + layoutParams.topMargin + in onMeasure() 73 layoutParams.bottomMargin; in onMeasure() 115 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout() local 118 int startMargin = layoutParams.getStartMargin(); in onLayout() 119 int endMargin = layoutParams.getEndMargin(); in onLayout() 128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout() 129 layoutParams.bottomMargin); in onLayout() [all …]
|
D | AttachmentPreviewFactory.java | 120 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( in createMultiplePreview() local 122 multiAttachmentLayout.setLayoutParams(layoutParams); in createMultiplePreview() 198 final ViewGroup.LayoutParams layoutParams = imageView.getLayoutParams(); in createPendingAttachmentPreview() local 201 layoutParams.width = attachmentData.getWidth() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview() 203 layoutParams.height = attachmentData.getHeight() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/ |
D | CurrentActivityService.java | 104 final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams( in onCreate() local 113 layoutParams.gravity = Gravity.TOP | Gravity.LEFT; in onCreate() 114 layoutParams.x = 0; in onCreate() 115 layoutParams.y = 100; in onCreate() 116 mTextView.setLayoutParams(layoutParams); in onCreate() 130 mInitialX = layoutParams.x; in onCreate() 131 mInitialY = layoutParams.y; in onCreate() 136 WindowManager.LayoutParams layoutParams = in onCreate() 138 layoutParams.x = mInitialX + (int) (event.getRawX() - mInitialTouchX); in onCreate() 139 layoutParams.y = mInitialY + (int) (event.getRawY() - mInitialTouchY); in onCreate() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.kt | 108 val layoutParams = child.layoutParams as LayoutParams? in onMeasure() constant 109 if (layoutParams != null) { in onMeasure() 110 outOfSpec = outOfSpec or (layoutParams.weight > 0f) in onMeasure() 112 layoutParams.leftMargin + layoutParams.rightMargin) in onMeasure()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | FullScreenAnimation.java | 149 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( in setViewMargins() local 154 layoutParams.setMargins(0, Math.round(marginTop), 0, Math.round(marginBottom)); in setViewMargins() 157 layoutParams.gravity = Gravity.BOTTOM; in setViewMargins() 160 mView.findViewById(viewId).setLayoutParams(layoutParams); in setViewMargins() 228 AppBarLayout.LayoutParams layoutParams = new AppBarLayout.LayoutParams( in ensureToolbarIsCorrectlyLocated() local 232 layoutParams.setMargins(0, getStatusBarHeight(), 0, 0); in ensureToolbarIsCorrectlyLocated() 234 mView.findViewById(R.id.toolbar).setLayoutParams(layoutParams); in ensureToolbarIsCorrectlyLocated()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 161 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in adjustDimensions() 162 layoutParams.height = photoHeight; in adjustDimensions() 163 layoutParams.width = photoWidth; in adjustDimensions() 164 setLayoutParams(layoutParams); in adjustDimensions()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 362 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in ensurePinnedHeaderLayout() local 366 if (layoutParams != null && layoutParams.width > 0) { in ensurePinnedHeaderLayout() 368 .makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout() 374 if (layoutParams != null && layoutParams.height > 0) { in ensurePinnedHeaderLayout() 376 .makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout()
|
D | ContactsUnavailableFragment.java | 63 final LinearLayout.LayoutParams layoutParams = in onCreateView() local 71 layoutParams.setMargins(0, topMargin, 0, 0); in onCreateView() 72 layoutParams.gravity = Gravity.CENTER_HORIZONTAL; in onCreateView() 73 mImageView.setLayoutParams(layoutParams); in onCreateView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPageProgressBar.java | 42 LayoutParams layoutParams = mProgress.getLayoutParams(); in setProgress() local 43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; in setProgress() 44 mProgress.setLayoutParams(layoutParams); in setProgress()
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletCardCarousel.java | 131 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in onViewAdded() local 132 layoutParams.leftMargin = mCardMarginPx; in onViewAdded() 133 layoutParams.rightMargin = mCardMarginPx; in onViewAdded() 392 ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams(); 393 layoutParams.width = mCardWidthPx; 394 layoutParams.height = mCardHeightPx;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | PermissionHistoryPreference.java | 208 WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(); in setHistoryIcon() 209 layoutParams.copyFrom(dialog.getWindow().getAttributes()); in setHistoryIcon() 212 layoutParams.width = dialogWindowWidth; in setHistoryIcon() 213 layoutParams.height = dialogWindowHeight; in setHistoryIcon() 214 dialog.getWindow().setAttributes(layoutParams); in setHistoryIcon()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | ContactPhotoView.java | 80 ViewGroup.LayoutParams layoutParams = Assert.isNotNull(getLayoutParams()); in onMeasure() local 82 layoutParams.height == LayoutParams.WRAP_CONTENT, in onMeasure() 85 layoutParams.width == LayoutParams.WRAP_CONTENT, "The layout width must be WRAP_CONTENT!"); in onMeasure()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TopRightWeightedLayout.java | 103 … LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) v.getLayoutParams(); in fixGravityAndPadding() local 104 int gravity = layoutParams.gravity; in fixGravityAndPadding() 145 layoutParams.gravity = gravity; in fixGravityAndPadding()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsListHeader.java | 194 LinearLayout.LayoutParams layoutParams = in applyDrawables() local 196 layoutParams.width = mIconSize; in applyDrawables() 197 layoutParams.height = mIconSize; in applyDrawables() 198 mAppIcon.setLayoutParams(layoutParams); in applyDrawables()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerViewContainer.java | 53 void addRecyclerView(View view, LayoutParams layoutParams) { in addRecyclerView() argument 54 addViewInLayout(view, 0, layoutParams); in addRecyclerView()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/ |
D | WallpaperPreviewer.java | 235 ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams(); in updatePreviewCardRadius() local 236 layoutParams.width = cardWidth; in updatePreviewCardRadius() 237 cardView.setLayoutParams(layoutParams); in updatePreviewCardRadius()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetCell.java | 332 LayoutParams layoutParams = (LayoutParams) mWidgetImageContainer.getLayoutParams(); in setContainerSize() local 333 layoutParams.width = (int) (width * mPreviewScale); in setContainerSize() 334 layoutParams.height = (int) (height * mPreviewScale); in setContainerSize() 335 mWidgetImageContainer.setLayoutParams(layoutParams); in setContainerSize()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderController.java | 400 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in showBatteryIcon() local 405 layoutParams.rightMargin = mContext.getResources().getDimensionPixelSize( in showBatteryIcon() 407 imageView.setLayoutParams(layoutParams); in showBatteryIcon() 410 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in showBatteryIcon() local 412 imageView.setLayoutParams(layoutParams); in showBatteryIcon()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperSectionView.java | 63 ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams(); in matchDeviceShape() local 64 layoutParams.height = cardHeight; in matchDeviceShape()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | DrawOverlayDetailsTest.java | 39 private LayoutParams layoutParams; field in DrawOverlayDetailsTest 51 layoutParams = new LayoutParams(); in setUp()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchFragment.java | 129 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( in onViewCreated() local 132 layoutParams.setMargins(0, getResources().getDimensionPixelSize( in onViewCreated() 134 getView().setLayoutParams(layoutParams); in onViewCreated()
|