/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CarLayoutManager.java | 295 int firstChildTopWithMargin = getDecoratedTop(firstChild) - firstChildParams.topMargin; in scrollVerticallyBy() 310 - firstFullyVisibleChildParams.topMargin - getPaddingTop(); in scrollVerticallyBy() 571 float percentOfPreviousViewShowing = (getDecoratedTop(firstChild) - params.topMargin) in computeVerticalScrollOffset() 573 + params.topMargin + params.bottomMargin); in computeVerticalScrollOffset() 616 if (getDecoratedTop(child) - params.topMargin >= getPaddingTop()) { in getFirstFullyVisibleChildIndex() 779 int top = (anchorTop == -1) ? params.topMargin : anchorTop; 820 bottom = adjacentRow.getTop() - adjacentRowParams.topMargin - newRowParams.bottomMargin; 824 adjacentRowParams.bottomMargin + newRowParams.topMargin; 881 int adjacentRowTop = getDecoratedTop(adjacentRow) - params.topMargin; 1004 if (getDecoratedTop(child) - getParams(child).topMargin <= getPaddingTop()) { in offsetRowsIndividually() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 475 + " s=" + layoutParams.getMarginStart() + " t=" + layoutParams.topMargin in setTvViewPosition() 549 int topMargin; in updatePipView() local 568 topMargin = 0; in updatePipView() 575 int tvTopMargin = tvViewFrame.topMargin; in updatePipView() 606 topMargin = tvTopMargin + (int) (mPipViewTopMargin * verticalScaleFactor); in updatePipView() 629 || lp.getMarginEnd() != endMargin || lp.topMargin != topMargin in updatePipView() 635 lp.topMargin = topMargin; in updatePipView() 809 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); in interpolateMarginsRelative() 819 int startMargin, int endMargin, int topMargin, int bottomMargin) { in createMarginLayoutParams() argument 823 lp.topMargin = topMargin; in createMarginLayoutParams() [all …]
|
D | TunableTvView.java | 866 || tvViewLp.topMargin != lp.topMargin in copyLayoutParamsToTvView() 872 if (lp.topMargin == tvViewLp.topMargin && lp.leftMargin == tvViewLp.leftMargin) { in copyLayoutParamsToTvView() 881 tvViewLp.topMargin = lp.topMargin; in copyLayoutParamsToTvView()
|
D | ChannelBannerView.java | 490 int topMargin = (int) mResources.getDimension(marginTopRes); 491 if (lp.topMargin != topMargin) { 492 lp.topMargin = topMargin;
|
D | TvTransitionManager.java | 170 emptySceneLayoutParams.topMargin = mCurrentSceneView.getTop(); in initIfNeeded()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/ |
D | TitledSettingsFragment.java | 103 ((ViewGroup.MarginLayoutParams) view.getLayoutParams()).topMargin; in onLayoutChange() 149 params.topMargin = (int) context.getResources().getDimension( in positionOnCircular() 226 params.topMargin = getResources().getDimensionPixelSize( in adjustHeaderSize() 229 params.topMargin = getResources().getDimensionPixelSize( in adjustHeaderSize() 234 params.topMargin = getResources().getDimensionPixelSize( in adjustHeaderSize() 237 params.topMargin = getResources().getDimensionPixelSize( in adjustHeaderSize()
|
D | ConfirmationViewHandler.java | 297 final int topMargin = mContext.getResources().getDimensionPixelSize( in hideButtonBar() local 299 final int contentHeight = mContent.getHeight() + topMargin; in hideButtonBar() 309 Log.d(TAG, " topMargin: " + topMargin); in hideButtonBar()
|
/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 | 84 labelParams.topMargin = circleDiam/6; in remeasureViews() 86 labelParams.topMargin += (frameHeight-frameWidth)/2; in remeasureViews() 142 int y = frameHeight / 2 - labelParams.topMargin; in remeasureViews()
|
/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/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/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()
|
D | CellLayout.java | 1239 top += lp.topMargin; in visualizeDropLocation() 3270 topMargin - bottomMargin; in setup() 3272 y = (int) (myCellY * (cellHeight + heightGap) + topMargin); in setup()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | CalculatorPadLayout.java | 80 final int childTop = paddingTop + lp.topMargin + rowIndex * rowHeight; in onLayout() 81 final int childBottom = childTop - lp.topMargin - lp.bottomMargin + rowHeight; in onLayout()
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | SearchEditTextLayout.java | 89 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 | FolderIcon.java | 161 lp.topMargin = grid.iconSizePx + grid.iconDrawablePaddingPx; in fromXml() 166 lp.topMargin = grid.folderBackgroundOffset; in fromXml()
|
D | InsettableFrameLayout.java | 27 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()
|
D | CellLayout.java | 1085 top += lp.topMargin; in visualizeDropLocation() 2920 topMargin - bottomMargin; in setup() 2922 y = (int) (myCellY * (cellHeight + heightGap) + topMargin); in setup()
|
D | DeviceProfile.java | 458 lp.topMargin = searchBarTopExtraPaddingPx; in layout()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | CheckBoxItem.java | 52 lp.topMargin = view.getResources().getDimensionPixelOffset( in onBind()
|
/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/Launcher3/src/com/android/launcher3/allapps/ |
D | HeaderElevationController.java | 55 lp.topMargin = ((FrameLayout.LayoutParams) header.getLayoutParams()).height; in ControllerV16()
|
/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()
|