Home
last modified time | relevance | path

Searched refs:setPadding (Results 1 – 25 of 116) sorted by relevance

12345

/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java135 label.setPadding(4, 4, 4, 4); in addRow()
138 value.setPadding(4, 4, 4, 4); in addRow()
167 labelView.setPadding(4, 4, 4, 4); in addRowWithBitmap()
172 imageView.setPadding(4, 4, 4, 4); in addRowWithBitmap()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java442 public void setPadding(int left, int top, int right, int bottom) { in setPadding() method in PagedRecyclerView
444 mNestedRecyclerView.setPadding(left, top, right, bottom); in setPadding()
447 super.setPadding(left, top, right, bottom); in setPadding()
581 mScrollBarUI.setPadding(mScrollBarPaddingStart, mScrollBarPaddingEnd); in createScrollBarFromConfig()
596 mScrollBarUI.setPadding(paddingStart, paddingEnd); in setScrollBarPadding()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/preference/
DPreferenceFragment.java91 recyclerView.setPadding(0, toolbar.getHeight(), 0, 0); in onViewCreated()
98 recyclerView.setPadding(0, newHeight, 0, 0); in onViewCreated()
112 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
114 .setPadding(insets.getLeft(), 0, insets.getRight(), 0); in onCarUiInsetsChanged()
DMultiSelectListPreferenceFragment.java79 recyclerView.setPadding(0, toolbar.getHeight(), 0, 0); in onViewCreated()
86 recyclerView.setPadding(0, newHeight, 0, 0); in onViewCreated()
DListPreferenceFragment.java78 carUiRecyclerView.setPadding(0, toolbar.getHeight(), 0, 0); in onViewCreated()
85 carUiRecyclerView.setPadding(0, newHeight, 0, 0); in onViewCreated()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPreviewPager.java87 mViewPager.setPadding( in PreviewPager()
97 mViewPager.setPadding( in PreviewPager()
147 mViewPager.setPadding(hPadding, mViewPager.getPaddingTop(), in forceCardWidth()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/caruirecyclerview/
DGridCarUiRecyclerViewActivity.java63 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
65 .setPadding(insets.getLeft(), 0, insets.getRight(), 0); in onCarUiInsetsChanged()
DCarUiRecyclerViewActivity.java67 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
69 .setPadding(insets.getLeft(), 0, insets.getRight(), 0); in onCarUiInsetsChanged()
DCarUiListItemActivity.java204 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
206 .setPadding(insets.getLeft(), 0, insets.getRight(), 0); in onCarUiInsetsChanged()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbWidgetHostView.java58 public void setPadding(int left, int top, int right, int bottom) { in setPadding() method in QsbWidgetHostView
60 super.setPadding(0, 0, 0, 0); in setPadding()
DQsbContainerView.java143 public void setPadding(int left, int top, int right, int bottom) { in setPadding() method in QsbContainerView
144 super.setPadding(0, 0, 0, 0); in setPadding()
148 super.setPadding(left, top, right, bottom); in setPaddingUnchecked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DConversationMessageView.java225 mMessageTextAndInfoView.setPadding(textRightPadding, in updateViewAppearance()
229 mMessageTextAndInfoView.setPadding(textLeftPadding, in updateViewAppearance()
235 setPadding(getPaddingLeft(), messageTopPadding, getPaddingRight(), 0); in updateViewAppearance()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java225 mMessageTextAndInfoView.setPadding(textRightPadding, in updateViewAppearance()
229 mMessageTextAndInfoView.setPadding(textLeftPadding, in updateViewAppearance()
235 setPadding(getPaddingLeft(), messageTopPadding, getPaddingRight(), 0); in updateViewAppearance()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorActivity.java95 mView.setPadding(insets.getSystemWindowInsetLeft(), in setContainer()
100 container.setPadding(0, 0, 0, insets.getSystemWindowInsetBottom()); in setContainer()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridItemView.java75 setPadding(paddingPx, paddingPx, paddingPx, paddingPx); in setSelected()
79 setPadding(paddingPx, paddingPx, paddingPx, paddingPx); in setSelected()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DDefaultScrollBarTest.java124 mScrollBar.setPadding(10, 20); in setPadding_shouldSetStartAndEndPadding()
134 assertThrows(NullPointerException.class, () -> mScrollBar.setPadding(10, 20)); in setPadding_shouldThrowErrorWithoutInitialization()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java765 mMessageTextAndInfoView.setPadding(textRightPadding, textTopPadding, textLeftPadding, in updateViewAppearance()
767 mMessageBubble.setPadding(contentRightPadding, 0, contentLeftPadding, 0); in updateViewAppearance()
769 mMessageTextAndInfoView.setPadding(textLeftPadding, textTopPadding, textRightPadding, in updateViewAppearance()
771 mMessageBubble.setPadding(contentLeftPadding, 0, contentRightPadding, 0); in updateViewAppearance()
775 setPadding(getPaddingLeft(), messageTopPadding, getPaddingRight(), 0); in updateViewAppearance()
779 mMessageMetadataView.setPadding(0, metadataTopPadding, 0, 0); in updateViewAppearance()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DCheckmarkSelectionAnimator.java151 mTile.setPadding(insetPx, insetPx, insetPx, insetPx); in selectImmediately()
163 mTile.setPadding(0, 0, 0, 0); in deselectImmediately()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java55 view.setPadding(view.getPaddingLeft(), view.getPaddingTop(),
180 setPadding(leftInset, getPaddingTop(), rightInset, bottomInset); in setInsets()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java433 ((ViewGroup) mTvView.getParent()).setPadding(0, 0, 0, 0); in updateAspectRatio()
436 ((ViewGroup) mTvView.getParent()).setPadding(newPadding, 0, newPadding, 0); in updateAspectRatio()
439 ((ViewGroup) mTvView.getParent()).setPadding(0, newPadding, 0, newPadding); in updateAspectRatio()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/
DMainActivity.java204 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
206 .setPadding(insets.getLeft(), 0, insets.getRight(), 0); in onCarUiInsetsChanged()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/dialogs/
DDialogsActivity.java239 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
241 .setPadding(insets.getLeft(), 0, insets.getRight(), 0); in onCarUiInsetsChanged()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DHorizontalBreadcrumb.java225 holder.title.setPadding(0, 0, horizontalPadding, 0); in onBindViewHolder()
228 holder.title.setPadding(horizontalPadding, 0, horizontalPadding, 0); in onBindViewHolder()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAppsDividerView.java172 setPadding(getPaddingLeft(), topPadding, getPaddingRight(), bottomPadding); in updateDividerType()
287 setPadding(leftRightPadding, getPaddingTop(), leftRightPadding, getPaddingBottom()); in setInsets()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java83 setPadding(paddingSize, paddingSize, paddingSize, paddingSize); in init()
94 iconView.setPadding(iconPadding, iconPadding, iconPadding, iconPadding); in init()

12345