Home
last modified time | relevance | path

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

123

/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.java62 Position.CENTER,
68 int CENTER = 1; field
113 mGradientColors.add(Position.CENTER, defaultColor); in initPaletteAttributes()
117 mGradientOffsets.add(Position.CENTER, /* element= */ 0.5f); in initPaletteAttributes()
135 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/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java71 @IntDef({CheckmarkStyle.NONE, CheckmarkStyle.CORNER, CheckmarkStyle.CENTER})
75 int CENTER = 2; field
239 } else if (mCheckmarkStyle == CheckmarkStyle.CENTER in initOptions()
244 Gravity.CENTER, res.getDimensionPixelSize(R.dimen.center_check_size), in initOptions()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java131 if ((gravity & Gravity.CENTER) != Gravity.CENTER) { in fixGravityAndPadding()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/actions/
DLowLevelActions.java66 float[] coords = GeneralLocation.CENTER.calculateCoordinates(view); in perform()
89 float[] coords = GeneralLocation.CENTER.calculateCoordinates(view); in perform()
/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/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/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java92 sPaint.setTextAlign(Align.CENTER); in LetterTileDrawable()
131 sPaint.setTextAlign(Align.CENTER); in drawBitmap()
/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/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/services/BuiltInPrintService/src/com/android/bips/jni/
DBackendConstants.java44 public static final int ALIGN_CENTER = Gravity.CENTER;
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java330 mMonthNumPaint.setTextAlign(Align.CENTER); in initView()
438 p.setTextAlign(Align.CENTER); in drawWeekNums()
/packages/services/Telephony/src/com/android/phone/
DIccPanel.java47 winP.setGravity(Gravity.CENTER); in onCreate()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DSplitPlaceholderView.java65 params.gravity = Gravity.CENTER; in setIcon()
/packages/apps/Settings/src/com/android/settings/widget/
DEmptyTextSettings.java39 mEmpty.setGravity(Gravity.CENTER); in onViewCreated()
/packages/apps/Messaging/src/com/android/messaging/ui/
DListEmptyView.java65 isVerticallyCentered ? Gravity.CENTER : Gravity.TOP | Gravity.CENTER_HORIZONTAL; in setIsVerticallyCentered()
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.java46 mPaint.setTextAlign(Paint.Align.CENTER); in DayOfMonthDrawable()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DFanSpeedBarSegment.java61 setScaleType(ScaleType.CENTER);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java51 setGravity(Gravity.CENTER); in KeyPreviewView()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DRegulatoryInfoDisplayActivity.java120 messageText.setGravity(Gravity.CENTER); in onCreate()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DAbstractIndicatorButton.java50 setScaleType(ImageView.ScaleType.CENTER); in AbstractIndicatorButton()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DContextMenu.java74 super(context, anchor, Gravity.CENTER); in ContextMenu()
/packages/apps/Settings/src/com/android/settings/
DRegulatoryInfoDisplayActivity.java111 messageText.setGravity(Gravity.CENTER); in onCreate()

123