Searched defs:alignment (Results 26 - 39 of 39) sorted by relevance

12

/frameworks/native/vulkan/libvulkan/
H A Ddriver.cpp542 size_t alignment,
545 // Vulkan requires 'alignment' to be a power of two, but posix_memalign
547 int ret = posix_memalign(&ptr, std::max(alignment, sizeof(void*)), size);
548 ALOGD_CALLSTACK("Allocate: size=%zu align=%zu => (%d) %p", size, alignment,
556 size_t alignment,
574 if (posix_memalign(&new_ptr, std::max(alignment, sizeof(void*)), size) != 0)
540 DefaultAllocate(void*, size_t size, size_t alignment, VkSystemAllocationScope) argument
553 DefaultReallocate(void*, void* ptr, size_t size, size_t alignment, VkSystemAllocationScope) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp827 size_t alignment = MemoryDealer::getAllocationAlignment(); local
828 neededSize = (neededSize + (alignment - 1)) & ~(alignment - 1);
/frameworks/base/core/java/android/text/
H A DLayout.java183 * override the alignment.
203 * override the alignment.
422 // Compute the alignment, last alignment style wins.
553 // LineBackgroundSpans know nothing about the alignment, margins, or
661 // alignment of the paragraph.
770 * Return the base alignment of this layout.
889 public int getIndentAdjust(int line, Alignment alignment) { argument
1751 * Get the alignment of the specified paragraph, taking into account
H A DStaticLayout.java178 * Set the alignment. The default is {@link Layout.Alignment#ALIGN_NORMAL}.
180 * @param alignment Alignment for the resulting {@link StaticLayout}
183 public Builder setAlignment(Alignment alignment) { argument
184 mAlignment = alignment;
327 * the last line will be displayed with the alignment set by {@link #setAlignment}.
1271 throw new AssertionError("unhandled alignment " + align);
/frameworks/base/media/java/android/media/
H A DWebVttRenderer.java537 .append(", alignment:")
897 // TODO: add support for optional alignment value [,start|middle|end]
1493 * Resolves cue alignment according to the specified layout direction.
1495 private static int resolveCueAlignment(int layoutDirection, int alignment) { argument
1496 switch (alignment) {
1504 return alignment;
1726 final Alignment alignment;
1729 alignment = Alignment.ALIGN_LEFT;
1732 alignment = Alignment.ALIGN_RIGHT;
1736 alignment
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp1217 // if the align constraint is larger than 1, append an alignment
1218 unsigned int alignment = pFrom.getSection().align(); local
1219 align = new AlignFragment(/*alignment*/ alignment,
1222 /*max bytes to emit*/ alignment - 1);
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp1427 // not have additional alignment beyond sample
1429 size_t alignment = audio_bytes_per_sample(mFormat); local
1430 if (alignment & 1) {
1432 alignment = 1;
1435 // More than 2 channels does not require stronger alignment than stereo
1436 alignment <<= 1;
1438 if (((uintptr_t)mSharedBuffer->pointer() & (alignment - 1)) != 0) {
1439 ALOGE("Invalid buffer alignment: address %p, channel count %u",
/frameworks/base/core/java/android/widget/
H A DGridLayout.java116 * columns and rows are taken as flexible if their views specify some form of alignment
119 * The flexibility of a view is therefore influenced by its alignment which is,
122 * If either a weight or alignment were defined along a given axis then the component
123 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set,
207 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment
216 * children that belong to a row group that uses {@link #TOP} alignment will
232 * belong to a row group that uses {@link #TOP} alignment.
483 * Returns the alignment mode.
485 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS}
500 * Sets the alignment mod
2542 final Alignment alignment; field in class:GridLayout.Spec
2545 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument
2552 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument
2570 copyWriteAlignment(Alignment alignment) argument
2633 spec(int start, int size, Alignment alignment, float weight) argument
2644 spec(int start, Alignment alignment, float weight) argument
2678 spec(int start, int size, Alignment alignment) argument
2696 spec(int start, Alignment alignment) argument
[all...]
H A DTextView.java3881 * alignment set by {@link android.view.View#setTextAlignment}.
4336 * Sets the horizontal alignment of the text and the
4375 * Returns the horizontal and vertical alignment of this TextView.
7759 Layout.Alignment alignment;
7764 alignment = Layout.Alignment.ALIGN_NORMAL;
7767 alignment = Layout.Alignment.ALIGN_OPPOSITE;
7770 alignment = Layout.Alignment.ALIGN_LEFT;
7773 alignment = Layout.Alignment.ALIGN_RIGHT;
7776 alignment = Layout.Alignment.ALIGN_CENTER;
7779 alignment
7949 makeSingleLayout(int wantWidth, BoringLayout.Metrics boring, int ellipsisWidth, Layout.Alignment alignment, boolean shouldEllipsize, TruncateAt effectiveEllipsize, boolean useSaved) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java112 * flexible if their views specify some form of alignment within their groups.
114 * The flexibility of a view is therefore influenced by its alignment which is,
117 * If either a weight or alignment were defined along a given axis then the component
118 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set,
192 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment
201 * children that belong to a row group that uses {@link #TOP} alignment will
217 * belong to a row group that uses {@link #TOP} alignment.
472 * Returns the alignment mode.
474 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS}
488 * Sets the alignment mod
2432 final Alignment alignment; field in class:GridLayout.Spec
2435 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument
2442 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument
2460 copyWriteAlignment(Alignment alignment) argument
2523 spec(int start, int size, Alignment alignment, float weight) argument
2534 spec(int start, Alignment alignment, float weight) argument
2568 spec(int start, int size, Alignment alignment) argument
2586 spec(int start, Alignment alignment) argument
[all...]
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp193 size_t alignment,
196 // Vulkan requires 'alignment' to be a power of two, but posix_memalign
198 int ret = posix_memalign(&ptr, std::max(alignment, sizeof(void*)), size);
205 size_t alignment,
223 if (posix_memalign(&new_ptr, std::max(alignment, sizeof(void*)), size) != 0)
845 requirements->alignment = 16; // allow fast Neon/SSE memcpy
905 requirements->alignment = 16; // allow fast Neon/SSE memcpy
191 DefaultAllocate(void*, size_t size, size_t alignment, VkSystemAllocationScope) argument
202 DefaultReallocate(void*, void* ptr, size_t size, size_t alignment, VkSystemAllocationScope) argument
/frameworks/av/media/libstagefright/
H A DACodec.cpp877 size_t alignment = MemoryDealer::getAllocationAlignment(); local
891 size_t alignedSize = align(bufSize, alignment);
892 size_t alignedConvSize = align(conversionBufferSize, alignment);
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan.h1372 size_t alignment,
1379 size_t alignment,
1724 VkDeviceSize alignment; member in struct:VkMemoryRequirements
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 8629 milliseconds

12