Searched refs:count (Results 1 - 25 of 1384) sorted by relevance

1234567891011>>

/frameworks/base/tests/CoreTests/android/core/
H A DLowLevelNetRunner.java24 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/support/v7/recyclerview/src/android/support/v7/util/
H A DListUpdateCallback.java25 * Called when {@code count} number of items are inserted at the given position.
28 * @param count The number of items that have been added.
30 void onInserted(int position, int count); argument
33 * Called when {@code count} number of items are removed from the given position.
36 * @param count The number of items which have been removed.
38 void onRemoved(int position, int count); argument
49 * Called when {@code count} number of items are updated at the given position.
52 * @param count The number of items which has changed.
54 void onChanged(int position, int count, Object payload); argument
/frameworks/base/libs/androidfw/tests/
H A DAsset_test.cpp24 const int32_t count = Asset::getGlobalCount(); local
26 EXPECT_EQ(count + 1, Asset::getGlobalCount());
28 EXPECT_EQ(count, Asset::getGlobalCount());
32 const int32_t count = Asset::getGlobalCount(); local
34 EXPECT_EQ(count + 1, Asset::getGlobalCount());
36 EXPECT_EQ(count, Asset::getGlobalCount());
/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristic.java28 * @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 DTextWatcher.java26 * 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 DAndroidCharacter.java35 * Fill in the first <code>count</code> bytes of <code>dest</code> with the
36 * directionalities from the first <code>count</code> chars of <code>src</code>.
41 int count);
57 * Fill the first <code>count</code> bytes of <code>dest</code> with the
58 * East Asian Width from <code>count</code> chars of <code>src</code>
68 * @param count maximum number of characters to measure
72 int count, byte[] dest);
81 * @param count maximum number of characters to mirror
84 public native static boolean mirror(char[] text, int start, int count); argument
40 getDirectionalities(char[] src, byte[] dest, int count) argument
71 getEastAsianWidths(char[] src, int start, int count, byte[] dest) argument
/frameworks/support/compat/java/android/support/v4/text/
H A DTextDirectionHeuristicCompat.java28 * @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 DOSUListener.java4 public void osuNotification(int count); argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java32 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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_Copy16x16.c75 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 DomxVCCOMM_Copy8x8.c75 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 DomxVCCOMM_ComputeTextureErrorBlock_SAD.c80 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 DMidiEventScheduler.java39 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 DMidiReceiver.java47 * 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 DglDrawElementsInstanced.java1 // 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 DglDrawElementsInstancedBaseVertex.java1 // 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 DPrimitiveFormat.java28 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 DInput.cpp28 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 DContentProviderResult.java26 * 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 DAudioBufferProviderSource.cpp49 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 DTraceTest.java43 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 DQuickRejectActivity.java55 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 DTechListParcel.java42 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 DListChangeRegistryTest.java54 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 DSortedListAdapterCallback.java41 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);

Completed in 9657 milliseconds

1234567891011>>