Searched refs:count (Results 1 - 25 of 948) 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 == NULL)) {
33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf);
37 while (count > 0) {
38 ssize_t read_size = ::read(mFD, pBuf, count);
H A DOutputFile.cpp30 ssize_t OutputFile::write(const void *pBuf, size_t count) { argument
35 if ((count <= 0) || (pBuf == NULL)) {
37 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf);
41 while (count > 0) {
42 ssize_t write_size = ::write(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]);
H A DomxVCCOMM_ComputeTextureErrorBlock.c77 OMX_INT x, y, count; local
89 for (y = 0, count = 0;
93 for (x = 0; x < 8; x++, count++)
95 pDst[count] = pSrc[x] - pSrcRef[count];
/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;
H A DEndianUtils.cpp48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
50 if((res = mOutput->write(buf, offset, count)) == OK) {
51 mOffset += count;
56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument
57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count);
61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \
62 return writeHelper<_type_>(buf, offset, count); \
72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument
74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count);
77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderResult.java27 * to have exactly one of {@link #uri} or {@link #count} set.
31 public final Integer count; field in class:ContentProviderResult
36 this.count = null;
39 public ContentProviderResult(int count) { argument
40 this.count = count;
47 count = source.readInt();
50 count = null;
58 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/av/services/audioflinger/
H A DAudioResamplerFirProcessNeon.h54 int count,
83 "subs %[count], %[count], #8 \n"// (1) update loop counter
92 [count] "+r" (count),
106 int count,
140 "subs %[count], %[count], #8 \n"// (1) update loop counter
149 [count] "+r" (count),
53 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
105 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
163 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
233 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
309 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
370 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
450 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
535 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
639 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
689 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
742 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
810 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
881 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
935 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
997 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
1069 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
[all...]
/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/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
/frameworks/av/media/libnbaio/
H A DPipe.cpp46 ssize_t Pipe::write(const void *buffer, size_t count) argument
48 // count == 0 is unlikely and not worth checking for
55 if (CC_LIKELY(written > count)) {
56 written = count;
60 if (CC_UNLIKELY((count -= written) > rear)) {
61 count = rear;
63 if (CC_LIKELY(count > 0)) {
64 memcpy(mBuffer, (char *) buffer + (written * mFrameSize), count * mFrameSize);
65 written += count;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_TransRecBlockCoef_intra.c159 OMX_INT x, y, count, predDir; local
198 for (y = 0, count = 0; y < 8; y++)
200 for(x= 0; x < 8; x++, count++)
202 pTempBuf1[count] = pSrc[(y*srcStep) + x];
214 for (y = 0, count = 0; y < 8; y++)
216 for(x = 0; x < 8; x++, count++)
219 pTempBuf1[count] = pTempBuf2[count];
220 pDst[(y*dstStep) + x] = pTempBuf2[count];
265 for(count
[all...]

Completed in 526 milliseconds

1234567891011>>