/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | outputstream_wrapper.cpp | 22 int32_t OutputStreamWrapper::write(int32_t length, int32_t offset) { argument 23 if (offset < 0 || length < 0 || (offset + length) > getBufferSize()) { 36 mEnv->CallVoidMethod(mStream, sWriteID, mByteArray, offset, length);
|
H A D | inputstream_wrapper.cpp | 23 int32_t InputStreamWrapper::read(int32_t length, int32_t offset) { argument 24 if (offset < 0 || length < 0 || (offset + length) > getBufferSize()) { 34 mByteArray, offset, length));
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
H A D | TsDataSource.java | 34 * Returns the offset position where the last {@link DataSource#read} read. 43 * Shifts start position by the specified offset. Do not call this method when the class already 46 * @param offset 0 <= offset <= buffered position 48 public void shiftStartPosition(long offset) {} argument
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | FakeInputStream.java | 44 public int read(byte[] buffer, int offset, int length) { argument 45 Arrays.checkOffsetAndCount(buffer.length, offset, length);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
H A D | FixedLengthInputStream.java | 52 public int read(byte[] b, int offset, int length) throws IOException { argument 54 int d = in.read(b, offset, Math.min(this.length - count, length));
|
H A D | PeekableInputStream.java | 55 public int read(byte[] b, int offset, int length) throws IOException { argument 57 return in.read(b, offset, length); 61 int r = in.read(b, offset + 1, length - 1);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utility/ |
H A D | CountingOutputStream.java | 38 public void write(byte[] buffer, int offset, int count) throws IOException { argument 39 outputStream.write(buffer, offset, count);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | CountingOutputStream.java | 39 public void write(byte[] buffer, int offset, int count) throws IOException { argument 40 mOutputStream.write(buffer, offset, count);
|
H A D | LoggingInputStream.java | 67 public int read(byte[] b, int offset, int length) throws IOException { argument 68 int bytesRead = super.read(b, offset, length); 71 logRaw(b[offset] & 0xFF); 73 offset++;
|
/packages/apps/Email/provider_src/com/android/email/ |
H A D | FixedLengthInputStream.java | 53 public int read(byte[] b, int offset, int length) throws IOException { argument 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length));
|
H A D | PeekableInputStream.java | 55 public int read(byte[] b, int offset, int length) throws IOException { argument 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); argument 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
|
H A D | GLES11IdImpl.java | 38 public void glGenBuffers(int n, int[] buffers, int offset) { argument 41 buffers[offset + n] = sNextId++; 47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument 49 gl.glDeleteTextures(n, textures, offset); 54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument 56 gl.glDeleteBuffers(n, buffers, offset); 61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument 63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
|
H A D | GLES20IdImpl.java | 19 public void glGenBuffers(int n, int[] buffers, int offset) { argument 20 GLES20.glGenBuffers(n, buffers, offset); 25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument 26 GLES20.glDeleteTextures(n, textures, offset); 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument 33 GLES20.glDeleteBuffers(n, buffers, offset); 38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument 39 GLES20.glDeleteFramebuffers(n, buffers, offset);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Exif.java | 29 int offset = 0; 33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { 34 int marker = jpeg[offset] & 0xFF; 40 offset++; 52 length = pack(jpeg, offset, 2, false); 53 if (length < 2 || offset + length > jpeg.length) { 60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && 61 pack(jpeg, offset + 6, 2, false) == 0) { 62 offset 121 pack(byte[] bytes, int offset, int length, boolean littleEndian) argument [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | ParsedNdefRecord.java | 38 int offset); 37 getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) argument
|
H A D | UnknownRecord.java | 30 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { argument
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | HexDump.java | 47 * @param offset its offset, whatever that might mean 59 public static void dump(byte[] data, long offset, argument 72 long display_offset = offset + index;
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); argument 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | AssetFileAddress.java | 25 * also the offset in the file and the length of this data. This class encapsulates these three. 32 public AssetFileAddress(final String filename, final long offset, final long length) { argument 34 mOffset = offset; 55 * @param offset the offset. 60 final long offset, final long length) { 64 return new AssetFileAddress(filename, offset, length); 59 makeFromFileNameAndOffset(final String filename, final long offset, final long length) argument
|
/packages/apps/Dialer/java/com/android/dialer/about/ |
H A D | Licenses.java | 65 long offset = license.getLicenseOffset(); 67 return getTextFromResource(context, LICENSE_FILENAME, offset, length); 71 Context context, String filename, long offset, int length) { 79 return getTextFromInputStream(stream, offset, length); 82 private static String getTextFromInputStream(InputStream stream, long offset, int length) { argument 87 stream.skip(offset); 70 getTextFromResource( Context context, String filename, long offset, int length) argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
H A D | Proxy.java | 52 public int onRead(long offset, int size, byte[] data) throws ErrnoException { argument 54 if (offset < mOffset) { 62 while (mOffset < offset) { 64 mOffset += mInputStream.skip(offset - mOffset);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
H A D | DebugFlags.java | 53 public static void setForcedPaging(int offset, int limit) { argument 54 sForcedPageOffset = offset;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | InterruptableOutputStream.java | 43 public void write(byte[] buffer, int offset, int count) throws IOException { argument 44 int end = offset + count; 45 while (offset < end) { 47 int bytesCount = Math.min(MAX_WRITE_BYTES, end - offset); 48 mOutputStream.write(buffer, offset, bytesCount); 49 offset += bytesCount;
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | WorkFooterContainer.java | 47 public void offsetTopAndBottom(int offset) { argument 48 super.offsetTopAndBottom(offset);
|