Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt179 val paddingTop = contentInsetsProvider.getStatusBarPaddingTop(rot) in <lambda>() constant
184 paddingTop = paddingTop, in <lambda>()
229 open fun updateRotations(rotation: Int, paddingTop: Int) { in <lambda>()
236 corner.setPadding(0, paddingTop, 0, 0) in <lambda>()
280 tl.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
293 tr.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
306 br.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
319 bl.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
442 val paddingTop = contentInsetsProvider.getStatusBarPaddingTop() in <lambda>() constant
453 paddingTop = paddingTop, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DUniqueObjectHostView.kt44 val paddingVertical = paddingTop + paddingBottom in onMeasure()
87 val top = paddingTop in addView()
89 val paddingVertical = paddingTop + paddingBottom in addView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt194 assertThat(view.paddingTop).isEqualTo(insets.top) in onAttachedToWindow_updatesLeftTopRightPaddingsBasedOnInsets()
208 assertThat(view.paddingTop).isEqualTo(insets.top) in onConfigurationChanged_updatesLeftTopRightPaddingsBasedOnInsets()
228 assertThat(view.paddingTop).isEqualTo(previousInsets.top) in onConfigurationChanged_noRelevantChange_doesNotUpdateInsets()
251 assertThat(view.paddingTop).isEqualTo(newInsets.top) in onConfigurationChanged_densityChanged_updatesInsets()
274 assertThat(view.paddingTop).isEqualTo(newInsets.top) in onConfigurationChanged_fontScaleChanged_updatesInsets()
301 assertThat(view.paddingTop).isEqualTo(insets.top) in onApplyWindowInsets_updatesLeftTopRightPaddingsBasedOnInsets()
/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.cpp89 mPatch->paddingTop = int(mPatch->paddingTop * scaleY + 0.5f); in scale()
DNinePatch.cpp142 mPatch->paddingLeft, mPatch->paddingTop, in getPadding()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertDialogLayout.java276 final int paddingTop = getPaddingTop(); in onLayout() local
295 childTop = paddingTop + bottom - top - totalLength; in onLayout()
300 childTop = paddingTop + (bottom - top - totalLength) / 2; in onLayout()
305 childTop = paddingTop; in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java215 int paddingTop = Math.max(mListView.getPaddingTop(), in onMeasure() local
220 if (paddingTop != mListView.getPaddingTop() in onMeasure()
222 mPendingScroll += mListView.getPaddingTop() - paddingTop; in onMeasure()
224 mListView.getPaddingLeft(), paddingTop, in onMeasure() local
DNotificationActionListLayout.java309 final int paddingTop = mPaddingTop; in onLayout() local
332 int innerHeight = height - paddingTop - mPaddingBottom; in onLayout()
353 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout()
DViewPager.java1506 int paddingTop = getPaddingTop();
1543 childTop = paddingTop;
1546 childTop = paddingTop;
1547 paddingTop += child.getMeasuredHeight();
1551 paddingTop);
1593 (int) (height - paddingTop - paddingBottom),
1607 final int childTop = paddingTop;
1612 mTopPageBounds = paddingTop;
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java118 int paddingTop = getPaddingTop(); in onDraw() local
123 int contentHeight = getHeight() - paddingTop - paddingBottom; in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DWindowRootView.kt75 val paddingChanged = insets.top != paddingTop || insets.bottom != paddingBottom in onApplyWindowInsets()
83 paddingLeft != 0 || paddingRight != 0 || paddingTop != 0 || paddingBottom != 0 in onApplyWindowInsets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DStackEducationView.kt159 paddingTop, in show()
167 paddingTop, in show()
DManageEducationView.kt204 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom) in layoutManageView()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java623 final int paddingTop = getPaddingTop(); in onDraw() local
624 canvas.translate(paddingLeft, paddingTop); in onDraw()
630 canvas.translate(-paddingLeft, -paddingTop); in onDraw()
904 final int paddingTop = getPaddingTop(); in onLayout() local
910 final int paddedHeight = paddedBottom - paddingTop; in onLayout()
920 final int measuredPaddedHeight = getMeasuredHeight() - paddingTop - paddingBottom; in onLayout()
DToolbar.java1826 final int paddingTop = getPaddingTop(); in onLayout() local
1922 final int space = height - paddingTop - paddingBottom; in onLayout()
1928 spaceAbove - paddingTop; in onLayout()
1934 titleTop = paddingTop + spaceAbove; in onLayout()
2097 final int paddingTop = getPaddingTop(); in getChildTop() local
2100 final int space = height - paddingTop - paddingBottom; in getChildTop()
2106 spaceAbove - paddingTop; in getChildTop()
2111 return paddingTop + spaceAbove; in getChildTop()
DLinearLayout.java1763 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1773 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1835 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1853 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1865 childTop = paddingTop; in layoutHorizontal()
/frameworks/base/tools/aapt/
DImages.cpp567 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do_9patch()
624 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
626 errorPixel = image->info9Patch.paddingTop; in do_9patch()
663 if (image->info9Patch.paddingTop < 0) { in do_9patch()
664 image->info9Patch.paddingTop = yDivs[0]; in do_9patch()
677 image->info9Patch.paddingTop, image->info9Patch.paddingBottom); in do_9patch()
809 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
/frameworks/base/libs/androidfw/
DPng.cpp164 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
949 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
1006 &image->info9Patch.paddingTop, &image->info9Patch.paddingBottom, &errorMsg, in do9Patch()
1008 errorPixel = image->info9Patch.paddingTop; in do9Patch()
1041 if (image->info9Patch.paddingTop < 0) { in do9Patch()
1042 image->info9Patch.paddingTop = yDivs[0]; in do9Patch()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModelTest.kt183 val paddingTop by collectLastValue(underTest.paddingTopDimen) in <lambda>() constant
188 assertThat(paddingTop).isEqualTo(10) in <lambda>()
201 val paddingTop by collectLastValue(underTest.paddingTopDimen) in <lambda>() constant
205 assertThat(paddingTop).isEqualTo(5) in <lambda>()
215 val paddingTop by collectLastValue(underTest.paddingTopDimen) in <lambda>() constant
219 assertThat(paddingTop).isEqualTo(0) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeHeaderController.kt261 header.paddingTop, in <lambda>()
552 header.setPadding(padding, header.paddingTop, padding, header.paddingBottom) in <lambda>()
564 clock.paddingTop, in <lambda>()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java286 public void setDecorPaddingTop(int paddingTop) { in setDecorPaddingTop() argument
290 view.getPaddingLeft(), paddingTop, view.getPaddingRight(), view.getPaddingBottom()); in setDecorPaddingTop() local
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/ui/viewmodel/
DBrightnessMirrorViewModelTest.kt139 assertThat(paddingTop).isEqualTo(padding) in setLocationInWindow_paddingSetToRootView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiverTest.kt436 assertThat(chipView.getAppIconView().paddingTop).isEqualTo(0) in updateView_isAppIcon_usesAppIconPadding()
449 assertThat(chipView.getAppIconView().paddingTop).isEqualTo(expectedPadding) in updateView_notAppIcon_usesGenericIconPadding()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1263 int paddingTop = getPaddingTop(); in onLayout() local
1269 int childTop = paddingTop + mRectArray[i].top; in onLayout()
1271 int childRight = paddingTop + mRectArray[i].right; in onLayout()
1285 int paddingTop = getPaddingTop(); in dispatchDraw() local
1294 int childTop = paddingTop + mRectArray[i].top; in dispatchDraw()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditTextCursorAnchorInfoTest.java579 private void setupEditText(int height, int scrollY, int paddingTop, in setupEditText() argument
583 mEditText.setPadding(0, paddingTop, 0, paddingBottom); in setupEditText()

12