Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/widget/
DFloatingActionButtonController.java116 public void align(int align, boolean animate) { in align() argument
117 align(align, 0 /*offsetX */, 0 /* offsetY */, animate); in align()
128 private void align(int align, int offsetX, int offsetY, boolean animate) { in align() method in FloatingActionButtonController
133 int translationX = getTranslationXForAlignment(align); in align()
170 private int getTranslationXForAlignment(int align) { in getTranslationXForAlignment() argument
172 switch (align) { in getTranslationXForAlignment()
185 throw Assert.createIllegalStateFailException("Invalid alignment value: " + align); in getTranslationXForAlignment()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java115 public void align(int align, boolean animate) { in align() method in FloatingActionButtonController
116 align(align, 0 /*offsetX */, 0 /* offsetY */, animate); in align()
127 public void align(int align, int offsetX, int offsetY, boolean animate) { in align() method in FloatingActionButtonController
132 int translationX = getTranslationXForAlignment(align); in align()
203 public int getTranslationXForAlignment(int align) { in getTranslationXForAlignment() argument
205 switch (align) { in getTranslationXForAlignment()
/packages/modules/Virtualization/vmbase/src/
Dfdt.rs29 pub align: Option<usize>, field
38 let (addr, size, align) = if let Some(mut reg) = node.reg()? { in new_from_fdt()
44 let align = node.getprop_u64(cstr!("alignment"))?.ok_or(FdtError::NotFound)?; in new_from_fdt() localVariable
45 (None, size.try_into().unwrap(), Some(align.try_into().unwrap())) in new_from_fdt()
47 Ok(Self { addr, size, align }) in new_from_fdt()
Dheap.rs65 pub fn aligned_boxed_slice(size: usize, align: usize) -> Option<Box<[u8]>> { in aligned_boxed_slice()
67 let layout = Layout::from_size_align(size, align).ok()?; in aligned_boxed_slice()
/packages/services/Car/cpp/evs/support_library/
DFormatConvert.cpp26 int align(int value) { in align() function
62 unsigned strideLum = align<16>(width); in copyNV21toRGB32()
91 unsigned strideLum = align<16>(width); in copyYV12toRGB32()
93 unsigned strideColor = align<16>(strideLum / 2); in copyYV12toRGB32()
/packages/services/Car/cpp/evs/apps/default/src/
DFormatConvert.cpp23 int align(int value) { in align() function
59 unsigned strideLum = align<16>(width); in copyNV21toRGB32()
88 unsigned strideLum = align<16>(width); in copyYV12toRGB32()
90 unsigned strideColor = align<16>(strideLum / 2); in copyYV12toRGB32()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/
DShareouselCardComposable.kt49 SelectionIcon(selected, modifier = Modifier.align(Alignment.TopStart)) in ShareouselCard()
54 modifier = Modifier.align(Alignment.TopEnd) in ShareouselCard()
59 modifier = Modifier.align(Alignment.TopEnd) in ShareouselCard()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DbufferCopy.cpp27 int align(int value) { in align() function
42 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromNV21()
72 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromYUYV()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java308 final public void setScrollItemAlign(int align) { in setScrollItemAlign() argument
309 mScrollItemAlign = align; in setScrollItemAlign()
667 int align = mainAxis().getScrollItemAlign(); in setOrientation() local
677 mMainAxis.setScrollItemAlign(align); in setOrientation()
683 public void setScrollItemAlign(int align) { in setScrollItemAlign() argument
684 mainAxis().setScrollItemAlign(align); in setScrollItemAlign()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DbufferCopy.cpp39 int align(int value) { in align() function
54 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromNV21()
85 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromYUYV()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DVideoUi.kt267 if (aspectRatio != null) Modifier.aspectRatio(aspectRatio).align(Alignment.Center) in VideoPlayer()
268 else Modifier.align(Alignment.Center) in VideoPlayer()
299 CircularProgressIndicator(Modifier.align(Alignment.Center)) in VideoPlayer()
433 modifier = Modifier.align(Alignment.Center).size(MEASUREMENT_PLAY_PAUSE_ICON_SIZE), in VideoPlayerControls()
456 modifier = Modifier.align(Alignment.BottomEnd), in VideoPlayerControls()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DNetlink.cpp34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage()
46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DListHeader.kt108 .wrapContentSize(align = Alignment.CenterStart) in ListSubheader()
118 modifier = Modifier.wrapContentSize(align = Alignment.CenterStart), in ListSubheader()
DScrollableScreen.kt205 CircularProgressIndicator(modifier = Modifier.align(Alignment.Center)) in Scaffold()
263 Modifier.align(Alignment.Center).padding(subTitlePaddingValues) in Scaffold()
DListFooter.kt55 .align(Alignment.CenterVertically) in ListFooter()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt151 .align(Alignment.BottomCenter) in PreviewMedia()
241 Modifier.align(Alignment.BottomCenter) in Preview()
248 Modifier.align(Alignment.BottomCenter) in Preview()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloader.kt160 Row(Modifier.align(Alignment.End)) { in MediaPreloaderLoadingDialog()
205 Row(Modifier.align(Alignment.End)) { in MediaPreloaderErrorDialog()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DMath.h33 inline constexpr const T align(const T& x, const int shift) { in align() function
/packages/modules/Virtualization/pvmfw/
Didmap.S38 .align 12
/packages/modules/Virtualization/vmbase/example/
Didmap.S38 .align 12
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/
DAndroid.bp12 "-altera-struct-pack-align",
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DGuidedActionsAlignUtil.java85 public static void align(GuidedActionsStylist guidedActionsStylist) { in align() method in GuidedActionsAlignUtil
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/
DAndroid.bp12 "-altera-struct-pack-align",
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/overflowmenu/
DOverflowMenu.kt67 modifier = Modifier.align(Alignment.CenterEnd), in OverflowMenu()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiConnectivityGuidedStepFragment.java100 GuidedActionsAlignUtil.align(getGuidedActionsStylist());

12