Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java369 + 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()
DChannelBannerView.java555 int topMargin = (int) mResources.getDimension(marginTopRes);
556 if (lp.topMargin != topMargin) {
557 lp.topMargin = topMargin;
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java42 private int topMargin; field in SearchEditTextLayout
82 topMargin = params.topMargin; in onFinishInflate()
325 params.topMargin = (int) (topMargin * fraction); in setMargins()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java72 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/DeskClock/src/com/android/deskclock/
DCircleButtonsLayout.java72 labelParams.topMargin = circleDiam/6; in remeasureViews()
74 labelParams.topMargin += (frameHeight-frameWidth)/2; in remeasureViews()
130 int y = frameHeight / 2 - labelParams.topMargin; in remeasureViews()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java338 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/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java338 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/
DScrimView.java375 final int topMargin; in updateDragHandleBounds() local
378 topMargin = grid.workspacePadding.bottom + mDragHandlePaddingInVerticalBarLayout; in updateDragHandleBounds()
387 topMargin = grid.hotseatBarSizePx; in updateDragHandleBounds()
389 mDragHandleBounds.offsetTo(left, top - topMargin); in updateDragHandleBounds()
DClipIconView.java153 float dY = rect.top - parentLp.topMargin; in update()
277 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in setIcon()
DFloatingIconView.java155 float dY = rect.top - lp.topMargin; in update()
209 lp.topMargin = Math.round(pos.top); in updatePosition()
220 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in updatePosition()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskView.java475 iconParams.topMargin = snapshotParams.topMargin / 2; in setOrientationState()
480 iconParams.leftMargin = iconParams.topMargin = iconParams.rightMargin = 0; in setOrientationState()
486 iconParams.topMargin = snapshotParams.topMargin / 2; in setOrientationState()
491 iconParams.leftMargin = iconParams.topMargin = iconParams.rightMargin = 0; in setOrientationState()
DOverviewActionsView.java219 params.leftMargin, params.topMargin, params.rightMargin, bottomMargin); in updateVerticalMargin()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContentPresenter.java358 private void setTopMargin(View view, int topMargin) { in setTopMargin() argument
360 lp.topMargin = topMargin; in setTopMargin()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java66 final int topMargin = in onCreateView() local
71 layoutParams.setMargins(0, topMargin, 0, 0); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationItemView.java105 int top = lp.topMargin; in inverseGutterMargin()
106 lp.topMargin = lp.bottomMargin; in inverseGutterMargin()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java87 lp.topMargin = insets.top; in setInsets()
111 lp.topMargin += grid.edgeMarginPx; in setInsets()
DInsettableFrameLayout.java31 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java360 lp.topMargin = y + insets.top; in orientAboutObject()
361 arrowLp.topMargin = lp.topMargin - insets.top - arrowLp.height - mArrowOffset; in orientAboutObject()
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java247 parentHeight - params.topMargin - params.bottomMargin, in onMeasure()
308 mInRect.set(offset + leftMargin, params.topMargin, in onLayout()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCheckBoxItem.java50 lp.topMargin = in onBind()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DGuidanceRelativeLayout.java70 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
DMessagePageFrameLayout.java73 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatMessageViewHolder.java50 params.topMargin = in setMessage()
/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptMessageViewHolder.java54 params.topMargin = in setMessage()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java199 mlp.topMargin = insets.top; in setInsets()

12