/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/view/ |
D | SafetyEntryView.kt | 67 val topMargin: Int = position.getTopMargin(context) in showEntry() constant 70 if (params.topMargin != topMargin) { in showEntry() 71 params.topMargin = topMargin in showEntry()
|
D | SafetyEntryGroupView.kt | 104 val topMargin: Int = position.getTopMargin(context) in <lambda>() constant 107 if (params.topMargin != topMargin) { in <lambda>() 108 params.topMargin = topMargin in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | UdfpsEnrollView.java | 171 final int topMargin = rotatedBounds.top - parentTop - getPaddingY(); in updateDimensions() local 173 && marginLayoutParams.topMargin == topMargin) { in updateDimensions() 177 marginLayoutParams.topMargin = topMargin; in updateDimensions()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/animation/ |
D | BoundsAnimation.java | 41 mFromBounds = new Rect(mLayoutParams.leftMargin, mLayoutParams.topMargin, in BoundsAnimation() 42 mLayoutParams.width, mLayoutParams.topMargin + mLayoutParams.height); in BoundsAnimation() 69 mLayoutParams.topMargin = bounds.top; in applyTransformation()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | PhoneLandscapeNavLayoutter.kt | 66 topMargin = in layoutButtons() 98 buttonLayoutParams.topMargin = margin in layoutButtons() 103 buttonLayoutParams.topMargin = margin in layoutButtons() 164 topMargin = barAxisMarginTop in repositionContextualContainer()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | CircleButtonsLayout.kt | 83 labelParams.topMargin = circleDiam / 6 in remeasureViews() 85 labelParams.topMargin += (frameHeight - frameWidth) / 2 in remeasureViews() 141 val y = frameHeight / 2 - labelParams.topMargin in remeasureViews()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | LandscapePagedViewHandler.kt | 266 bannerParams.width = taskViewHeight - snapshotParams.topMargin in getDwbLayoutTranslations() 267 return Pair(translationX, snapshotParams.topMargin.toFloat()) in getDwbLayoutTranslations() 274 translationY = snapshotParams.topMargin.toFloat() in getDwbLayoutTranslations() 284 snapshotParams.topMargin + in getDwbLayoutTranslations() 285 (taskViewHeight - snapshotParams.topMargin) * topLeftTaskPlusDividerPercent in getDwbLayoutTranslations() 458 secondaryParams.topMargin = dp.overviewTaskThumbnailTopMarginPx in measureGroupedTaskViewThumbnailBounds() 459 primaryParams.topMargin = 0 in measureGroupedTaskViewThumbnailBounds() 520 iconParams.topMargin = thumbnailTopMargin / 2 in setTaskIconParams() 530 iconParams.topMargin = 0 in setIconAppChipChildrenParams() 555 iconMenuParams.topMargin = iconMenuMargin in setIconAppChipMenuParams() [all …]
|
D | SeascapePagedViewHandler.kt | 149 bannerParams.width = taskViewHeight - snapshotParams.topMargin in getDwbLayoutTranslations() 165 (taskViewHeight - snapshotParams.topMargin) * bottomRightTaskPlusDividerPercent in getDwbLayoutTranslations() 251 iconMenuParams.topMargin = iconMenuMargin in setIconAppChipMenuParams() 258 iconMenuParams.topMargin = 0 in setIconAppChipMenuParams() 282 secondaryParams.topMargin = dp.overviewTaskThumbnailTopMarginPx in measureGroupedTaskViewThumbnailBounds() 283 primaryParams.topMargin = 0 in measureGroupedTaskViewThumbnailBounds()
|
D | PortraitPagedViewHandler.java | 292 translationY = -((taskViewHeight - snapshotParams.topMargin) in getDwbLayoutTranslations() 568 secondaryParams.topMargin = 0; in measureGroupedTaskViewThumbnailBounds() 569 primaryParams.topMargin = spaceAboveSnapshot; in measureGroupedTaskViewThumbnailBounds() 637 iconParams.topMargin = iconParams.bottomMargin = 0; in setTaskIconParams() 645 iconParams.topMargin = 0; in setIconAppChipChildrenParams() 653 iconMenuParams.topMargin = thumbnailTopMargin; in setIconAppChipMenuParams() 679 secondaryIconParams.topMargin = primaryIconParams.topMargin; in setSplitIconParams()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 369 + layoutParams.topMargin in setTvViewPosition() 598 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); in interpolateMargins() 608 int startMargin, int endMargin, int topMargin, int bottomMargin) { in createMarginLayoutParams() argument 612 lp.topMargin = topMargin; in createMarginLayoutParams() 615 lp.height = mWindowHeight - topMargin - bottomMargin; in createMarginLayoutParams()
|
/packages/apps/Dialer/java/com/android/dialer/app/widget/ |
D | SearchEditTextLayout.java | 42 private int topMargin; field in SearchEditTextLayout 82 topMargin = params.topMargin; in onFinishInflate() 325 params.topMargin = (int) (topMargin * fraction); in setMargins()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingAppPairView.kt | 88 lp.topMargin = Math.round(startingPosition.top) in init() 91 layout(lp.leftMargin, lp.topMargin, lp.leftMargin + lp.width, lp.topMargin + lp.height) in init()
|
D | FloatingTaskView.java | 208 float dY = bounds.top - lp.topMargin; in update() 240 lp.topMargin = Math.round(pos.top); in initPosition() 250 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in initPosition()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 72 int childMeasuredHeight = currChild.getMeasuredHeight() + layoutParams.topMargin + in onMeasure() 128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout() 159 int startPositionY = y + layoutParams.topMargin; // default to top gravity in onLayout() 182 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | TextDrawable.java | 95 int topMargin = bounds.centerY() - (mIntrinsicHeight / 2); in draw() local 98 int y = topMargin; in draw() 99 Log.d(TAG, "Drawing " + n + " lines. Height: " + height + " Top margin: " + topMargin); in draw()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | ClockViewFactoryImpl.kt | 102 layoutParams.topMargin = getSmallClockTopMargin() in <lambda>() 247 val topMargin = getSmallClockTopMargin() in <lambda>() constant 252 return Rect(getSmallClockStartPadding(), topMargin, screenSize.x, topMargin + targetHeight) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/ |
D | FingerprintEnrollEnrollingUdfpsFragment.kt | 657 iconLP.topMargin = convertDpToPixel(76.64f) in Context() 663 titleLP.topMargin = convertDpToPixel(138f) in Context() 669 subtitleLP.topMargin = convertDpToPixel(198f) in Context() 677 iconLP.topMargin = convertDpToPixel(76.64f) in Context() 685 titleLP.topMargin = convertDpToPixel(138f) in Context() 693 subtitleLP.topMargin = convertDpToPixel(198f) in Context() 699 skipBtnLP.topMargin = convertDpToPixel(26f) in Context()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | GoOverviewActionsView.java | 90 @Px int topMargin = getResources().getDimensionPixelSize(R.dimen.tooltip_top_margin); in showToolTip() local 95 /* yCoord= */ location[1] - topMargin, in showToolTip()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 339 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 516 return childTop + lp.topMargin + childBaseline; in getBaseline() 691 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 719 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 802 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical() 906 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical() 1183 childTop += lp.topMargin; in layoutVertical() 1291 childTop = paddingTop + lp.topMargin; in layoutHorizontal() 1310 + lp.topMargin - lp.bottomMargin; in layoutHorizontal()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | IssueCardPreference.java | 105 int topMargin = getTopMargin(mPositionInCardList, getContext()); in onBindViewHolder() local 107 if (layoutParams.topMargin != topMargin) { in onBindViewHolder() 108 layoutParams.topMargin = topMargin; in onBindViewHolder()
|
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | CellLayoutLayoutParams.java | 148 height = Math.round(myCellHeight) - topMargin - bottomMargin; in setup() 150 y = topMargin + (myCellY * cellHeight) + (myCellY * borderSpace.y); in setup()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/ |
D | CustomizationPickerBinder.kt | 97 topMargin = 0 in <lambda>() 113 topMargin = 0 in <lambda>()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 66 final int topMargin = in onCreateView() local 71 layoutParams.setMargins(0, topMargin, 0, 0); in onCreateView()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/orientation/ |
D | LandscapePagedViewHandlerTest.kt | 134 assertThat(frameLayout.topMargin).isEqualTo(expectedTranslationY) in testIcon_updateSplitIconsPosition() 152 assertThat(frameLayout.topMargin).isEqualTo(expectedTranslationY) in testIcon_updateSplitIconsPosition_isRTL()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContentPresenter.java | 358 private void setTopMargin(View view, int topMargin) { in setTopMargin() argument 360 lp.topMargin = topMargin; in setTopMargin()
|