/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/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 == NULL)) { 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 D | TraceTest.java | 43 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 D | omxVCCOMM_Copy16x16.c | 60 OMX_INT count,index, x, y; local 71 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16) 73 for (x = 0; x < 16; x++, count++, index++) 75 pDst[index] = pSrc[count];
|
H A D | omxVCCOMM_Copy8x8.c | 60 OMX_INT count,index, x, y; local 71 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8) 73 for (x = 0; x < 8; x++, count++, index++) 75 pDst[index] = pSrc[count];
|
H A D | omxVCCOMM_ComputeTextureErrorBlock_SAD.c | 65 OMX_INT x, y, count; local 78 for (y = 0, count = 0, *pDstSAD = 0; 82 for (x = 0; x < 8; x++, count++) 84 pDst[count] = pSrc[x] - pSrcRef[count]; 85 *pDstSAD += armAbs(pDst[count]);
|
H A D | omxVCCOMM_ComputeTextureErrorBlock.c | 62 OMX_INT x, y, count; local 74 for (y = 0, count = 0; 78 for (x = 0; x < 8; x++, count++) 80 pDst[count] = pSrc[x] - pSrcRef[count];
|
/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
|
/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmConstraintInfo.java | 26 * The constraint of count. 28 private int count; field in class:DrmConstraintInfo 49 count = -1; 56 * Get the count constraint. 58 * @return the count or -1 if no limit. 61 return count;
|
/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/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/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);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderResult.java | 25 * to have exactly one of {@link #uri} or {@link #count} set. 29 public final Integer count; field in class:ContentProviderResult 34 this.count = null; 37 public ContentProviderResult(int count) { argument 38 this.count = count; 45 count = source.readInt(); 48 count = null; 56 dest.writeInt(count); 82 return "ContentProviderResult(count [all...] |
/frameworks/native/libs/gui/ |
H A D | DisplayEventReceiver.cpp | 60 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 D | Pipe.cpp | 43 ssize_t Pipe::write(const void *buffer, size_t count) argument 45 // count == 0 is unlikely and not worth checking for 52 if (CC_LIKELY(written > count)) { 53 written = count; 57 if (CC_UNLIKELY((count -= written) > rear)) { 58 count = rear; 60 if (CC_LIKELY(count > 0)) { 61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift); 62 written += count;
|
H A D | PipeReader.cpp | 62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS) argument 70 if (CC_LIKELY(count > (size_t) avail)) { 71 count = avail; 75 if (CC_LIKELY(red > count)) { 76 red = count; 82 if (CC_UNLIKELY((count -= red) > front)) { 83 count = front; 85 if (CC_LIKELY(count > 0)) { 86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift); 87 red += count; [all...] |
H A D | AudioBufferProviderSource.cpp | 50 size_t count, 57 mBuffer.frameCount = count; 66 if (CC_UNLIKELY(count > available)) { 67 count = available; 69 // count could be zero, either because count was zero on entry or 71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift); 72 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { 77 mFramesRead += count; 78 // For better responsiveness with large values of count, 49 read(void *buffer, size_t count, int64_t readPTS) argument 95 size_t count = total - accumulator; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_TransRecBlockCoef_intra.c | 144 OMX_INT x, y, count, predDir; local 183 for (y = 0, count = 0; y < 8; y++) 185 for(x= 0; x < 8; x++, count++) 187 pTempBuf1[count] = pSrc[(y*srcStep) + x]; 199 for (y = 0, count = 0; y < 8; y++) 201 for(x = 0; x < 8; x++, count++) 204 pTempBuf1[count] = pTempBuf2[count]; 205 pDst[(y*dstStep) + x] = pTempBuf2[count]; 250 for(count [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 195 public int read(byte[] buffer, int offset, int count) throws IOException { argument 198 if (count > mRemaining) count = (int)mRemaining; 199 int res = super.read(buffer, offset, count); 204 return super.read(buffer, offset, count); 213 public long skip(long count) throws IOException { argument 216 if (count > mRemaining) count = mRemaining; 217 long res = super.skip(count); 222 return super.skip(count); 270 write(byte[] buffer, int offset, int count) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | GradientCache.h | 35 count = 0; 40 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { argument 41 copy(colors, positions, count); 45 copy(entry.colors, entry.positions, entry.count); 58 copy(entry.colors, entry.positions, entry.count); 78 uint32_t count; member in struct:android::uirenderer::GradientCacheEntry 81 void copy(uint32_t* colors, float* positions, uint32_t count) { argument 82 this->count = count; 83 this->colors = new uint32_t[count]; [all...] |