/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/test-runner/src/android/test/mock/ |
H A D | MockCursor.java | 147 public boolean move(int offset) { argument
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 231 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 D | UsbAccessoryBulkTransport.java | 55 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 D | UsbAccessoryStreamTransport.java | 56 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 D | pixelutils.cpp | 24 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 D | sobeloperator.cpp | 50 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 D | ImageShader.java | 110 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 D | PixelUtils.java | 28 * <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 D | BitmapMutateActivity.java | 46 mAnimator = ObjectAnimator.ofInt(view, "offset", 0, PATTERN_SIZE - 1); 78 public void setOffset(int offset) { argument 79 mOffset = offset;
|
H A D | ColoredRectsActivity.java | 65 public RectsView(Context c, float offset, int color) { argument 67 mOffset = offset;
|
H A D | Lines2Activity.java | 69 public LinesView(Context c, float offset, int color) { argument 71 mOffset = offset;
|
H A D | LinesActivity.java | 42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f); 109 public void setOffset(float offset) { argument 110 mOffset = offset;
|
H A D | Transform3dActivity.java | 77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, argument 80 canvas.translate(offset, 0.0f);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 460 void* AaptFile::editDataInRange(size_t offset, size_t size) argument 462 return (void*)(((uint8_t*) editData(offset + size)) + offset);
|
H A D | CrunchCache.cpp | 43 // 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 D | Images.cpp | 287 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 D | StringPool.h | 43 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 D | ZipEntry.h | 75 * 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 D | ZipFile.cpp | 297 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 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/compile/ |
H A D | Png.cpp | 705 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 D | ProtoHelpers.cpp | 28 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 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/base/tools/aapt2/unflatten/ |
H A D | ResChunkPullParser.cpp | 41 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) {
|