Searched refs:count (Results 1 - 25 of 672) 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.java25 boolean isRtl(char[] text, 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/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/aacdec/
H A Dget_sbr_bitstream.cpp143 Int32 count; local
148 count = get9_n_lessbits(LEN_F_CNT, pInputStream);
149 if (count == 15)
152 count = esc_count + 14;
161 && (count < MAXSBRBYTES) && (count) && (sbrBitStream->NrElements < MAXNRELEMENTS))
165 sbrBitStream->sbrElement[sbrBitStream->NrElements].Payload = count;
167 for (i = 1 ; i < count ; i++)
177 pInputStream->usedBits += (count - 1) * LEN_BYTE;
H A Dget_dse.cpp163 UInt count; local
182 * get count ( 8 bits)
184 count = get9_n_lessbits(LEN_D_CNT, pInputStream);
187 * if count == 255, its value it is incremented by a
191 if (count == (1 << LEN_D_CNT) - 1)
194 count += esc_count;
205 for (i = count; i != 0; i--)
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_Copy16x16.c60 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 DomxVCCOMM_Copy8x8.c60 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 DomxVCCOMM_ComputeTextureErrorBlock_SAD.c65 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 DomxVCCOMM_ComputeTextureErrorBlock.c62 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/base/media/java/android/drm/mobile1/
H A DDrmConstraintInfo.java26 * 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 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/services/audioflinger/
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 << mBitShift), count << mBitShift);
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...]
H A DPipe.cpp43 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 DPipeReader.cpp62 ssize_t PipeReader::read(void *buffer, size_t count) 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...]
/frameworks/base/libs/hwui/
H A DGradientCache.h34 count = 0;
40 GradientCacheEntry(uint32_t* colors, float* positions, int count, argument
42 copy(colors, positions, count, tileMode);
46 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
59 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
67 LTE_INT(count) {
69 int result = memcmp(colors, rhs.colors, count * sizeof(uint32_t));
72 result = memcmp(positions, rhs.positions, count * sizeof(float));
82 int count; member in struct:android::uirenderer::GradientCacheEntry
87 void copy(uint32_t* colors, float* positions, int count, SkShade argument
[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/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/core/java/android/content/
H A DContentProviderResult.java25 * 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/compile/libbcc/include/bcc/
H A Dbcc_mccache.h88 size_t count; member in struct:MCO_StringPool
104 size_t count; member in struct:MCO_DependencyTable
109 size_t count; member in struct:MCO_ExportVarList
114 size_t count; member in struct:MCO_ExportFuncList
119 size_t count; member in struct:MCO_ExportForEachList
129 size_t count; member in struct:MCO_PragmaList
134 size_t count; member in struct:MCO_ObjectSlotList
145 size_t count; member in struct:MCO_FuncTable
150 size_t count; member in struct:MCO_String_Ptr
/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/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_TransRecBlockCoef_intra.c144 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 DAssetFileDescriptor.java195 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...]

Completed in 446 milliseconds

1234567891011>>