Searched defs:offset (Results 176 - 200 of 644) sorted by last modified time

1234567891011>>

/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java427 * @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/test-runner/src/android/test/mock/
H A DMockCursor.java147 public boolean move(int offset) { argument
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java231 protected abstract int ioRead(byte[] buffer, int offset, int count) argument
233 protected abstract void ioWrite(byte[] buffer, int offset, int count) argument
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DUsbAccessoryBulkTransport.java55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1);
63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 buffer, offset, count, TIMEOUT_MILLIS);
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java56 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
60 return mInputStream.read(buffer, offset, count);
64 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 mOutputStream.write(buffer, offset, count);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dpixelutils.cpp24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
28 uint32* pOutRow = pOutput + offset;
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
H A Dsobeloperator.cpp50 const int offset = (i * width + j) * 3; local
52 *(gxPtr + offset + c) =
56 *(gyPtr + offset + c) =
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java110 public void set(boolean normalize, int offset, int stride, int components, int type, argument
114 mOffset = offset;
406 int stride, int offset, boolean normalize) {
408 attr.set(normalize, offset, stride, components, type, vbo);
405 setAttributeValues(String attributeName, int vbo, int type, int components, int stride, int offset, boolean normalize) argument
H A DPixelUtils.java28 * <p>The transformation is specified by specifying the initial offset in the output buffer, the
40 * @param offset The start offset in the output (in pixels)
48 int offset,
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
71 int offset,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java46 mAnimator = ObjectAnimator.ofInt(view, "offset", 0, PATTERN_SIZE - 1);
78 public void setOffset(int offset) { argument
79 mOffset = offset;
H A DColoredRectsActivity.java65 public RectsView(Context c, float offset, int color) { argument
67 mOffset = offset;
H A DLines2Activity.java69 public LinesView(Context c, float offset, int color) { argument
71 mOffset = offset;
H A DLinesActivity.java42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f);
109 public void setOffset(float offset) { argument
110 mOffset = offset;
H A DTransform3dActivity.java77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, argument
80 canvas.translate(offset, 0.0f);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp460 void* AaptFile::editDataInRange(size_t offset, size_t size) argument
462 return (void*)(((uint8_t*) editData(offset + size)) + offset);
H A DCrunchCache.cpp43 // and offset our beginning pointer to the length of the sourcePath
49 int offset = 0; local
51 offset = 1;
52 relativePath = String8(rPathPtr + offset);
H A DImages.cpp287 png_bytepp rows, int offset, int height, bool transparent, bool required,
297 if (TICK_TYPE_TICK == tick_type(rows[i]+offset, transparent, outError)) {
374 png_bytepp rows, int offset, int height, bool transparent, bool /* required */,
381 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[1] + offset, transparent, outError)) {
387 int tick = tick_type(rows[i] + offset, transparent, outError);
395 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[height - 2] + offset, transparent, outError)) {
401 int tick = tick_type(rows[i] + offset, transparent, outError);
286 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
373 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument
H A DStringPool.h43 entry() : offset(0) { }
44 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { }
45 entry(const entry& o) : value(o.value), offset(o.offset),
50 size_t offset; member in struct:StringPool::entry
74 entry_style() : offset(0) { }
76 entry_style(const entry_style& o) : offset(o.offset), spans(o.spans) { }
78 size_t offset; member in struct:StringPool::entry_style
124 * Find out an offset i
[all...]
H A DZipEntry.h75 * Return the offset of the local file header.
80 * Return the absolute file offset of the start of the compressed or
194 * Set the offset of the local file header, relative to the start of
197 void setLFHOffset(off_t offset) { argument
198 mCDE.mLocalHeaderRelOffset = (long) offset;
H A DZipFile.cpp297 ALOGD("Failure seeking to central dir offset %ld\n",
977 /* Get the length of this entry by finding the offset
1160 off_t offset = entry->getFileOffset(); local
1161 if (fseek(mZipFp, offset, SEEK_SET) != 0) {
1177 printf("0x%08x ", (int)(offset+(i*0x10)));
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp58 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/compile/
H A DPng.cpp705 static bool getVerticalTicks(png_bytepp rows, int offset, int height, bool transparent, argument
713 if (tickType(rows[i]+offset, transparent, outError) == TickType::kTick) {
783 static bool getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, argument
789 if (tickType(rows[1] + offset, transparent, outError) == TickType::kLayoutBounds) {
795 if (tickType(rows[i] + offset, transparent, outError) != TickType::kLayoutBounds) {
802 if (tickType(rows[height - 2] + offset, transparent, outError) == TickType::kLayoutBounds) {
808 if (tickType(rows[i] + offset, transparent, outError) != TickType::kLayoutBounds) {
/frameworks/base/tools/aapt2/proto/
H A DProtoHelpers.cpp28 size_t offset = 0; local
30 data->insert(data->begin() + offset, block.buffer.get(), block.buffer.get() + block.size);
31 offset += block.size;
H A DTableProtoDeserializer.cpp490 const size_t offset = sizeof(uint64_t) + pbSize + padding; local
491 if (offset > mSize) {
495 mData += offset;
496 mSize -= offset;
/frameworks/base/tools/aapt2/unflatten/
H A DResChunkPullParser.cpp41 const size_t offset = static_cast<const size_t>(diff); local
43 if (offset == mLen) {
46 } else if (offset + sizeof(ResChunk_header) > mLen) {
61 } else if (offset + util::deviceToHost32(mCurrentChunk->size) > mLen) {

Completed in 1278 milliseconds

1234567891011>>