Searched defs:offset (Results 101 - 125 of 644) sorted by last modified time

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglMapBufferRange.cpp1 /* GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) */
4 (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) {
6 (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access);
3 android_glMapBufferRange__IIII(JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) argument
H A DglMapBufferRange.java1 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access )
5 int offset,
3 glMapBufferRange( int target, int offset, int length, int access ) argument
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp120 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
143 *offset = _env->CallStaticIntMethod(nioAccessClass,
184 jint offset; local
185 buf = getPointer(_env, buffer, &array, &remaining, &offset);
189 buf = (char*)buf + offset;
/frameworks/native/services/inputflinger/
H A DInputReader.h1969 float offset; // offset to add after scaling for normalization member in struct:android::JoystickInputMapper::Axis
1971 float highOffset; // offset to add after scaling for normalization of high split
1986 bool explicitlyMapped, float scale, float offset,
1993 this->offset = offset;
1985 initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, bool explicitlyMapped, float scale, float offset, float highScale, float highOffset, float min, float max, float flat, float fuzz, float resolution) argument
/frameworks/native/services/surfaceflinger/
H A DFrameTracker.cpp125 const size_t offset = mOffset; local
127 const size_t index = (offset + i) % NUM_FRAME_RECORDS;
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan.h1475 VkDeviceSize offset; member in struct:VkMappedMemoryRange
1533 VkOffset3D offset; member in struct:VkSparseImageMemoryBind
1605 VkDeviceSize offset; member in struct:VkBufferViewCreateInfo
1628 VkDeviceSize offset; member in struct:VkSubresourceLayout
1679 uint32_t offset; member in struct:VkSpecializationMapEntry
1710 uint32_t offset; member in struct:VkVertexInputAttributeDescription
1758 VkOffset2D offset; member in struct:VkRect2D
1889 uint32_t offset; member in struct:VkPushConstantRange
1970 VkDeviceSize offset; member in struct:VkDescriptorBufferInfo
2184 VkDeviceSize offset; member in struct:VkBufferMemoryBarrier
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dapi.cpp201 size_t offset = arr.pool_size; local
202 char* dst = arr.name_pool + offset;
209 return offset;
H A Dapi_gen.cpp303 VKAPI_ATTR VkResult MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData);
384 VKAPI_ATTR void CmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType);
388 VKAPI_ATTR void CmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
389 VKAPI_ATTR void CmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
391 VKAPI_ATTR void CmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset);
412 VKAPI_ATTR void CmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues);
702 VKAPI_ATTR VkResult MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) { argument
703 return GetData(device).dispatch.MapMemory(device, memory, offset, size, flags, ppData);
1026 VKAPI_ATTR void CmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) { argument
1027 GetData(commandBuffer).dispatch.CmdBindIndexBuffer(commandBuffer, buffer, offset, indexTyp
1042 CmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) argument
1046 CmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) argument
1054 CmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) argument
1138 CmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues) argument
1328 vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) argument
1733 vkCmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) argument
1753 vkCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) argument
1758 vkCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) argument
1768 vkCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) argument
1873 vkCmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues) argument
[all...]
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp764 VkDeviceSize offset,
769 *out_ptr = &mem->data[0] + offset;
1298 void CmdBindIndexBuffer(VkCommandBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) { argument
1310 void CmdDrawIndirect(VkCommandBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t count, uint32_t stride) { argument
1313 void CmdDrawIndexedIndirect(VkCommandBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t count, uint32_t stride) { argument
1319 void CmdDispatchIndirect(VkCommandBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset) { argument
762 MapMemory(VkDevice, VkDeviceMemory mem_handle, VkDeviceSize offset, VkDeviceSize, VkMemoryMapFlags, void** out_ptr) argument
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java51 int tag = pack(jpeg, offset, 4, false);
52 count = pack(jpeg, offset - 2, 2, littleEndian);
62 has(jpeg, byteSize, offset + length - 1)
73 int offset = 0;
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
87 final int marker = jpeg.get(offset) & 0xFF;
93 offset++;
102 jpeg.advanceTo(offset - readBackwards);
107 length = pack(jpeg, offset,
187 pack(final InputStreamBuffer bytes, int offset, int length, final boolean littleEndian) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java66 public BmsgTokenizer(String str, int offset) { argument
68 mOffset = offset;
/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. ...
/frameworks/ex/framesequence/jni/
H A DFrameSequenceJNI.cpp49 jbyteArray byteArray, jint offset, jint length) {
56 MemoryStream stream(bytes + offset, length, NULL);
63 jobject buf, jint offset, jint limit) {
69 env->GetDirectBufferAddress(globalBuf))) + offset,
48 nativeDecodeByteArray(JNIEnv* env, jobject clazz, jbyteArray byteArray, jint offset, jint length) argument
62 nativeDecodeByteBuffer(JNIEnv* env, jobject clazz, jobject buf, jint offset, jint limit) argument
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java42 private static native FrameSequence nativeDecodeByteArray(byte[] data, int offset, int length); argument
44 private static native FrameSequence nativeDecodeByteBuffer(ByteBuffer buffer, int offset, int capacity); argument
66 public static FrameSequence decodeByteArray(byte[] data, int offset, int length) { argument
68 if (offset < 0 || length < 0 || (offset + length > data.length)) {
69 throw new IllegalArgumentException("invalid offset/length parameters");
71 return nativeDecodeByteArray(data, offset, length);
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java672 final int offset = top + Math.min(mRestoreOffset, 0);
673 Arrays.fill(mItemTops, offset);
674 Arrays.fill(mItemBottoms, offset);
725 final void offsetChildren(int offset) { argument
729 child.layout(child.getLeft(), child.getTop() + offset,
730 child.getRight(), child.getBottom() + offset);
735 mItemTops[i] += offset;
736 mItemBottoms[i] += offset;
/frameworks/minikin/include/minikin/
H A DLineBreaker.h190 size_t offset; // offset to text buffer, in code units member in struct:android::LineBreaker::Candidate
202 void addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty,
208 void pushBreak(int offset, float width, uint8_t hyph);
H A DMinikinFont.h83 void offset(float dx, float dy) { function in struct:android::MinikinRect
/frameworks/minikin/libs/minikin/
H A DAnalyzeStyle.cpp25 static int32_t readU16(const uint8_t* data, size_t offset) { argument
26 return data[offset] << 8 | data[offset + 1];
H A DCmapCoverage.cpp31 static uint32_t readU16(const uint8_t* data, size_t offset) { argument
32 return ((uint32_t)data[offset]) << 8 | ((uint32_t)data[offset + 1]);
35 static uint32_t readU32(const uint8_t* data, size_t offset) { argument
36 return ((uint32_t)data[offset]) << 24 | ((uint32_t)data[offset + 1]) << 16 |
37 ((uint32_t)data[offset + 2]) << 8 | ((uint32_t)data[offset + 3]);
168 uint32_t offset = readU32(cmap_data, kHeaderSize + i * kTableSize + kOffsetOffset); local
169 if (offset <
181 uint32_t offset = readU32(cmap_data, kHeaderSize + bestTable * kTableSize + kOffsetOffset); local
[all...]
H A DFontCollection.cpp111 size_t offset = 0; local
121 ALOGD("i=%zd: range start = %zd\n", i, offset);
123 range->start = offset;
128 offset++;
136 range->end = offset;
H A DGraphemeBreak.cpp70 size_t offset) {
77 if (offset <= start || offset >= start + count) {
80 if (U16_IS_TRAIL(buf[offset])) {
82 return !U16_IS_LEAD(buf[offset - 1]);
86 size_t offset_back = offset;
88 U16_NEXT(buf, offset, start + count, c2);
131 // Note that the offset has moved forwared 2 code units by U16_NEXT.
133 return (offset - 2 - offset_back) % 4 == 0;
181 size_t offset, MoveOp
69 isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, size_t offset) argument
180 getTextRunCursor(const uint16_t* buf, size_t start, size_t count, size_t offset, MoveOpt opt) argument
[all...]
H A DHyphenator.cpp210 // pat_ix contains a 3-tuple of length, shift (number of trailing zeros), and an offset
218 int offset = j + 1 - (pat_len + pat_shift); local
219 // offset is the index within result that lines up with the start of pat_buf
220 int start = std::max(MIN_PREFIX - offset, 0);
221 int end = std::min(pat_len, (int)maxOffset - offset);
223 result[offset + k] = std::max(result[offset + k], pat_buf[k]);
H A DLayoutUtils.cpp41 * Return offset of previous word break. It is either < offset or == 0.
44 const uint16_t* chars, size_t offset, size_t len) {
45 if (offset == 0) return 0;
46 if (offset > len) offset = len;
47 if (isWordBreakBefore(chars[offset - 1])) {
48 return offset - 1;
50 for (size_t i = offset - 1; i > 0; i--) {
59 * Return offset o
43 getPrevWordBreakForCache( const uint16_t* chars, size_t offset, size_t len) argument
61 getNextWordBreakForCache( const uint16_t* chars, size_t offset, size_t len) argument
[all...]
H A DLineBreaker.cpp225 void LineBreaker::addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak, argument
233 size_t i = mCandidates.back().offset;
235 for (; i < offset; i++) {
238 cand.offset = i;
253 cand.offset = offset;
273 pushBreak(mCandidates[mBestBreak].offset, mCandidates[mBestBreak].postBreak - mPreBreak,
288 void LineBreaker::pushBreak(int offset, float width, uint8_t hyph) { argument
289 mBreaks.push_back(offset);
311 pushBreak(mCandidates[nCand - 1].offset, mCandidate
[all...]
H A DMeasurement.cpp32 size_t start, size_t count, size_t offset) {
36 for (size_t i = start; i < offset; i++) {
44 if (offset < start + count && advances[offset - layoutStart] == 0.0f) {
49 for (nextCluster = offset + 1; nextCluster < start + count; nextCluster++) {
55 bool isAfter = i >= offset;
71 size_t offset) {
72 return getRunAdvance(advances, buf, start, start, count, offset);
76 * Essentially the inverse of getRunAdvance. Compute the value of offset for which the
31 getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, size_t start, size_t count, size_t offset) argument
70 getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, size_t offset) argument

Completed in 338 milliseconds

1234567891011>>