/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Frame.java | 105 public abstract void setData(ByteBuffer buffer, int offset, int length); argument 111 public void setData(byte[] bytes, int offset, int length) { argument 112 setData(ByteBuffer.wrap(bytes, offset, length));
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.cpp | 302 jint offset, 320 offset, 294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 1498 protected int byteArrayToInt(byte[] valueBuf, int offset) { argument 1501 return converter.getInt(offset); 1516 protected short byteArrayToShort(byte[] valueBuf, int offset) { argument 1519 return converter.getShort(offset);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 495 private String toString(int n, int[] arr, int offset) { argument 500 int index = offset + i; 513 private String toString(int n, Object[] arr, int offset) { argument 518 int index = offset + i;
|
H A D | Matrix.java | 26 * m[offset + 0] m[offset + 4] m[offset + 8] m[offset + 12] 27 * m[offset + 1] m[offset + 5] m[offset + 9] m[offset + 13] 28 * m[offset + 2] m[offset 323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument 380 perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 62 public abstract void multiplyMatrix(float[] mMatrix, int offset); argument 170 * @param xOffset Specifies a texel offset in the x direction within the 172 * @param yOffset Specifies a texel offset in the y direction within the
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | GsmAlphabet.java | 427 * @param bitOffset the bit offset that the septet should be packed at 450 * @param offset the byte offset of 454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument 456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0); 466 * @param offset the byte offset of 475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument 509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); 516 gsmVal |= 0x7f & (pdu[offset 559 gsm8BitUnpackedToString(byte[] data, int offset, int length) argument 574 gsm8BitUnpackedToString(byte[] data, int offset, int length, String characterset) argument 677 stringToGsm8BitUnpackedField(String s, byte dest[], int offset, int length) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 58 size_t offset = 0; local 62 offset = 1; 68 if (!extractResourceName(str.substr(offset, str.size() - offset), &package, &type, &entry)) { 103 size_t offset = 1; local 106 offset += 1; 110 if (!parseResourceName(trimmedStr.substr(offset, trimmedStr.size() - offset),
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 490 const size_t offset = sizeof(uint64_t) + pbSize + padding; local 491 if (offset > mSize) { 495 mData += offset; 496 mSize -= offset;
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrame.cpp | 130 uint32_t offset = 0; local 132 offset = m_pSectionData->back().getOffset() + m_pSectionData->back().size(); 136 pFrag.setOffset(offset); 222 "PR name should be a symbol address or offset"); 241 "PR name should be a symbol address or offset"); 355 size_t offset = 0u; local 361 frag.setOffset(offset); 362 offset += frag.size(); 364 getSection().setSize(offset); 365 return offset; [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64LDBackend.cpp | 326 for (unsigned offset = 0; offset < frag->size(); 327 offset += AArch64InsnHelpers::InsnSize) { 338 uint64_t offset = frag_ref->offset() + local 342 *(FragmentRef::Create(*frag, offset)), 352 frag_ref->assign(*frag, offset + AArch64InsnHelpers::InsnSize); 429 // Find the first fragment w/ invalid offset due to stub insertion. 450 if (((*island).offset() + (*island).size()) > exit->getOffset()) { 460 // Reset the offset o [all...] |
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 190 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);
|
/frameworks/minikin/libs/minikin/ |
H A D | Hyphenator.cpp | 210 // 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]);
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 128 virtual sp<IMemoryHeap> getMemory(ssize_t* offset=0, size_t* size=0) const; 138 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const 144 return static_cast<char*>(base) + offset; 148 ssize_t offset; local 149 sp<IMemoryHeap> heap = getMemory(&offset); 153 return static_cast<char*>(base) + offset; 162 ssize_t IMemory::offset() const { function in class:android::IMemory 163 ssize_t offset; local 164 getMemory(&offset); 165 return offset; 179 getMemory(ssize_t* offset, size_t* size) const argument 229 ssize_t offset; local 309 uint32_t offset = reply.readInt32(); local [all...] |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 133 status_t deallocate(size_t offset); 168 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 169 : MemoryBase(heap, offset, size), mDealer(dealer) 172 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); 184 * and could alias some real allocation (their offset is zero). */ 244 const ssize_t offset = allocator()->allocate(size); local 245 if (offset >= 0) { 246 memory = new Allocation(this, heap(), offset, size); 251 void MemoryDealer::deallocate(size_t offset) argument 166 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument 304 ssize_t offset = alloc(size, flags); local 308 deallocate(size_t offset) argument [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 77 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument 97 *offset = _env->CallStaticIntMethod(nioAccessClass, 320 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { 335 if (offset < 0) { 338 _exceptionMessage = "offset < 0"; 341 _remaining = _env->GetArrayLength(params_ref) - offset; 349 _exceptionMessage = "length - offset < needed"; 354 params = params_base + offset; 319 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 120 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/rs/cpp/ |
H A D | ScriptIntrinsics.cpp | 540 void ScriptIntrinsicLUT::setTable(unsigned int offset, unsigned char base, unsigned int length, unsigned char* lutValues) { argument 547 mCache[offset + base + i] = lutValues[i];
|
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 540 uint32_t offset = e->mHal.state.fieldOffsetBytes[field]; local 541 const float *fd = reinterpret_cast<const float *>(&data[offset]); 553 ALOGV("Uniform slot=%i, offset=%i, constant=%i, field=%i, uidx=%i, name=%s", 554 slot, offset, ct, field, uidx, fieldName);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | WindowAlignment.java | 91 final public void setWindowAlignmentOffset(int offset) { argument 92 mWindowAlignmentOffset = offset;
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActionBarDrawerToggle.java | 186 /** Fraction of its total width by which to offset the toggle drawable. */ 422 * @param slideOffset The new offset of this drawer within its range, from 0-1 513 * Sets the current position along the offset. 527 * Specifies the maximum offset when the position is at 1. 529 * @param offset maximum offset as a fraction of the drawable width, 533 public void setOffset(float offset) { argument 534 mOffset = offset;
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | MapCollections.java | 41 ArrayIterator(int offset) { argument 42 mOffset = offset; 485 public Object[] toArrayHelper(int offset) { argument 489 result[i] = colGetEntry(i, offset); 494 public <T> T[] toArrayHelper(T[] array, int offset) { argument 502 array[i] = (T)colGetEntry(i, offset); 550 protected abstract Object colGetEntry(int index, int offset); argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | AsyncListUtilLayoutTest.java | 152 void scrollToPositionWithOffset(final int position, final int offset) throws Throwable { argument 156 mLayoutManager.scrollToPositionWithOffset(position, offset);
|
H A D | BaseLinearLayoutManagerTest.java | 118 assertEquals("pending scroll position offset should still be pending", 126 assertEquals("scroll offset should be applied properly", 164 void scrollToPositionWithOffset(final int position, final int offset) throws Throwable { argument 168 mLayoutManager.scrollToPositionWithOffset(position, offset);
|
/frameworks/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 101 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument 102 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd, 103 offset, length, closeAfterUse ? "true" : "false"); 115 if (offset >= sb.st_size) { 116 SL_LOGE("SfPlayer::setDataSource: invalid offset"); 119 mDataLocator.fdi.offset = offset; 123 } else if (offset + length > sb.st_size) { 124 mDataLocator.fdi.length = sb.st_size - offset;
|