Home
last modified time | relevance | path

Searched refs:Px (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/text/style/
DLineBackgroundSpan.java21 import android.annotation.Px;
49 @Px int left, @Px int right, in drawBackground()
50 @Px int top, @Px int baseline, @Px int bottom, in drawBackground()
124 @Px int left, @Px int right, in drawBackground()
125 @Px int top, @Px int baseline, @Px int bottom, in drawBackground()
DLineHeightSpan.java21 import android.annotation.Px;
87 private final @Px int mHeight;
91 public Standard(@Px @IntRange(from = 1) int height) { in Standard()
106 @Px
DTabStopSpan.java20 import android.annotation.Px;
51 @Px
DQuoteSpan.java22 import android.annotation.Px;
79 @Px
81 @Px
DBulletSpan.java23 import android.annotation.Px;
72 @Px
75 @Px
DIconMarginSpan.java21 import android.annotation.Px;
51 @Px
DDrawableMarginSpan.java20 import android.annotation.Px;
52 @Px
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java24 import android.annotation.Px;
261 public void setWidth(@Px @FloatRange(from = 0.0f) float width) { in setWidth()
273 public void setIndent(@Px @FloatRange(from = 0.0f) float firstWidth, in setIndent()
274 @Px @IntRange(from = 0) int firstWidthLineCount) { in setIndent()
288 @Px @FloatRange(from = 0) float defaultTabStop) { in setTabStops()
298 public @Px @FloatRange(from = 0.0f) float getWidth() { in getWidth()
307 public @Px @FloatRange(from = 0.0f) float getFirstWidth() { in getFirstWidth()
316 public @Px @IntRange(from = 0) int getFirstWidthLineCount() { in getFirstWidthLineCount()
334 public @Px @FloatRange(from = 0) float getDefaultTabStop() { in getDefaultTabStop()
387 public @Px float getLineWidth(@IntRange(from = 0) int lineIndex) { in getLineWidth()
[all …]
DMeasuredText.java24 import android.annotation.Px;
92 public @FloatRange(from = 0.0) @Px float getWidth( in getWidth()
160 public @FloatRange(from = 0.0f) @Px float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt()
329 @IntRange(from = 0) int length, @Px @FloatRange(from = 0) float width) { in appendReplacementRun()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLockscreenShadeQsTransitionController.kt23 import androidx.annotation.Px
75 @Px private var qsDragDownAmount = 0f
80 @Px private var qsTransitionDistance = 0
83 @Px private var qsTransitionStartDelay = 0
89 @Px private var qsSquishTransitionDistance = 0
/frameworks/base/core/java/android/text/
DTextPaint.java20 import android.annotation.Px;
47 public @Px float underlineThickness;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/
DDrawableSize.kt15 import androidx.annotation.Px
44 @Px maxWidth: Int, in downscaleToSize()
45 @Px maxHeight: Int in downscaleToSize()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java22 import android.annotation.Px;
296 public Builder setRegion(@Px int left, @Px int top, @Px int right, @Px int bottom) { in setRegion()
/frameworks/base/core/java/android/widget/
DMagnifier.java24 import android.annotation.Px;
432 @Px
441 @Px
451 @Px
461 @Px
509 @Px
518 @Px
532 @Px
546 @Px
1405 private @Px @IntRange(from = 0) int mWidth;
[all …]
DProgressBar.java25 import android.annotation.Px;
428 public void setMinWidth(@Px int minWidth) { in setMinWidth()
436 @Px public int getMinWidth() { in getMinWidth()
445 public void setMaxWidth(@Px int maxWidth) { in setMaxWidth()
453 @Px public int getMaxWidth() { in getMaxWidth()
462 public void setMinHeight(@Px int minHeight) { in setMinHeight()
470 @Px public int getMinHeight() { in getMinHeight()
479 public void setMaxHeight(@Px int maxHeight) { in setMaxHeight()
487 @Px public int getMaxHeight() { in getMaxHeight()
DRemoteViews.java29 import android.annotation.Px;
2987 public ViewPaddingAction(@IdRes int viewId, @Px int left, @Px int top,
2988 @Px int right, @Px int bottom) {
3024 @Px int left, top, right, bottom;
4707 @Px int left, @Px int top, @Px int right, @Px int bottom) {
DNumberPicker.java24 import android.annotation.Px;
1581 public void setSelectionDividerHeight(@IntRange(from = 0) @Px int height) { in setSelectionDividerHeight()
1591 @Px
/frameworks/libs/modules-utils/java/android/annotation/
DPx.java41 public @interface Px { annotation
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java20 import android.annotation.Px;
258 public void setSpacing(@Px int spacing) { in setSpacing()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java24 import android.annotation.Px;
932 public void setInnerRadius(@Px int innerRadius) {
944 public @Px int getInnerRadius() {
979 public void setThickness(@Px int thickness) {
991 public @Px int getThickness() {
1007 public void setPadding(@Px int left, @Px int top, @Px int right, @Px int bottom) {
/frameworks/base/graphics/java/android/graphics/
DPaint.java25 import android.annotation.Px;
917 public @Px float getUnderlinePosition() { in getUnderlinePosition()
929 public @Px float getUnderlineThickness() { in getUnderlineThickness()
970 public @Px float getStrikeThruPosition() { in getStrikeThruPosition()
982 public @Px float getStrikeThruThickness() { in getStrikeThruThickness()
1840 public @Px float getWordSpacing() { in getWordSpacing()
1853 public void setWordSpacing(@Px float wordSpacing) { in setWordSpacing()
DImageDecoder.java29 import android.annotation.Px;
1195 public void setTargetSize(@Px @IntRange(from = 1) int width, in setTargetSize()
1196 @Px @IntRange(from = 1) int height) { in setTargetSize()
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppService.java23 import android.annotation.Px;
519 public void onMediaViewSizeChanged(@Px int width, @Px int height) { in onMediaViewSizeChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java91 import android.annotation.Px;
211 @Px
213 @Px
215 @Px
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java71 import androidx.annotation.Px;
1373 private int pxToDp(@Px float px) { in pxToDp()

12