Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java91 int spacing = getHorizontalVerticalSpacing(); in generateDefaultLayoutParams() local
92 return new LayoutParams(spacing, spacing); in generateDefaultLayoutParams()
97 int spacing = getHorizontalVerticalSpacing(); in generateLayoutParams() local
98 return new LayoutParams(spacing, spacing, layoutParams); in generateLayoutParams()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java101 int spacing = mSpacing; in onMeasure() local
105 spacing += messagingChild.getExtraSpacing(); in onMeasure()
107 spacing = first ? 0 : spacing; in onMeasure()
109 - mPaddingTop - mPaddingBottom + spacing); in onMeasure()
113 lp.bottomMargin + spacing); in onMeasure()
DAbsActionBarView.java304 int spacing) { in measureChildView() argument
309 availableWidth -= spacing; in measureChildView()
/frameworks/base/libs/hwui/tests/common/scenes/
DRoundRectClippingAnimation.cpp25 RoundRectClippingAnimation(int spacing, int size) : mSpacing(spacing), mSize(size) {} in RoundRectClippingAnimation() argument
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DBaseGridView.java540 public void setItemSpacing(int spacing) { in setItemSpacing() argument
541 mLayoutManager.setItemSpacing(spacing); in setItemSpacing()
585 public void setVerticalSpacing(int spacing) { in setVerticalSpacing() argument
586 mLayoutManager.setVerticalSpacing(spacing); in setVerticalSpacing()
602 public void setHorizontalSpacing(int spacing) { in setHorizontalSpacing() argument
603 mLayoutManager.setHorizontalSpacing(spacing); in setHorizontalSpacing()
DGrid.java159 public final void setSpacing(int spacing) { in setSpacing() argument
160 mSpacing = spacing; in setSpacing()
/frameworks/base/core/java/android/text/
DBoringLayout.java231 int spacing; in init() local
242 spacing = metrics.bottom - metrics.top; in init()
245 spacing = metrics.descent - metrics.ascent; in init()
249 mBottom = spacing; in init()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java544 BandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandDescriptor() argument
552 mSpacing = spacing; in BandDescriptor()
713 public FmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, in FmBandDescriptor() argument
715 super(region, type, lowerLimit, upperLimit, spacing); in FmBandDescriptor()
840 public AmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, in AmBandDescriptor() argument
842 super(region, type, lowerLimit, upperLimit, spacing); in AmBandDescriptor()
918 BandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandConfig() argument
919 mDescriptor = new BandDescriptor(region, type, lowerLimit, upperLimit, spacing); in BandConfig()
1047 FmBandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing, in FmBandConfig() argument
1049 super(region, type, lowerLimit, upperLimit, spacing); in FmBandConfig()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java55 float spacing = 1.f / (colors.length - 1); in Gradient_Delegate() local
60 positions[i] = spacing * i; in Gradient_Delegate()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatSeekBarHelper.java171 final float spacing = (mView.getWidth() - mView.getPaddingLeft() in drawTickMarks() local
177 canvas.translate(spacing, 0); in drawTickMarks()
DAbsActionBarView.java245 int spacing) { in measureChildView() argument
250 availableWidth -= spacing; in measureChildView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java120 int spacing = 0; in SmartReplyView() local
132 spacing = arr.getDimensionPixelSize(i, 0); in SmartReplyView()
148 mSpacing = spacing; in SmartReplyView()
302 final int spacing = displayedChildCount == 0 ? 0 : mSpacing; in onMeasure() local
305 measuredWidth += spacing + childWidth; in onMeasure()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DPageIndicatorView.java220 public void setDotSpacing(int spacing) { in setDotSpacing() argument
221 if (mDotSpacing != spacing) { in setDotSpacing()
222 mDotSpacing = spacing; in setDotSpacing()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp86 jfieldID spacing; member
420 jint spacing = config.spacings.size() > 0 ? config.spacings[0] : 0; in BandDescriptorFromHal() local
428 region, config.type, config.lowerLimit, config.upperLimit, spacing, in BandDescriptorFromHal()
434 region, config.type, config.lowerLimit, config.upperLimit, spacing, am.stereo)); in BandDescriptorFromHal()
475 static_cast<uint32_t>(env->GetIntField(jDescriptor, gjni.BandDescriptor.spacing)) in BandConfigToHal()
676 gjni.BandDescriptor.spacing = GetFieldIDOrDie(env, bandDescriptorClass, "mSpacing", "I"); in register_android_server_broadcastradio_convert()
/frameworks/base/core/java/android/widget/
DGallery.java220 int spacing = in Gallery() local
222 setSpacing(spacing); in Gallery()
293 public void setSpacing(int spacing) { in setSpacing() argument
294 mSpacing = spacing; in setSpacing()
DAppSecurityPermissions.java474 int spacing = (int)(8*mContext.getResources().getDisplayMetrics().density); in displayPermissions() local
487 lp.topMargin = spacing; in displayPermissions()
490 lp.bottomMargin = spacing; in displayPermissions()
DAbsSeekBar.java717 final float spacing = (getWidth() - mPaddingLeft - mPaddingRight) / (float) count;
722 canvas.translate(spacing, 0);
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java1383 int spacing = nextVerticalContainer.getTop() - container.getBottom(); in onDrawOver() local
1384 drawDivider(c, container, spacing); in onDrawOver()
1393 private void drawDivider(Canvas c, View container, int spacing) { in drawDivider() argument
1425 int bottom = container.getBottom() + (spacing + mDividerHeight) / 2; in drawDivider()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java185 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
192 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp579 SkScalar spacing = paint->getFontMetrics(metrics); in getMetricsInternal() local
592 spacing = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getMetricsInternal()
594 return spacing; in getMetricsInternal()
599 SkScalar spacing = getMetricsInternal(paintHandle, &metrics); in getFontMetrics() local
609 return SkScalarToFloat(spacing); in getFontMetrics()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java1880 final int spacing = 2; in testScrollSecondaryCannotScroll() local
1881 final int rowHeight = (height - topPadding - bottomPadding) / 4 - spacing; in testScrollSecondaryCannotScroll()
1889 horizontalGridView.setItemSpacing(spacing); in testScrollSecondaryCannotScroll()
1923 final int spacing = 2; in testScrollSecondaryNeedScroll() local
1924 final int rowHeight = (height - topPadding - bottomPadding) / 4 - spacing; in testScrollSecondaryNeedScroll()
1932 horizontalGridView.setItemSpacing(spacing); in testScrollSecondaryNeedScroll()
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto575 optional SettingProto spacing = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1110 field public static final int spacing = 16843027; // 0x1010113
/frameworks/base/config/
Dhiddenapi-public-dex.txt36612 Landroid/R$attr;->spacing:I
/frameworks/base/api/
Dcurrent.txt1216 field public static final int spacing = 16843027; // 0x1010113