Home
last modified time | relevance | path

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

12

/frameworks/support/core/ktx/src/main/java/androidx/core/view/
DViewGroup.kt23 import androidx.annotation.Px
86 inline fun ViewGroup.MarginLayoutParams.setMargins(@Px size: Int) { in iterator()
97 @Px left: Int = leftMargin, in updateMargins()
98 @Px top: Int = topMargin, in updateMargins()
99 @Px right: Int = rightMargin, in updateMargins()
100 @Px bottom: Int = bottomMargin in updateMargins()
113 @Px start: Int = marginStart, in updateMarginsRelative()
114 @Px top: Int = topMargin, in updateMarginsRelative()
115 @Px end: Int = marginEnd, in updateMarginsRelative()
116 @Px bottom: Int = bottomMargin in updateMarginsRelative()
DView.kt26 import androidx.annotation.Px
108 @Px start: Int = paddingStart, in updatePaddingRelative()
109 @Px top: Int = paddingTop, in updatePaddingRelative()
110 @Px end: Int = paddingEnd, in updatePaddingRelative()
111 @Px bottom: Int = paddingBottom in updatePaddingRelative()
123 @Px left: Int = paddingLeft, in updatePadding()
124 @Px top: Int = paddingTop, in updatePadding()
125 @Px right: Int = paddingRight, in updatePadding()
126 @Px bottom: Int = paddingBottom in updatePadding()
136 inline fun View.setPadding(@Px size: Int) { in setPadding()
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/
DDrawable.kt24 import androidx.annotation.Px
43 @Px width: Int = intrinsicWidth, in toBitmap()
44 @Px height: Int = intrinsicHeight, in toBitmap()
75 @Px left: Int = bounds.left, in updateBounds()
76 @Px top: Int = bounds.top, in updateBounds()
77 @Px right: Int = bounds.right, in updateBounds()
78 @Px bottom: Int = bounds.bottom in updateBounds()
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DCardView.java33 import androidx.annotation.Px;
225 public void setContentPadding(@Px int left, @Px int top, @Px int right, @Px int bottom) { in setContentPadding()
311 @Px
321 @Px
331 @Px
341 @Px
/frameworks/support/car/src/main/java/androidx/car/utils/
DColumnCalculator.java21 import androidx.annotation.Px;
109 @Px
129 @Px
141 @Px
/frameworks/base/core/java/android/text/style/
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
74 @Px
DIconMarginSpan.java21 import android.annotation.Px;
51 @Px
DDrawableMarginSpan.java20 import android.annotation.Px;
52 @Px
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCircledImageView.java37 import androidx.annotation.Px;
641 public void setPadding(@Px int left, @Px int top, @Px int right, @Px int bottom) { in setPadding()
756 void setBounds(@Px int left, @Px int top, @Px int right, @Px int bottom) { in setBounds()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatTextView.java34 import androidx.annotation.Px;
378 public void setFirstBaselineToTopHeight(@Px @IntRange(from = 0) int firstBaselineToTopHeight) { in setFirstBaselineToTopHeight()
388 @Px @IntRange(from = 0) int lastBaselineToBottomHeight) { in setLastBaselineToBottomHeight()
408 public void setLineHeight(@Px @IntRange(from = 0) int lineHeight) { in setLineHeight()
/frameworks/support/annotations/src/main/java/androidx/annotation/
DPx.java36 public @interface Px { annotation
/frameworks/base/core/java/android/annotation/
DPx.java38 public @interface Px { annotation
/frameworks/support/core/ktx/api/
Dcurrent.txt297 …hics.Bitmap toBitmap(android.graphics.drawable.Drawable, @Px int width = "intrinsicWidth", @Px int…
298 ….graphics.drawable.Drawable, @Px int left = "bounds.left", @Px int top = "bounds.top", @Px int rig…
642 method public static void setMargins(android.view.ViewGroup.MarginLayoutParams, @Px int size);
643 ….ViewGroup.MarginLayoutParams, @Px int left = "leftMargin", @Px int top = "topMargin", @Px int rig…
644 …w.ViewGroup.MarginLayoutParams, @Px int start = "marginStart", @Px int top = "topMargin", @Px int …
660 method public static void setPadding(android.view.View, @Px int size);
664 …tePadding(android.view.View, @Px int left = "paddingLeft", @Px int top = "paddingTop", @Px int rig…
665 …ngRelative(android.view.View, @Px int start = "paddingStart", @Px int top = "paddingTop", @Px int …
D0.2.txt296 …hics.Bitmap toBitmap(android.graphics.drawable.Drawable, @Px int width = "intrinsicWidth", @Px int…
297 ….graphics.drawable.Drawable, @Px int left = "bounds.left", @Px int top = "bounds.top", @Px int rig…
716 method public static void setMargins(android.view.ViewGroup.MarginLayoutParams, @Px int size);
718 ….ViewGroup.MarginLayoutParams, @Px int left = "leftMargin", @Px int top = "topMargin", @Px int rig…
719 …w.ViewGroup.MarginLayoutParams, @Px int start = "marginStart", @Px int top = "topMargin", @Px int …
734 method public static void setPadding(android.view.View, @Px int size);
737 …tePadding(android.view.View, @Px int left = "paddingLeft", @Px int top = "paddingTop", @Px int rig…
738 …ngRelative(android.view.View, @Px int start = "paddingStart", @Px int top = "paddingTop", @Px int …
/frameworks/support/palette/src/main/java/androidx/palette/graphics/
DPalette.java30 import androidx.annotation.Px;
734 public Builder setRegion(@Px int left, @Px int top, @Px int right, @Px int bottom) { in setRegion()
/frameworks/support/compat/src/main/java/androidx/core/widget/
DTextViewCompat.java44 import androidx.annotation.Px;
661 @Px @IntRange(from = 0) final int firstBaselineToTopHeight) { in setFirstBaselineToTopHeight()
706 @Px @IntRange(from = 0) int lastBaselineToBottomHeight) { in setLastBaselineToBottomHeight()
764 @Px @IntRange(from = 0) int lineHeight) { in setLineHeight()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java64 import androidx.annotation.Px;
2183 public void smoothScrollBy(@Px int dx, @Px int dy) { in smoothScrollBy()
2195 public void smoothScrollBy(@Px int dx, @Px int dy, @Nullable Interpolator interpolator) { in smoothScrollBy()
4783 public void offsetChildrenVertical(@Px int dy) { in offsetChildrenVertical()
4821 public void offsetChildrenHorizontal(@Px int dx) { in offsetChildrenHorizontal()
4893 public void onScrolled(@Px int dx, @Px int dy) { in onScrolled()
8670 @Px
8686 @Px
8696 @Px
8706 @Px
[all …]
/frameworks/support/compat/src/main/java/androidx/core/view/
DViewCompat.java53 import androidx.annotation.Px;
1513 @Px
1529 @Px
1550 public static void setPaddingRelative(@NonNull View view, @Px int start, @Px int top, in setPaddingRelative()
1551 @Px int end, @Px int bottom) { in setPaddingRelative()
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java32 import androidx.annotation.Px;
174 public void onViewPositionChanged(@NonNull View changedView, int left, int top, @Px int dx, in onViewPositionChanged()
175 @Px int dy) { in onViewPositionChanged()
457 @Px
501 @Px
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java29 import android.annotation.Px;
1030 public void setTargetSize(@Px @IntRange(from = 1) int width, in setTargetSize()
1031 @Px @IntRange(from = 1) int height) { in setTargetSize()
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
DSlidingPaneLayout.java43 import androidx.annotation.Px;
270 public void setParallaxDistance(@Px int parallaxBy) { in setParallaxDistance()
280 @Px
/frameworks/support/annotations/api/
Dcurrent.txt111 public abstract class Px implements java.lang.annotation.Annotation {
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
DSwipeRefreshLayout.java39 import androidx.annotation.Px;
309 public void setSlingshotDistance(@Px int slingshotDistance) { in setSlingshotDistance()

12