Home
last modified time | relevance | path

Searched refs:paddingTop (Results 1 – 14 of 14) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java111 int paddingTop = rect.top; in calculateVerticalAlignment() local
113 int totalVerticalPadding = paddingTop + paddingBottom; in calculateVerticalAlignment()
118 : paddingTop / ((float) paddingTop + paddingBottom); in calculateVerticalAlignment()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerCircleFrameLayout.java54 final int paddingTop = getPaddingTop(); in onMeasure() local
59 final int height = MeasureSpec.getSize(heightMeasureSpec) - paddingTop - paddingBottom; in onMeasure()
69 heightMeasureSpec = MeasureSpec.makeMeasureSpec(size + paddingTop + paddingBottom, in onMeasure()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java207 int paddingTop = getPaddingTop(); in onDraw() local
213 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
231 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
254 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java204 int paddingTop = getPaddingTop(); in updateDrawableBounds() local
213 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds()
268 mRect.top = paddingTop + minPadding; in updateDrawableBounds()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java267 int paddingTop = getPaddingTop(); in onLayout() local
273 int childTop = paddingTop + mRectArray[i].top; in onLayout()
275 int childRight = paddingTop + mRectArray[i].right; in onLayout()
/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java90 final int paddingTop = searchBarHeight + searchBarMargin * 2; in setHomepageContainerPaddingTop() local
91 view.setPadding(0 /* left */, paddingTop, 0 /* right */, 0 /* bottom */); in setHomepageContainerPaddingTop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/
DSettingsHomepageActivity.java101 final int paddingTop = statusBarHeight + searchBarHeight + searchBarMargin * 2; in setHomepageContainerPaddingTop() local
102 view.setPadding(0 /* left */, paddingTop, 0 /* right */, 0 /* bottom */); in setHomepageContainerPaddingTop()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java149 int paddingTop = v.getPaddingTop(); in fixGravityAndPadding() local
152 v.setPadding(paddingBottom, paddingRight, paddingTop, paddingLeft); in fixGravityAndPadding()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java32 public int paddingTop; field in Config.AlbumSetPage
54 paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); in AlbumSetPage()
DAlbumSetPage.java135 int slotViewTop = mActionBar.getHeight() + mConfig.paddingTop;
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1217 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1227 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1290 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1308 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1320 childTop = paddingTop; in layoutHorizontal()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java1217 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1227 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1290 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1308 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1320 childTop = paddingTop; in layoutHorizontal()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java231 int paddingTop = this.getPaddingTop(); in expand() local
237 setPaddingRelative(paddingStart, paddingTop, paddingEnd, paddingBottom); in expand()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java426 private void setListViewPaddingTop(View listView, int paddingTop) { in setListViewPaddingTop() argument
427 listView.setPadding(listView.getPaddingLeft(), paddingTop, listView.getPaddingRight(), in setListViewPaddingTop() local