Home
last modified time | relevance | path

Searched refs:getPaddingStart (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DTextReadingPreviewPreferenceTest.java157 final int currentLayoutPaddingStart = previewLayout.getPaddingStart(); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
158 final int currentBackgroundPaddingStart = backgroundView.getPaddingStart(); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
165 assertThat(previewLayout.getPaddingStart()).isEqualTo(currentLayoutPaddingStart); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
166 assertThat(backgroundView.getPaddingStart()).isEqualTo(currentBackgroundPaddingStart); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
176 final int currentLayoutPaddingStart = previewLayout.getPaddingStart(); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
177 final int currentBackgroundPaddingStart = backgroundView.getPaddingStart(); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
184 assertThat(previewLayout.getPaddingStart()).isEqualTo(currentLayoutPaddingStart + 10); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
185 assertThat(backgroundView.getPaddingStart()).isEqualTo(currentBackgroundPaddingStart + 10); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
/packages/apps/Settings/src/com/android/settings/widget/
DLabeledSeekBar.java203 final int barWidth = width - LabeledSeekBar.this.getPaddingStart() in getHalfVirtualViewWidth()
210 ((int) x - LabeledSeekBar.this.getPaddingStart()) / getHalfVirtualViewWidth()); in getVirtualViewIdIndexFromX()
220 + LabeledSeekBar.this.getPaddingStart(); in getBoundsInParentFromVirtualViewId()
222 + LabeledSeekBar.this.getPaddingStart(); in getBoundsInParentFromVirtualViewId()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java65 getMeasuredWidth() - getPaddingEnd() - getPaddingStart(), in setLoadingBounds()
68 Utilities.isRtl(getResources()) ? getPaddingEnd() : getPaddingStart(), in setLoadingBounds()
DShortcutDragPreviewProvider.java70 int iconLeft = mView.getPaddingStart(); in getScaleAndPosition()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/view/
DRecentsRecyclerViewTest.java143 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(0); in resetPadding_setsStartPadding_toZero_whenNoRecentTasksPresent()
165 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(startPadding); in resetPadding_setsStartPadding_toStart_noReverseLayout_noRTL()
201 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(endPadding); in resetPadding_setsEndPadding_toStart_noReverseLayout_RTL()
225 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(endPadding); in resetPadding_setsEndPadding_toStart_reverseLayout_noRTL()
237 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(startPadding); in resetPadding_setsStartPadding_toStart_reverseLayout_RTL()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewPreference.java118 Math.max(previewLayout.getPaddingStart(), mLayoutMinHorizontalPadding), in adjustPaddings()
124 Math.max(backgroundView.getPaddingStart(), mBackgroundMinHorizontalPadding), in adjustPaddings()
DVibrationIntensitySettingsFragment.java80 rv.setPaddingRelative(rv.getPaddingStart(), rv.getPaddingTop(), rv.getPaddingEnd(), in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java46 final int startPadding = UiUtils.getPaddingStart(this); in onMeasure()
99 final int startPadding = UiUtils.getPaddingStart(this); in onLayout()
/packages/apps/Dialer/java/com/android/dialer/widget/
DDialerToolbar.java46 getPaddingStart(), in DialerToolbar()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListPinnedHeaderView.java62 getPaddingStart() + paddingStartOffset, in ContactListPinnedHeaderView()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DViewUtil.java90 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(), in addBottomPaddingToListViewForFab()
/packages/apps/Contacts/src/com/android/contacts/util/
DViewUtil.java123 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(), in addBottomPaddingToListViewForFab()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java294 public static int getPaddingStart(final View view) { in getPaddingStart() method in UiUtils
295 return OsUtil.isAtLeastJB_MR1() ? view.getPaddingStart() : view.getPaddingLeft(); in getPaddingStart()
/packages/apps/Contacts/src/com/android/contacts/
DMoreContactUtils.java217 textView.setPaddingRelative(textView.getPaddingStart(), topPadding, in setHeaderViewBottomPadding()
/packages/apps/TV/src/com/android/tv/menu/
DPlaybackProgressBar.java125 int width = getWidth() - getPaddingStart() - getPaddingEnd(); in refreshProgress()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DAddItemWidgetsBottomSheet.java159 mContent.setPadding(mContent.getPaddingStart(), mContent.getPaddingTop(), in onApplyWindowInsets()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DIssueCardPreference.java207 holder.itemView.getPaddingStart(), in configureSafetyProtectionView()
215 holder.itemView.getPaddingStart(), in configureSafetyProtectionView()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java331 mTextWidth = getMeasuredWidth() - getPaddingStart() - getPaddingEnd(); in setValues()
502 if (startPadding + sItemPadding != getPaddingStart() in layoutVisibleArea()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogFragment.java243 recyclerView.getPaddingStart(), in onCallsFetched()
250 recyclerView.getPaddingStart(), 0, recyclerView.getPaddingEnd(), 0); in onCallsFetched()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java448 entry.setPaddingRelative(entry.getPaddingStart(), in formatEntryIfFirst()
707 view.setPaddingRelative(view.getPaddingStart(), in createEntryView()
714 view.setPaddingRelative(view.getPaddingStart(), 0, view.getPaddingEnd(), in createEntryView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPermissionHistoryPreference.java184 preferenceRootView.setPaddingRelative(preferenceRootView.getPaddingStart(), in setInfoIcon()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java232 int paddingStart = this.getPaddingStart(); in expand()
/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/cardemulation/
DAppChooserActivityTest.java118 assertThat(listView.getPaddingStart()).isEqualTo(0); in testNonPayment()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java90 int origin = mViewPager.getPaddingStart(); in PreviewPager()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionControlPreference.java201 preferenceRootView.getPaddingStart(), preferenceRootView.getPaddingTop(), in onBindViewHolder()

12