Home
last modified time | relevance | path

Searched refs:setMargins (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Car/Media/src/com/android/car/media/
DGuidelinesUpdater.java52 start.setMargins(insets.getLeft(), 0,0, 0); in onCarUiInsetsChanged()
57 end.setMargins(0, 0, insets.getRight(), 0); in onCarUiInsetsChanged()
62 top.setMargins(0, insets.getTop(), 0, 0); in onCarUiInsetsChanged()
68 bottom.setMargins(0, 0, 0, insets.getBottom()); in onCarUiInsetsChanged()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java221 setMargins(EXPAND_MARGIN_FRACTION_START); in expand()
226 setMargins(0f); in expand()
255 setMargins(1f); in collapse()
302 setMargins(fraction); in prepareAnimator()
323 private void setMargins(float fraction) { in setMargins() method in SearchEditTextLayout
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DSearchBarView.java123 animator.addUpdateListener(animation -> setMargins((Float) animation.getAnimatedValue())); in expand()
160 animator.addUpdateListener(animation -> setMargins((Float) animation.getAnimatedValue())); in collapse()
188 private void setMargins(float fraction) { in setMargins() method in SearchBarView
/packages/apps/DocumentsUI/src/com/android/documentsui/
DNavigationViewManager.java268 toolbarLayoutParams.setMargins(searchBarMargin, searchBarMargin, searchBarMargin, in updateToolbar()
279 toolbarLayoutParams.setMargins(0, 0, 0, /* bottom= */ actionBarMargin); in updateToolbar()
289 headerLayoutParams.setMargins(0, /* top= */ headerTopOffset, 0, 0); in updateToolbar()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java367 ((MarginLayoutParams) mPlayPauseButton.getLayoutParams()).setMargins(0, 0, 0, 0); in initializeViewsForMode()
368 ((MarginLayoutParams) mChronometer.getLayoutParams()).setMargins(0, 0, 0, 0); in initializeViewsForMode()
375 ((MarginLayoutParams) mPlayPauseButton.getLayoutParams()).setMargins(0, 0, 0, 0); in initializeViewsForMode()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java371 setMargins(accountFilterHeaderIcon, in bindListHeader()
382 setMargins(accountFilterHeaderIcon, in bindListHeader()
399 private void setMargins(View v, int l, int r) { in setMargins() method in MultiSelectContactsListFragment
DContactsUnavailableFragment.java71 layoutParams.setMargins(0, topMargin, 0, 0); in onCreateView()
DDefaultContactBrowseListFragment.java441 params.setMargins(0, marginTop, 0, 0); in getEmptyHomeView()
462 params.setMargins(0, height / divisor + offset, 0, 0); in getEmptyAccountView()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java308 ((ViewGroup.MarginLayoutParams) arrowLp).setMargins(0, 0, 0, -1 * arrowTipRadius); in updateArrowTipInView()
311 ((ViewGroup.MarginLayoutParams) arrowLp).setMargins(0, -1 * arrowTipRadius, 0, 0); in updateArrowTipInView()
DSnackbar.java87 params.setMargins(0, 0, 0, marginBottom + insets.bottom); in show()
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java280 p.setMargins(left, top, 0, 0); in onTouch()
441 p.setMargins(0, 0, 0, 0); in resetTouchFocus()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DFullScreenAnimation.java154 layoutParams.setMargins(0, Math.round(marginTop), 0, Math.round(marginBottom)); in setViewMargins()
232 layoutParams.setMargins(0, getStatusBarHeight(), 0, 0); in ensureToolbarIsCorrectlyLocated()
/packages/apps/Camera2/src/com/android/camera/ui/
DProgressOverlay.java62 params.setMargins((int) area.left, (int) area.top, 0, 0); in setBounds()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DFakeFreeNavigationActivity.java69 lp.setMargins(unobscured.left, unobscured.top, 0, 0); in handleIntent()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DFakeFreeNavigationActivity.java70 lp.setMargins(unobscured.left, unobscured.top, 0, 0); in handleIntent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DFakeClusterNavigationActivity.java71 lp.setMargins(unobscured.left, unobscured.top, 0, 0); in handleIntent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java54 marginLayoutParams.setMargins(x, y, 0, 0); in placeViewAt()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java80 params.setMargins(
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.java334 params.setMargins(0, mStickyHeader.getMeasuredHeight(), 0, 0); in updateStickyHeader()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DOverviewActionsView.java215 actionParams.setMargins( in updateVerticalMargin()
DFloatingWidgetView.java212 layoutParams.setMargins(0, 0, 0, 0); in positionViews()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchFragment.java132 layoutParams.setMargins(0, getResources().getDimensionPixelSize( in onViewCreated()
/packages/apps/Camera2/src/com/android/camera/
DPhotoUI.java229 params.setMargins((int) previewArea.left, (int) previewArea.top, 0, 0); in initIntentReviewImageView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarView.java198 lp.setMargins(mItemMarginLeftRight, 0, mItemMarginLeftRight, 0); in updateHotseatItems()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DChatActivity.java250 lp.setMargins(0, MARGIN_SIZE, 0, 0); in initChatMessageItem()

12