/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CarLayoutManager.java | 299 int firstChildTopWithMargin = getDecoratedTop(firstChild) - firstChildParams.topMargin; in scrollVerticallyBy() 314 - firstFullyVisibleChildParams.topMargin - getPaddingTop(); in scrollVerticallyBy() 581 float percentOfPreviousViewShowing = (getDecoratedTop(firstChild) - params.topMargin) in computeVerticalScrollOffset() 583 + params.topMargin + params.bottomMargin); in computeVerticalScrollOffset() 626 if (getDecoratedTop(child) - params.topMargin >= getPaddingTop()) { in getFirstFullyVisibleChildIndex() 789 int top = (anchorTop == -1) ? params.topMargin : anchorTop; 830 bottom = adjacentRow.getTop() - adjacentRowParams.topMargin - newRowParams.bottomMargin; 834 adjacentRowParams.bottomMargin + newRowParams.topMargin; 891 int adjacentRowTop = getDecoratedTop(adjacentRow) - params.topMargin; 1014 if (getDecoratedTop(child) - getParams(child).topMargin <= getPaddingTop()) { in offsetRowsIndividually() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 494 + " s=" + layoutParams.getMarginStart() + " t=" + layoutParams.topMargin in setTvViewPosition() 560 int topMargin; in updatePipView() local 579 topMargin = 0; in updatePipView() 586 int tvTopMargin = tvViewFrame.topMargin; in updatePipView() 617 topMargin = tvTopMargin + (int) (mPipViewTopMargin * verticalScaleFactor); in updatePipView() 640 || lp.getMarginEnd() != endMargin || lp.topMargin != topMargin in updatePipView() 646 lp.topMargin = topMargin; in updatePipView() 819 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); in interpolateMarginsRelative() 829 int startMargin, int endMargin, int topMargin, int bottomMargin) { in createMarginLayoutParams() argument 833 lp.topMargin = topMargin; in createMarginLayoutParams() [all …]
|
D | TunableTvView.java | 816 || tvViewLp.topMargin != lp.topMargin in copyLayoutParamsToTvView() 822 if (lp.topMargin == tvViewLp.topMargin && lp.leftMargin == tvViewLp.leftMargin in copyLayoutParamsToTvView() 833 tvViewLp.topMargin = lp.topMargin; in copyLayoutParamsToTvView()
|
D | ChannelBannerView.java | 519 int topMargin = (int) mResources.getDimension(marginTopRes); 520 if (lp.topMargin != topMargin) { 521 lp.topMargin = topMargin;
|
D | TvTransitionManager.java | 170 emptySceneLayoutParams.topMargin = mCurrentSceneView.getTop(); in initIfNeeded()
|
/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/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/UnifiedEmail/src/com/android/mail/ui/ |
D | MiniDrawerView.java | 203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight(); in onLayout() 231 childHeight -= childToHideParams.topMargin + childToHideParams.bottomMargin + in onLayout() 249 spacerParams.bottomMargin - spacerParams.topMargin; in measureSpacer()
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | CarDrawerLayout.java | 701 heightSize - lp.topMargin - lp.bottomMargin, MeasureSpec.EXACTLY); in onMeasure() 710 lp.topMargin + lp.bottomMargin, in onMeasure() 728 contentLp.topMargin, contentRight, in onLayout() 729 contentLp.topMargin + contentView.getMeasuredHeight()); in onLayout() 739 drawerView.layout(drawerLp.getMarginStart() + offset, drawerLp.topMargin, in onLayout() 741 childHeight + drawerLp.topMargin); in onLayout()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DetailsContentPresenter.java | 295 private void setTopMargin(View view, int topMargin) { in setTopMargin() argument 297 lp.topMargin = topMargin; in setTopMargin()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 473 topMargin - bottomMargin; in setup() 477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin; in setup() 480 y = myCellY * (cellHeight + heightGap) + topMargin; in setup()
|
/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/Dialer/java/com/android/dialer/app/widget/ |
D | SearchEditTextLayout.java | 77 mTopMargin = params.topMargin; in onFinishInflate() 315 params.topMargin = (int) (mTopMargin * fraction); in setMargins()
|
/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/ |
D | DeviceProfile.java | 525 lp.topMargin = mInsets.top + edgeMarginPx; in layout() 539 lp.topMargin = mInsets.top + workspacePadding.top; in layout()
|
D | InsettableFrameLayout.java | 36 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | CheckBoxItem.java | 52 lp.topMargin = view.getResources().getDimensionPixelOffset( in onBind()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | GuidanceRelativeLayout.java | 71 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
|
D | MessagePageFrameLayout.java | 73 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardDecorator.java | 65 return child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child)); in getChildTop()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorScrollView.java | 79 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, lp.height); in measureChildWithMargins()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 102 labelParams.topMargin = in init()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 760 textAndInfoLayoutParams.topMargin = textTopMargin; in updateViewAppearance() 891 ((LinearLayout.LayoutParams) attachmentView.getLayoutParams()).topMargin = margin; in updateMessageAttachmentsAppearance()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 475 mlp.topMargin = insets.top; in setInsets()
|