/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/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/DeskClock/src/com/android/deskclock/ |
D | CircleButtonsLayout.java | 72 labelParams.topMargin = circleDiam/6; in remeasureViews() 74 labelParams.topMargin += (frameHeight-frameWidth)/2; in remeasureViews() 130 int y = frameHeight / 2 - labelParams.topMargin; in remeasureViews()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/allapps/search/ |
D | AppsSearchContainerLayout.java | 204 mlp.topMargin = Math.round(Math.max(-mFixedTranslationY, insets.top - mMarginTopAdjusting)); in setInsets() 213 int topMargin = Math.round(Math.max( in getScrollRangeDelta() local 215 return insets.bottom + topMargin + mFixedTranslationY; in getScrollRangeDelta()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 301 final int topMargin; in updateDragHandleBounds() local 304 topMargin = grid.workspacePadding.bottom; in updateDragHandleBounds() 312 topMargin = grid.hotseatBarSizePx; in updateDragHandleBounds() 314 mDragHandleBounds.offsetTo(left, top - topMargin); in updateDragHandleBounds()
|
D | FloatingIconView.java | 221 float dY = rect.top - lp.topMargin; in update() 330 lp.topMargin = Math.round(position.top); in updatePosition() 341 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in updatePosition() 529 layout(left, lp.topMargin, left + lp.width, lp.topMargin + lp.height); in setIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 656 lp.topMargin - lp.bottomMargin; in onLayout() 676 childLeft = height / 2 - width / 2 + lp.topMargin; in onLayout() 694 childTop = lp.topMargin; in onLayout() 698 lp.topMargin - lp.bottomMargin; in onLayout() 704 childTop = lp.topMargin; in onLayout()
|
/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/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/src/com/android/launcher3/notification/ |
D | NotificationItemView.java | 98 int top = lp.topMargin; in inverseGutterMargin() 99 lp.topMargin = lp.bottomMargin; in inverseGutterMargin()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 328 lp.topMargin = y + insets.top; in orientAboutObject() 329 arrowLp.topMargin = lp.topMargin - insets.top - arrowLp.height - mArrowOffset; in orientAboutObject()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTargetBar.java | 87 lp.topMargin = insets.top; in setInsets() 111 lp.topMargin += grid.edgeMarginPx; in setInsets()
|
D | InsettableFrameLayout.java | 31 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()
|
D | LauncherRootView.java | 96 lp.topMargin = mConsumedInsets.top; in handleSystemWindowInsets()
|
/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/TV/src/com/android/tv/ui/sidepanel/ |
D | CheckBoxItem.java | 50 lp.topMargin = in onBind()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 338 int topMargin = mAppBarView.getHeight(); in onCreate() 340 mBrowseFragment.onPlaybackControlsChanged(visible, topMargin, bottomMargin); in onCreate() 341 mSearchFragment.onPlaybackControlsChanged(visible, topMargin, bottomMargin); in onCreate()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttChatMessageViewHolder.java | 50 params.topMargin = in setMessage()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | GuidanceRelativeLayout.java | 70 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
|
D | MessagePageFrameLayout.java | 73 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
|
/packages/apps/Dialer/java/com/android/dialer/rtt/ |
D | RttTranscriptMessageViewHolder.java | 54 params.topMargin = in setMessage()
|