/frameworks/base/tests/CoreTests/android/core/ |
H A D | LowLevelNetRunner.java | 24 private int count = 0; field in class:LowLevelNetRunner 30 count++; 34 * Decrement the run count. If this returns to zero notify any 38 count--; 39 if (count <= 0) {
|
/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristic.java | 28 * @param count the length to check, must not be negative and not greater than 33 boolean isRtl(char[] array, int start, int count); argument 40 * @param count the length to check, must not be negative and not greater than 45 boolean isRtl(CharSequence cs, int start, int count); argument
|
H A D | TextWatcher.java | 26 * the <code>count</code> characters beginning at <code>start</code> 32 int count, int after); 35 * the <code>count</code> characters beginning at <code>start</code> 40 public void onTextChanged(CharSequence s, int start, int before, int count); argument 31 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
H A D | AndroidCharacter.java | 33 * Fill in the first <code>count</code> bytes of <code>dest</code> with the 34 * directionalities from the first <code>count</code> chars of <code>src</code>. 39 int count); 55 * Fill the first <code>count</code> bytes of <code>dest</code> with the 56 * East Asian Width from <code>count</code> chars of <code>src</code> 66 * @param count maximum number of characters to measure 70 int count, byte[] dest); 79 * @param count maximum number of characters to mirror 82 public native static boolean mirror(char[] text, int start, int count); argument 38 getDirectionalities(char[] src, byte[] dest, int count) argument 69 getEastAsianWidths(char[] src, int start, int count, byte[] dest) argument
|
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicCompat.java | 28 * @param count the length to check, must not be negative and not greater than 33 boolean isRtl(char[] array, int start, int count); argument 40 * @param count the length to check, must not be negative and not greater than 45 boolean isRtl(CharSequence cs, int start, int count); argument
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUListener.java | 4 public void osuNotification(int count); argument
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 32 private int count; field in class:UnsafeByteSequence 39 return count; 47 count = 0; 51 if (count + length >= bytes.length) { 52 byte[] newBytes = new byte[(count + length) * 2]; 53 System.arraycopy(bytes, 0, newBytes, 0, count); 56 System.arraycopy(buffer, offset, bytes, count, length); 57 count += length; 61 if (count == bytes.length) { 62 byte[] newBytes = new byte[count * [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | InputFile.cpp | 26 ssize_t InputFile::read(void *pBuf, size_t count) { argument 31 if ((count <= 0) || (pBuf == nullptr)) { 33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf); 37 while (count > 0) { 38 ssize_t read_size = ::read(mFD, pBuf, count);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_Copy16x16.c | 75 OMX_INT count,index, x, y; local 86 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16) 88 for (x = 0; x < 16; x++, count++, index++) 90 pDst[index] = pSrc[count];
|
H A D | omxVCCOMM_Copy8x8.c | 75 OMX_INT count,index, x, y; local 86 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8) 88 for (x = 0; x < 8; x++, count++, index++) 90 pDst[index] = pSrc[count];
|
H A D | omxVCCOMM_ComputeTextureErrorBlock_SAD.c | 80 OMX_INT x, y, count; local 93 for (y = 0, count = 0, *pDstSAD = 0; 97 for (x = 0; x < 8; x++, count++) 99 pDst[count] = pSrc[x] - pSrcRef[count]; 100 *pDstSAD += armAbs(pDst[count]);
|
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiEventScheduler.java | 39 public void onSend(byte[] msg, int offset, int count, long timestamp) argument 41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); 54 public int count = 0; field in class:MidiEventScheduler.MidiEvent 57 private MidiEvent(int count) { argument 59 data = new byte[count]; 62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { argument 64 data = new byte[count]; 65 System.arraycopy(msg, offset, data, 0, count); 66 this.count = count; 82 createScheduledEvent(byte[] msg, int offset, int count, long timestamp) argument [all...] |
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiReceiver.java | 47 * May fail if count exceeds {@link #getMaxMessageSize}. 57 * @param count the number of bytes of MIDI data in the array to be processed 61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) argument 92 * Data will get split into multiple calls to {@link #onSend} if count exceeds 100 * @param count the number of bytes of MIDI data in the array to be sent 103 public void send(byte[] msg, int offset, int count) throws IOException { argument 105 send(msg, offset, count, 0L); 111 * Data will get split into multiple calls to {@link #onSend} if count exceeds 119 * @param count the number of bytes of MIDI data in the array to be sent 123 public void send(byte[] msg, int offset, int count, lon argument [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstanced.java | 1 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 5 int count, 11 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 15 int count, 3 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument 13 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument
|
H A D | glDrawElementsInstancedBaseVertex.java | 1 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) 5 int count, 12 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) 16 int count, 3 glDrawElementsInstancedBaseVertex( int mode, int count, int type, java.nio.Buffer indices, int instanceCount, int basevertex ) argument 14 glDrawElementsInstancedBaseVertex( int mode, int count, int type, int indicesOffset, int instanceCount, int basevertex ) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
H A D | PrimitiveFormat.java | 28 public static MutableFrameFormat createByteFormat(int count, int target) { argument 29 return createFormat(FrameFormat.TYPE_BYTE, count, target); 32 public static MutableFrameFormat createInt16Format(int count, int target) { argument 33 return createFormat(FrameFormat.TYPE_INT16, count, target); 36 public static MutableFrameFormat createInt32Format(int count, int target) { argument 37 return createFormat(FrameFormat.TYPE_INT32, count, target); 40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument 41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); 44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument 45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe 68 createFormat(int baseType, int count, int target) argument [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | Input.cpp | 28 ssize_t Input::skip(size_t count) { argument 32 size_t remaining = count; 39 if (remaining == count) { 44 return count - remaining; 52 return count;
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderResult.java | 26 * to have exactly one of {@link #uri} or {@link #count} set. 30 public final Integer count; field in class:ContentProviderResult 35 this.count = null; 38 public ContentProviderResult(int count) { argument 39 this.count = count; 46 count = source.readInt(); 49 count = null; 57 count = cpr.count; [all...] |
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) argument 55 mBuffer.frameCount = count; 64 if (CC_UNLIKELY(count > available)) { 65 count = available; 67 // count could be zero, either because count was zero on entry or 69 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); 70 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { 75 mFramesRead += count; 76 // For better responsiveness with large values of count, 92 size_t count = total - accumulator; local [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | TraceTest.java | 43 int count = 0; 45 count = eMethod(); 117 int count = 0; 119 count += bMethod(); 122 count += cMethod(); 125 count += dMethod(ii); 127 return count; 135 int count = 0; 137 count += cMethod(); 139 return count; [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | QuickRejectActivity.java | 55 int count = canvas.getSaveCount(); 56 Log.d("OpenGLRenderer", "count=" + count); 57 count = canvas.save(); 58 Log.d("OpenGLRenderer", "count after save=" + count); 59 count = canvas.getSaveCount(); 60 Log.d("OpenGLRenderer", "getSaveCount after save=" + count); 62 count = canvas.getSaveCount(); 63 Log.d("OpenGLRenderer", "count afte [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | TechListParcel.java | 42 int count = mTechLists.length; 43 dest.writeInt(count); 44 for (int i = 0; i < count; i++) { 53 int count = source.readInt(); 54 String[][] techLists = new String[count][]; 55 for (int i = 0; i < count; i++) {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ListChangeRegistryTest.java | 54 public void onItemRangeChanged(ObservableList sender, int start, int count) { 59 public void onItemRangeInserted(ObservableList sender, int start, int count) { 64 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { 69 public void onItemRangeRemoved(ObservableList sender, int start, int count) { 91 public void onItemRangeChanged(ObservableList sender, int start, int count) { 93 assertEquals(expectedCount, count); 98 public void onItemRangeInserted(ObservableList sender, int start, int count) { 103 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { 108 public void onItemRangeRemoved(ObservableList sender, int start, int count) { 130 public void onItemRangeChanged(ObservableList sender, int start, int count) { [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/ |
H A D | SortedListAdapterCallback.java | 41 public void onInserted(int position, int count) { argument 42 mAdapter.notifyItemRangeInserted(position, count); 46 public void onRemoved(int position, int count) { argument 47 mAdapter.notifyItemRangeRemoved(position, count); 56 public void onChanged(int position, int count) { argument 57 mAdapter.notifyItemRangeChanged(position, count);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothOutputStream.java | 60 * Writes {@code count} bytes from the byte array {@code buffer} starting 67 * @param count 73 * if {@code offset < 0} or {@code count < 0}, or if 74 * {@code offset + count} is bigger than the length of 78 public void write(byte[] b, int offset, int count) throws IOException { argument 82 if ((offset | count) < 0 || count > b.length - offset) { 85 mSocket.write(b, offset, count);
|