Home
last modified time | relevance | path

Searched refs:marginLayoutParams (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollView.java162 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) getLayoutParams(); in updateDimensions() local
172 if (marginLayoutParams.rightMargin == rightMargin in updateDimensions()
173 && marginLayoutParams.topMargin == topMargin) { in updateDimensions()
176 marginLayoutParams.rightMargin = rightMargin; in updateDimensions()
177 marginLayoutParams.topMargin = topMargin; in updateDimensions()
187 marginLayoutParams.rightMargin = parentRight - rotatedBounds.right - getPaddingX(); in updateDimensions()
188 marginLayoutParams.bottomMargin = in updateDimensions()
192 marginLayoutParams.leftMargin = rotatedBounds.left - parentLeft - getPaddingX(); in updateDimensions()
193 marginLayoutParams.bottomMargin = in updateDimensions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java51 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp; in placeViewAt() local
52 marginLayoutParams.width = w; in placeViewAt()
53 marginLayoutParams.height = h; in placeViewAt()
54 marginLayoutParams.setMargins(x, y, 0, 0); in placeViewAt()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerAdapter.java150 ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) params; in setItemSpacing() local
151 marginLayoutParams.bottomMargin = mVerticalSpacing; in setItemSpacing()
155 marginLayoutParams.leftMargin = col * splitHorizontalSpacing; in setItemSpacing()
156 marginLayoutParams.rightMargin = (mNumCols - (col + 1)) * splitHorizontalSpacing; in setItemSpacing()
158 rootItemView.setLayoutParams(marginLayoutParams); in setItemSpacing()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupGuidedStepFragment.java73 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) list.getLayoutParams(); in onCreateView() local
77 marginLayoutParams.rightMargin = doneButtonWidth; in onCreateView()
79 marginLayoutParams.leftMargin = doneButtonWidth; in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java154 ViewGroup.MarginLayoutParams marginLayoutParams = in updateView() local
158 marginLayoutParams.setMargins(tabMarginSide, 0, tabMarginSide, 0); in updateView()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java794 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) view.getLayoutParams(); in measureHeightWithVerticalMargins() local
795 return view.getMeasuredHeight() + marginLayoutParams.bottomMargin in measureHeightWithVerticalMargins()
796 + marginLayoutParams.topMargin; in measureHeightWithVerticalMargins()