Home
last modified time | relevance | path

Searched refs:CENTER (Results 1 – 25 of 88) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownTouchHandler.java114 @IntDef({FlingTarget.CENTER, FlingTarget.ACCEPT, FlingTarget.REJECT})
116 int CENTER = 0; field
317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent()
347 return FlingTarget.CENTER; in getFlingTarget()
354 return FlingTarget.CENTER; in getFlingTarget()
396 if (target == FlingTarget.CENTER) { in fling()
401 if (target == FlingTarget.CENTER && centerBecauseOfFalsing) { in fling()
/packages/apps/Settings/src/com/android/settings/accessibility/
DPaletteListPreference.java64 Position.CENTER,
70 int CENTER = 1; field
115 mGradientColors.add(Position.CENTER, defaultColor); in initPaletteAttributes()
119 mGradientOffsets.add(Position.CENTER, /* element= */ 0.5f); in initPaletteAttributes()
137 mGradientOffsets.set(Position.CENTER, textBound); in initPaletteView()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DIconUtil.java54 compoundDrawable.setLayerGravity(0, Gravity.CENTER); in getCompoundIcon()
55 compoundDrawable.setLayerGravity(1, Gravity.CENTER); in getCompoundIcon()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DCustomSwipeAction.java44 return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER, in customSwipeLeft()
57 return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER, in customSwipeRight()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java131 if ((gravity & Gravity.CENTER) != Gravity.CENTER) { in fixGravityAndPadding()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
DCountDownRenderer.java60 mTimerTextPaint.setTextAlign(Paint.Align.CENTER); in CountDownRenderer()
66 mUnitTextPaint.setTextAlign(Paint.Align.CENTER); in CountDownRenderer()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java413 paint.setTextAlign(Align.CENTER); in onDrawKeyTopVisuals()
472 paint.setTextAlign(Align.CENTER); in onDrawKeyTopVisuals()
480 paint.setTextAlign(Align.CENTER); in onDrawKeyTopVisuals()
523 paint.setTextAlign(Align.CENTER); in drawKeyPopupHint()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java92 sPaint.setTextAlign(Align.CENTER); in LetterTileDrawable()
131 sPaint.setTextAlign(Align.CENTER); in drawBitmap()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseContainerInterface.java230 Gravity.CENTER, in calculateTaskSize()
246 calculateTaskSizeInternal(context, dp, gridRect, minScale, Gravity.CENTER | Gravity.TOP, in calculateCarouselTaskSize()
258 calculateTaskSizeInternal(context, dp, gridRect, maxScale, Gravity.CENTER, outRect); in calculateFocusTaskSize()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java158 paint.setTextAlign(Paint.Align.CENTER); in doInBackground()
204 galleryIcon.setGravity(Gravity.CENTER); in doInBackground()
/packages/services/Telephony/src/com/android/phone/
DIccPanel.java47 winP.setGravity(Gravity.CENTER); in onCreate()
/packages/apps/Settings/src/com/android/settings/widget/
DEmptyTextSettings.java40 mEmpty.setGravity(Gravity.CENTER); in onViewCreated()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/
DAlertDialogBuilder.kt21 import android.view.Gravity.CENTER in <lambda>()
308 requireNotNull(dialog.window).setGravity(typedArray.getInteger(0, CENTER)) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v33/widget/
DSafetyProtectionSectionView.kt50 gravity = Gravity.CENTER
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.kt72 mPaint.setTextAlign(Paint.Align.CENTER)
/packages/apps/Messaging/src/com/android/messaging/ui/
DListEmptyView.java65 isVerticallyCentered ? Gravity.CENTER : Gravity.TOP | Gravity.CENTER_HORIZONTAL; in setIsVerticallyCentered()
/packages/apps/Settings/src/com/android/settings/
DRegulatoryInfoDisplayActivity.kt62 dialog.findViewById<TextView>(android.R.id.message)?.gravity = Gravity.CENTER in onCreate()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DSafetyProtectionSectionView.java59 setGravity(Gravity.CENTER); in init()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DZoomKnob.java57 setGravity(Gravity.CENTER); in initialize()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCommonControllerOverlay.java109 mPlayPauseReplayView.setScaleType(ScaleType.CENTER); in CommonControllerOverlay()
129 view.setGravity(Gravity.CENTER); in createOverlayTextView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java170 return m.setRectToRect(imageBounds, displayBounds, Matrix.ScaleToFit.CENTER); in setBitmapToDisplayMatrix()
181 boolean rToR = dst.setRectToRect(rotatedImage, screen, Matrix.ScaleToFit.CENTER); in setImageToScreenMatrix()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DBadgeTextView.kt48 super.setGravity(Gravity.CENTER)
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/
DFanSpeedBarSegment.java108 setScaleType(ScaleType.CENTER); in initView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/
DAbstractNavButtonLayoutter.kt74 params.gravity = Gravity.CENTER in getParamsToCenterView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java51 setGravity(Gravity.CENTER); in KeyPreviewView()

1234