Searched refs:count (Results 1 - 25 of 1030) 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/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.java33 * 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 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/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/compile/libbcc/lib/Support/
H A DInputFile.cpp26 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/base/core/tests/coretests/src/android/os/
H A DTraceTest.java43 int count = 0;
45 count = eMethod();
116 int count = 0;
118 count += bMethod();
121 count += cMethod();
124 count += dMethod(ii);
126 return count;
134 int count = 0;
136 count += cMethod();
138 return 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
/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/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);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothOutputStream.java60 * 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);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DPacketEncoder.java32 * @param count the number of bytes in the packet buffer to write
34 public void writePacket(byte[] buffer, int count); argument
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DListChangeRegistry.java44 callback.onItemRangeChanged(sender, listChanges.start, listChanges.count);
47 callback.onItemRangeInserted(sender, listChanges.start, listChanges.count);
51 listChanges.count);
54 callback.onItemRangeRemoved(sender, listChanges.start, listChanges.count);
77 * @param count The number of changed elements.
79 public void notifyChanged(ObservableList list, int start, int count) { argument
80 ListChanges listChanges = acquire(start, 0, count);
89 * @param count The number of elements that were inserted.
91 public void notifyInserted(ObservableList list, int start, int count) { argument
92 ListChanges listChanges = acquire(start, 0, count);
104 notifyMoved(ObservableList list, int from, int to, int count) argument
116 notifyRemoved(ObservableList list, int start, int count) argument
121 acquire(int start, int to, int count) argument
147 public int count; field in class:ListChangeRegistry.ListChanges
[all...]
/frameworks/native/libs/gui/
H A DDisplayEventReceiver.cpp60 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { argument
61 if (int32_t(count) < 0)
65 mEventConnection->setVsyncRate(count);
81 size_t count) {
82 return DisplayEventReceiver::getEvents(mDataChannel, events, count);
86 Event* events, size_t count)
88 return BitTube::recvObjects(dataChannel, events, count);
92 Event const* events, size_t count)
94 return BitTube::sendObjects(dataChannel, events, count);
80 getEvents(DisplayEventReceiver::Event* events, size_t count) argument
85 getEvents(const sp<BitTube>& dataChannel, Event* events, size_t count) argument
91 sendEvents(const sp<BitTube>& dataChannel, Event const* events, size_t count) argument

Completed in 1105 milliseconds

1234567891011>>