Home
last modified time | relevance | path

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

12

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java299 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/
DTvViewUiManager.java494 + " 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 …]
DTunableTvView.java816 || 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()
DChannelBannerView.java519 int topMargin = (int) mResources.getDimension(marginTopRes);
520 if (lp.topMargin != topMargin) {
521 lp.topMargin = topMargin;
DTvTransitionManager.java170 emptySceneLayoutParams.topMargin = mCurrentSceneView.getTop(); in initIfNeeded()
/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/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/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java203 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/
DCarDrawerLayout.java701 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/
DDetailsContentPresenter.java295 private void setTopMargin(View view, int topMargin) { in setTopMargin() argument
297 lp.topMargin = topMargin; in setTopMargin()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java473 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/
DContactsUnavailableFragment.java66 final int topMargin = in onCreateView() local
71 layoutParams.setMargins(0, topMargin, 0, 0); in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java77 mTopMargin = params.topMargin; in onFinishInflate()
315 params.topMargin = (int) (mTopMargin * fraction); in setMargins()
/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/Launcher3/src/com/android/launcher3/
DDeviceProfile.java525 lp.topMargin = mInsets.top + edgeMarginPx; in layout()
539 lp.topMargin = mInsets.top + workspacePadding.top; in layout()
DInsettableFrameLayout.java36 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCheckBoxItem.java52 lp.topMargin = view.getResources().getDimensionPixelOffset( in onBind()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DGuidanceRelativeLayout.java71 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
DMessagePageFrameLayout.java73 int guidanceTextContainerTop = mTitleKeylinePixels - lp.topMargin; in onLayout()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardDecorator.java65 return child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child)); in getChildTop()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorScrollView.java79 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, lp.height); in measureChildWithMargins()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java102 labelParams.topMargin = in init()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java760 textAndInfoLayoutParams.topMargin = textTopMargin; in updateViewAppearance()
891 ((LinearLayout.LayoutParams) attachmentView.getLayoutParams()).topMargin = margin; in updateMessageAttachmentsAppearance()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java475 mlp.topMargin = insets.top; in setInsets()

12