/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()
|
D | ChannelBannerView.java | 555 int topMargin = (int) mResources.getDimension(marginTopRes); 556 if (lp.topMargin != topMargin) { 557 lp.topMargin = topMargin;
|
/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 | TaskView.java | 767 snapshotParams.topMargin = deviceProfile.overviewTaskThumbnailTopMarginPx; in setOrientationState() 776 iconParams.topMargin = snapshotParams.topMargin / 2; in setOrientationState() 780 iconParams.bottomMargin = -snapshotParams.topMargin; in setOrientationState() 782 iconParams.topMargin = taskIconMargin; in setOrientationState() 788 iconParams.topMargin = snapshotParams.topMargin / 2; in setOrientationState() 794 iconParams.topMargin = taskIconMargin; in setOrientationState() 801 snapshotParams.topMargin = deviceProfile.overviewTaskThumbnailTopMarginPx; in setOrientationState() 1201 TaskOutlineProvider(Context context, FullscreenDrawParams fullscreenParams, int topMargin) { in TaskOutlineProvider() argument 1202 mMarginTop = topMargin; in TaskOutlineProvider() 1206 public void updateParams(FullscreenDrawParams params, int topMargin) { in updateParams() argument [all …]
|
/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/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/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | SearchAndRecommendationsScrollController.java | 165 tabsLayoutParams.topMargin = topContainerHeight; in updateMarginAndPadding() 205 if (viewPagerLayoutParams.topMargin != topOffsetAfterAllViewsCollapsed) { in updateMarginAndPadding() 206 viewPagerLayoutParams.topMargin = topOffsetAfterAllViewsCollapsed; in updateMarginAndPadding() 356 + marginLayoutParams.topMargin; in measureHeightWithVerticalMargins()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 515 return childTop + lp.topMargin + childBaseline; in getBaseline() 690 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 718 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 801 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical() 905 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child)); in measureVertical() 1182 childTop += lp.topMargin; in layoutVertical() 1290 childTop = paddingTop + lp.topMargin; in layoutHorizontal() 1309 + lp.topMargin - lp.bottomMargin; in layoutHorizontal()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 157 float dY = rect.top - lp.topMargin; in update() 188 float dY = rect.top - parentLp.topMargin; in update() 316 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in setIcon()
|
D | FloatingIconView.java | 191 lp.topMargin = Math.round(pos.top); in updatePosition() 202 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in updatePosition()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | GoOverviewActionsView.java | 89 @Px int topMargin = getResources().getDimensionPixelSize(R.dimen.tooltip_top_margin); in showToolTip() local 94 /* yCoord= */ location[1] - topMargin); in showToolTip()
|
/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()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationItemView.java | 95 int top = lp.topMargin; in inverseGutterMargin() 96 lp.topMargin = lp.bottomMargin; in inverseGutterMargin()
|
/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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | DefaultScrollBar.java | 517 int upButtonMargin = upButtonLayoutParam.topMargin in updatePaginationButtons() 521 int downButtonMargin = downButtonLayoutParam.topMargin in updatePaginationButtons() 529 int trackMargin = trackLayoutParam.topMargin in updatePaginationButtons()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTargetBar.java | 88 lp.topMargin = insets.top; in setInsets() 113 lp.topMargin += grid.edgeMarginPx; in setInsets()
|
D | InsettableFrameLayout.java | 31 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 247 parentHeight - params.topMargin - params.bottomMargin, in onMeasure() 308 mInRect.set(offset + leftMargin, params.topMargin, in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 657 lp.topMargin = y + insets.top; in orientAboutObject() 658 arrowLp.topMargin = lp.topMargin - insets.top - arrowLp.height - mArrowOffsetVertical; in orientAboutObject()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | CheckBoxItem.java | 50 lp.topMargin = in onBind()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | MessagePageFrameLayout.java | 73 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
|
D | GuidanceRelativeLayout.java | 72 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttChatMessageViewHolder.java | 50 params.topMargin = in setMessage()
|
/packages/apps/Dialer/java/com/android/dialer/rtt/ |
D | RttTranscriptMessageViewHolder.java | 54 params.topMargin = in setMessage()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BaseActivityInterface.java | 304 int topMargin = res.getDimensionPixelSize(R.dimen.overview_grid_top_margin); in calculateGridSize() local 310 outRect.inset(Math.max(insets.left, sideMargin), Math.max(insets.top, topMargin), in calculateGridSize()
|