/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EqualizerTest.java | 341 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 344 return converter.getInt(offset); 347 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 350 return converter.getShort(offset);
|
H A D | PresetReverbTest.java | 235 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 238 return converter.getInt(offset); 241 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 244 return converter.getShort(offset);
|
H A D | VirtualizerTest.java | 206 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 209 return converter.getInt(offset); 212 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 215 return converter.getShort(offset);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 65 // current position at the beginning of the parcel (offset 0). 70 // Write the number of bytes from the offset to the current 71 // position at position pointed by offset. 72 private void adjustSize(int offset) { argument 75 mParcel.setDataPosition(offset); 76 mParcel.writeInt(pos - offset);
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument 178 return asset->mAsset->seek(offset, whence); 181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument 183 return asset->mAsset->seek(offset, whence);
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 40 void glTexParameterfv(int target, int pname, float[] param, int offset); argument 56 int offset 73 int offset 90 int offset 107 int offset 136 int offset 150 int offset
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpManager.java | 159 long getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) argument 163 return device.getPartialObject(objectHandle, offset, size, buffer); 167 long getPartialObject64(int deviceId, int objectHandle, long offset, long size, byte[] buffer) argument 171 return device.getPartialObject64(objectHandle, offset, size, buffer);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestMtpManager.java | 212 long getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) argument 216 while (i < size && i + offset < bytes.length) { 217 buffer[i] = bytes[(int) (i + offset)];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistOrbView.java | 177 float offset = t * mMaxElevation; 178 setElevation(offset); 182 * Animates the offset to the edge of the screen. 184 * @param offset The offset to apply. 191 private void animateOffset(float offset, long duration, long startDelay, argument 197 mOffsetAnimator = ValueAnimator.ofFloat(mOffset, offset); 244 private void updateCircleRect(Rect rect, float offset, boolean useStaticSize) { argument 248 top = (int) (getHeight() - circleSize / 2 - mBaseMargin - offset);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifOutputStream.java | 106 , int offset, int length) { 109 mBuffer.put(buffer, offset, byteToRead); 118 public void write(byte[] buffer, int offset, int length) throws IOException { argument 125 offset += byteToProcess; 129 out.write(buffer, offset, byteToProcess); 132 offset += byteToProcess; 139 int byteRead = requestByteToBuffer(2, buffer, offset, length); 140 offset += byteRead; 157 byteRead = requestByteToBuffer(4, buffer, offset, length); 158 offset 105 requestByteToBuffer(int requestByteCount, byte[] buffer , int offset, int length) argument 309 calculateOffsetOfIfd(IfdData ifd, int offset) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecMessageValidator.java | 259 private boolean isValidPhysicalAddress(byte[] params, int offset) { argument 266 int path = HdmiUtils.twoBytesToInt(params, offset);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbMidiDevice.java | 120 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument 123 receiver.send(msg, offset, count, timestamp);
|
/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/tools/aapt/ |
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;
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | StaticLayout_Delegate.java | 56 /*package*/ static long nLoadHyphenator(ByteBuffer buf, int offset) { argument 57 return Hyphenator_Delegate.loadHyphenator(buf, offset);
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
H A D | TlvBufferUtils.java | 134 * @param offset Start copying from the array at the specified offset. 140 public TlvConstructor putByteArray(int type, byte[] array, int offset, int length) { argument 143 System.arraycopy(array, offset, mArray, mPosition, length); 304 * The offset to be used into {@link TlvElement#mRefArray} to access the 309 private TlvElement(int type, int length, byte[] refArray, int offset) { argument 313 mOffset = offset;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFSegment.h | 60 uint64_t offset() const { return m_Offset; } function in class:mcld::ELFSegment 108 uint64_t m_Offset; // File offset where segment is located, in bytes
|
H A D | LDSection.h | 85 /// offset - An integer specifying the offset of this section in the file. 86 /// Before layouting, output's LDSection::offset() should return zero. 87 uint64_t offset() const { return m_Offset; } function in class:mcld::LDSection 91 /// Before layouting, output's LDSection::offset() should return zero.
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrameReader.cpp | 127 // get file offset and address 128 uint64_t file_off = pInput.fileOffset() + section.offset(); 231 unsigned offset; local 232 size_t augdata_size = llvm::decodeULEB128((const uint8_t*)handler, &offset); 233 handler += offset; 339 const int32_t offset = local 342 (size_t)((int64_t)(pToken.file_off + 4) - (int32_t)offset);
|
H A D | GNUArchiveReader.cpp | 117 // bypass if another symbol with the same object file offset is included 130 // include the object member from the given offset 146 /// @param pFileOffset - file offset of the member header in the archive 166 // parse the member name and nested offset if any 178 // parse the name offset 182 // there is a nested offset 244 // set up the pointers for file offset and name offset 297 size_t offset = Archive::MAGIC_LEN + sizeof(Archive::MemberHeader) + local 300 if ((offset [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonPLT.cpp | 79 uint32_t offset = 0; local 82 frag->setOffset(offset); 83 offset += frag->size();
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequence.java | 42 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/minikin/include/minikin/ |
H A D | MinikinFont.h | 83 void offset(float dx, float dy) { function in struct:android::MinikinRect
|
/frameworks/minikin/libs/minikin/ |
H A D | CmapCoverage.cpp | 31 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...] |