/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 5 table.diffspectable {border:1px;padding:0px;margin:0px;} 7 .diffspectable tr {border:0px;padding:0px;} 8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig… 9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig… 10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig… 11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig… 12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin… 20 padding:2px; 21 padding-left:1em;} [all …]
|
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 5 table.diffspectable {border:1px;padding:0px;margin:0px;} 7 .diffspectable tr {border:0px;padding:0px;} 8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig… 9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig… 10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig… 11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig… 12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin… 20 padding:2px; 21 padding-left:1em;} [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/ |
D | NotificationStackContentHeight.kt | 37 fun Modifier.notificationStackHeight(view: NotificationScrollView, padding: Int = 0) = in Modifier() 38 this then StackLayoutElement(view, padding) in Modifier() 42 val padding: Int, in Modifier() constant in com.android.systemui.notifications.ui.composable.StackLayoutElement 45 override fun create(): StackLayoutNode = StackLayoutNode(view, padding) in Modifier() 49 if (node.padding != padding) { in Modifier() 50 node.padding = padding in Modifier() 56 private class StackLayoutNode(val view: NotificationScrollView, var padding: Int) : variable in com.android.systemui.notifications.ui.composable.StackLayoutNode 75 val contentHeight = padding + view.intrinsicStackHeight in measure() 85 return "StackLayoutNode(view=$view padding:$padding)" in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityTargetAdapter.java | 147 void updateItemPadding(int padding, int size) { in updateItemPadding() argument 148 itemView.setPaddingRelative(padding, padding, padding, 0); in updateItemPadding() 158 void updateItemPadding(int padding, int size) { in updateItemPadding() argument 159 final int paddingBottom = size <= 1 ? padding : 0; in updateItemPadding() 160 itemView.setPaddingRelative(padding, padding, padding, paddingBottom); in updateItemPadding() 170 void updateItemPadding(int padding, int size) { in updateItemPadding() argument 171 itemView.setPaddingRelative(padding, padding, padding, padding); in updateItemPadding()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | BaseShortcutSection.kt | 24 val padding = in addLeftShortcut() constant 45 setPadding(padding, padding, padding, padding) in addLeftShortcut() 53 val padding = in addRightShortcut() constant 74 setPadding(padding, padding, padding, padding) in addRightShortcut()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | SaveLayer2Animation.cpp | 41 int padding = smallRectHeight / 4; in createContent() local 45 mBluePaint.getSkFont().setSize(padding); in createContent() 47 mGreenPaint.getSkFont().setSize(padding); in createContent() 51 canvas.saveLayer(bounds.fLeft, top, bounds.fRight, top + padding, &mBluePaint); in createContent() 56 top + padding); in createContent() 59 canvas.drawRect(bounds.fLeft, top + padding, bounds.fRight, in createContent() 60 top + smallRectHeight - padding, mBluePaint); in createContent() 63 top + smallRectHeight - padding); in createContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ui/viewModel/ |
D | BrightnessMirrorViewModel.kt | 69 val padding = resources.getDimensionPixelSize(R.dimen.rounded_slider_background_padding) in setLocationAndSize() constant 70 _toggleSlider?.rootView?.setPadding(padding, padding, padding, padding) in setLocationAndSize() 74 yOffset = tempPosition[1] - padding, in setLocationAndSize() 75 width = view.measuredWidth + 2 * padding, in setLocationAndSize() 76 height = view.measuredHeight + 2 * padding, in setLocationAndSize()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SaveLayerInterleaveActivity.java | 62 int padding = smallRectHeight / 4; in onCreate() 65 mBluePaint.setTextSize(padding); in onCreate() 67 mGreenPaint.setTextSize(padding); in onCreate() 71 canvas.saveLayer(bounds.left, top, bounds.right, top + padding, in onCreate() 74 canvas.drawText("offscreen line "+ i, bounds.left, top + padding, in onCreate() 78 Rect partX = new Rect(bounds.left, top + padding, in onCreate() 79 bounds.right,top + smallRectHeight - padding); in onCreate() 82 top + smallRectHeight - padding, mGreenPaint); in onCreate()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | BubblePopupView.kt | 52 val padding = Rect() in setArrowDirection() constant 53 if (it.getPadding(padding)) { in setArrowDirection() 54 setPadding(padding.left, padding.top, padding.right, padding.bottom) in setArrowDirection()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | CipherPerfTest.java | 57 for (Padding padding : Padding.values()) { in getCases() 64 && padding == Padding.PKCS1PADDING) { in getCases() 68 && padding == Padding.NOPADDING in getCases() 76 mode, padding, keySize, inputSize, implementation in getCases() 142 public void setUp(Mode mode, Padding padding, int keySize, Implementation implementation) in setUp() argument 144 mCipherAlgorithm = mAlgorithm.toString() + "/" + mode.toString() + "/" + padding.toString(); in setUp() 180 Mode mode, Padding padding, int keySize, int inputSize, Implementation implementation) in timeEncrypt() argument 182 setUp(mode, padding, keySize, implementation); in timeEncrypt() 192 Mode mode, Padding padding, int keySize, int inputSize, Implementation implementation) in timeDecrypt() argument 194 setUp(mode, padding, keySize, implementation); in timeDecrypt()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/ui/viewmodel/ |
D | BrightnessMirrorViewModelTest.kt | 88 val padding = in setLocationInWindow_correctLocationAndSize() constant 111 yOffset = y - padding, in setLocationInWindow_correctLocationAndSize() 112 width = width + 2 * padding, in setLocationInWindow_correctLocationAndSize() 113 height = height + 2 * padding, in setLocationInWindow_correctLocationAndSize() 123 val padding = in setLocationInWindow_paddingSetToRootView() constant 138 assertThat(paddingBottom).isEqualTo(padding) in setLocationInWindow_paddingSetToRootView() 139 assertThat(paddingTop).isEqualTo(padding) in setLocationInWindow_paddingSetToRootView() 140 assertThat(paddingLeft).isEqualTo(padding) in setLocationInWindow_paddingSetToRootView() 141 assertThat(paddingRight).isEqualTo(padding) in setLocationInWindow_paddingSetToRootView()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 86 final Rect padding = new Rect(); in testPadding_returnsCorrectValues() local 90 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(true); in testPadding_returnsCorrectValues() 91 assertThat(padding).isEqualTo(expected); in testPadding_returnsCorrectValues() 96 final Rect padding = new Rect(); in testPadding_falseIfUnsetOrZero() local 97 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero() 98 assertThat(isRectZero(padding)).isEqualTo(true); in testPadding_falseIfUnsetOrZero() 101 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero() 102 assertThat(isRectZero(padding)).isEqualTo(true); in testPadding_falseIfUnsetOrZero()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistDisclosure.java | 188 private void drawGeometry(Canvas canvas, Paint paint, float padding) { in drawGeometry() argument 198 height, paint, padding); in drawGeometry() 205 height - thickness, paint, padding); in drawGeometry() 210 height - thickness, paint, padding); in drawGeometry() 217 thickness, paint, padding); in drawGeometry() 221 Paint paint, float padding) { in drawBeam() argument 222 canvas.drawRect(left - padding, in drawBeam() 223 top - padding, in drawBeam() 224 right + padding, in drawBeam() 225 bottom + padding, in drawBeam()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 994 final Rect padding = mTempRect; in onMeasure() local 999 mThumbDrawable.getPadding(padding); in onMeasure() 1000 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure() 1019 mTrackDrawable.getPadding(padding); in onMeasure() 1022 padding.setEmpty(); in onMeasure() 1028 int paddingLeft = padding.left; in onMeasure() 1029 int paddingRight = padding.right; in onMeasure() 1333 final Rect padding = mTempRect; in draw() local 1350 mTrackDrawable.getPadding(padding); in draw() 1353 thumbInitialLeft += padding.left; in draw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/ |
D | KeyguardIndicationArea.kt | 69 val padding = R.dimen.keyguard_indication_text_padding.dp() in indicationTopRow() constant 70 setPaddingRelative(padding, 0, padding, 0) in indicationTopRow() 87 val padding = R.dimen.keyguard_indication_text_padding.dp() in indicationBottomRow() constant 88 setPaddingRelative(padding, 0, padding, 0) in indicationBottomRow()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/ |
D | VolumePanelRoot.kt | 24 import androidx.compose.foundation.layout.padding in <lambda>() 39 private val padding = 24.dp in <lambda>() constant 56 .padding( in <lambda>() 57 start = padding, in <lambda>() 58 top = padding, in <lambda>() 59 end = padding, in <lambda>() 76 if (isPortrait) Arrangement.spacedBy(padding) else Arrangement.spacedBy(4.dp) in Components()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
D | SuwScaffold.kt | 25 import androidx.compose.foundation.layout.padding in <lambda>() 66 .padding(innerPadding) in <lambda>() 67 .padding(top = SettingsDimension.itemPaddingAround) in <lambda>() 85 Column(Modifier.padding(horizontal = SettingsDimension.itemPaddingAround)) { in <lambda>() 111 Modifier.padding( in Header() 121 .padding(vertical = SettingsDimension.itemPaddingAround) in Header() 127 modifier = Modifier.padding(vertical = SettingsDimension.itemPaddingVertical), in Header() 140 Modifier.padding( in BottomBar()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 100 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) { in NinePatchDrawable() argument 101 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null); in NinePatchDrawable() 109 Rect padding, String srcName) { in NinePatchDrawable() argument 110 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res); in NinePatchDrawable() 120 Rect padding, Rect opticalInsets, String srcName) { in NinePatchDrawable() argument 121 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets), in NinePatchDrawable() 270 public boolean getPadding(@NonNull Rect padding) { in getPadding() argument 272 padding.set(mPadding); in getPadding() 273 return (padding.left | padding.top | padding.right | padding.bottom) != 0; in getPadding() 275 return super.getPadding(padding); in getPadding() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | DeviceEntryForegroundViewModel.kt | 96 private val padding: Flow<Int> = in <lambda>() constant 113 padding, in <lambda>() 114 ) { iconType, useAodVariant, color, padding -> in <lambda>() method 119 padding = padding, in <lambda>() 127 val padding: Int, in <lambda>() constant in ForegroundIconViewModel
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 184 Rect padding = getDefaultPadding(); in setAppWidget() local 185 setPadding(padding.left, padding.top, padding.right, padding.bottom); in setAppWidget() 216 Rect padding) { in getDefaultPaddingForWidget() argument 217 return getDefaultPaddingForWidget(context, padding); in getDefaultPaddingForWidget() 220 private static Rect getDefaultPaddingForWidget(Context context, Rect padding) { in getDefaultPaddingForWidget() argument 221 if (padding == null) { in getDefaultPaddingForWidget() 222 padding = new Rect(0, 0, 0, 0); in getDefaultPaddingForWidget() 224 padding.set(0, 0, 0, 0); in getDefaultPaddingForWidget() 227 padding.left = r.getDimensionPixelSize( in getDefaultPaddingForWidget() 229 padding.right = r.getDimensionPixelSize( in getDefaultPaddingForWidget() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | ScreenshotShelfView.kt | 186 val padding = FloatingWindowUtil.dpToPx(displayMetrics, -1 * TOUCH_PADDING_DP).toInt() in <lambda>() constant 187 swipeRegion.addInsetView(screenshotPreview, padding) in <lambda>() 188 swipeRegion.addInsetView(actionsContainerBackground, padding) in <lambda>() 189 swipeRegion.addInsetView(dismissButton, padding) in <lambda>() 191 swipeRegion.addInsetView(it, padding) in <lambda>() 196 private fun Region.addInsetView(view: View, padding: Int = 0) { in <lambda>() 198 tmpRect.inset(padding, padding) in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/ |
D | BottomAreaSection.kt | 23 import androidx.compose.foundation.layout.padding in <lambda>() 133 val padding = in <lambda>() constant 154 setPadding(padding, padding, padding, padding) in <lambda>() 207 return this.padding( in <lambda>() 210 .padding(bottom = dimensionResource(R.dimen.keyguard_affordance_vertical_offset)) in <lambda>()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
D | Base64.cpp | 31 size_t padding = 0; in decodeBase64() local 33 padding = 1; in decodeBase64() 36 padding = 2; in decodeBase64() 39 padding = 3; in decodeBase64() 46 size_t outLen = (n / 4) * 3 - padding; in decodeBase64() 72 if (i < n - padding) { in decodeBase64()
|
/frameworks/av/media/module/foundation/ |
D | base64.cpp | 48 size_t padding = 0; in decodeBase64() local 50 padding = 1; in decodeBase64() 53 padding = 2; in decodeBase64() 56 padding = 3; in decodeBase64() 63 size_t outLen = (n / 4) * 3 - padding; in decodeBase64() 86 if (i < n - padding) { in decodeBase64()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
D | Entry.kt | 26 import androidx.compose.foundation.layout.padding 82 val iconPadding = Modifier.wrapContentSize().padding( 95 modifier = Modifier.fillMaxWidth().heightIn(min = 56.dp).padding( in <lambda>() 119 modifier = Modifier.fillMaxWidth().padding(top = 4.dp), in <lambda>() 141 modifier = Modifier.padding(start = 12.dp).size(24.dp), in <lambda>() 169 Box(modifier = Modifier.wrapContentSize().padding(start = 16.dp)) { in <lambda>() 260 modifier = Modifier.heightIn(min = 56.dp).wrapContentSize().padding( in ActionEntry() 272 Box(modifier = Modifier.wrapContentSize().padding(vertical = 16.dp)) { in ActionEntry() 326 modifier = Modifier.padding(top = 12.dp, bottom = bottomPadding), in MoreOptionTopAppBar() 330 modifier = Modifier.padding(top = 8.dp, bottom = 8.dp, start = 4.dp).size(48.dp), in MoreOptionTopAppBar() [all …]
|