Home
last modified time | relevance | path

Searched defs:padding (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DMultiTargetSwitchPreference.java57 final int padding = (int) ((holder.itemView.getMeasuredHeight() in onBindViewHolder() local
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java100 int padding = (previewBitmapWidth - previewSizeBeforeScale[0]) / 2; in startDrag() local
128 int padding = launcher.getResources() in startDrag() local
DWidgetHostViewLoader.java158 Rect padding = AppWidgetHostView.getDefaultPaddingForWidget(context, in getDefaultOptionsForWidget() local
DWidgetsFullSheet.java129 Rect padding = mLauncher.getDeviceProfile().workspacePadding; in onMeasure() local
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java409 final int padding = res.getDimensionPixelSize(useFullPadding ? in setFramePadding() local
415 frame.setPaddingRelative(frame.getPaddingStart(), padding, in setFramePadding() local
416 frame.getPaddingEnd(), padding); in setFramePadding() local
418 frame.setPadding(frame.getPaddingLeft(), padding, frame.getPaddingRight(), padding); in setFramePadding() local
DConversationPagerController.java282 final int padding = c.getResources().getDimensionPixelOffset( in setupPageMargin() local
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserRestrictionAdapter.java68 int padding = resources.getDimensionPixelSize(R.dimen.users_checkbox_padding); in createCheckBox() local
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java94 public int getWidthMeasureSpec(final int cellWidth, final int padding) { in getWidthMeasureSpec()
99 public int getHeightMeasureSpec(final int cellHeight, final int padding) { in getHeightMeasureSpec()
305 final int padding = getResources().getDimensionPixelOffset( in onMeasure() local
337 final int padding = getResources().getDimensionPixelOffset( in onLayout() local
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java138 final int padding = mLabelStart != null ? mLabelStart.getHeight() / 8 : 0; in onDraw() local
151 canvas.translate((width - mid.getWidth()) / 2, height + padding); in onDraw() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartGridView.java138 final int padding = mLabelStart != null ? mLabelStart.getHeight() / 8 : 0; in onDraw() local
151 canvas.translate((width - mid.getWidth()) / 2, height + padding); in onDraw() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImagePoint.java39 public static void setTouchPadding(float padding) { in setTouchPadding()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java99 Rect padding = grid.getHotseatLayoutPadding(); in setInsets() local
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBar.java94 int padding = getPaddingLeft(); in onLayout() local
DSecondLevelIndicatorControlBar.java179 int padding = getPaddingLeft(); in onLayout() local
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DSmsBottomSheetFragment.java103 int padding = (int) DpUtil.dpToPx(context, 16); in newTextViewItem() local
/packages/providers/MediaProvider/src/com/android/providers/media/
DPermissionActivity.java66 final int padding = res.getDimensionPixelSize(com.android.internal.R.dimen.default_gap); in onCreate() local
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DActionPresenterSelector.java117 final int padding = in onBindViewHolder() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPublicVolumeSettings.java141 final int padding = resources.getDimensionPixelSize( in onActivityCreated() local
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java141 final int padding = resources.getDimensionPixelSize( in onActivityCreated() local
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java69 int padding = res.getDimensionPixelSize(R.dimen.snackbar_padding); in show() local
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAbstractSlotRenderer.java114 protected static void drawFrame(GLCanvas canvas, Rect padding, Texture frame, in drawFrame()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java299 final float padding = context.getResources().getDimension( in Builder() local
319 final float padding, final Paint paint) { in getMaxKeyWidth()
/packages/apps/LegacyCamera/src/com/android/camera/
DModePicker.java261 int padding = (viewWidth - iconWidth) / 2; in onLayout() local
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java472 int padding = mHeader.getMaxTranslation(); in setupHeader() local
573 final Rect padding = new Rect(); field in AllAppsContainerView.AdapterHolder
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java264 Rect padding = grid.workspacePadding; in setInsets() local

12