Searched refs:count (Results 1 - 25 of 576) 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 /** @hide */ 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/base/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/base/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/compile/linkloader/include/
H A DStubLayout.h25 size_t count; member in class:StubLayout
30 void initStubTable(unsigned char *table, size_t count);
33 size_t calcStubTableSize(size_t count) const;
/frameworks/base/libs/hwui/
H A DGradientCache.h33 count = 0;
39 GradientCacheEntry(uint32_t* colors, float* positions, int count, argument
41 copy(colors, positions, count, tileMode);
45 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
58 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
66 LTE_INT(count) {
68 int result = memcmp(colors, rhs.colors, count * sizeof(uint32_t));
71 result = memcmp(positions, rhs.positions, count * sizeof(float));
81 int count; member in struct:android::uirenderer::GradientCacheEntry
86 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/compile/linkloader/lib/
H A DStubLayout.cpp30 StubLayout::StubLayout() : table(NULL), count(0) {
35 count = count_;
40 if (count == 0) {
51 count--;
73 size_t StubLayout::calcStubTableSize(size_t count) const {
75 return count * STUB_SIZE;
/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_cache.h88 size_t count; member in struct:OBCC_StringPool
104 size_t count; member in struct:OBCC_DependencyTable
113 size_t count; member in struct:OBCC_ExportVarList
118 size_t count; member in struct:OBCC_ExportFuncList
128 size_t count; member in struct:OBCC_PragmaList
133 size_t count; member in struct:OBCC_ObjectSlotList
144 size_t count; member in struct:OBCC_FuncTable
149 size_t count; member in struct:OBCC_String_Ptr
/frameworks/base/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.java192 public int read(byte[] buffer, int offset, int count) throws IOException { argument
195 if (count > mRemaining) count = (int)mRemaining;
196 int res = super.read(buffer, offset, count);
201 return super.read(buffer, offset, count);
210 public long skip(long count) throws IOException { argument
213 if (count > mRemaining) count = mRemaining;
214 long res = super.skip(count);
219 return super.skip(count);
267 write(byte[] buffer, int offset, int count) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java100 public void beforeTextChanged(CharSequence s, int start, int count, argument
105 if (count == 0 && s.length() == start) {
108 } else if (after == 0 && start + count == s.length() && count > 0) {
111 } else if (count > 0 && !hasSeparator(s, start, count)) {
119 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
124 if (count > 0 && !hasSeparator(s, start, count)) {
130 if (mState == STATE_APPEND && count >
206 hasSeparator(final CharSequence s, final int start, final int count) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java435 int count;
439 for (int i = 0; i < len; i += count) {
442 count = 1;
446 count = appendQuotedText(s, i, len);
451 while ((i + count < len) && (s.charAt(i + count) == c)) {
452 count++;
468 replacement = zeroPad(inDate.get(Calendar.DATE), count);
474 count < 4 ?
485 replacement = zeroPad(temp, count);
530 getMonthString(Calendar inDate, int count) argument
543 getTimeZoneString(Calendar inDate, int count) argument
556 formatZoneOffset(int offset, int count) argument
575 getYearString(Calendar inDate, int count) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp54 static void getDirectionalities(JNIEnv* env, jobject obj, jcharArray srcArray, jbyteArray destArray, int count) argument
65 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) {
70 for (int i = 0; i < count; i++) {
72 i + 1 < count &&
105 int start, int count, jbyteArray destArray)
116 if (start < 0 || start > start + count
117 || env->GetArrayLength(srcArray) < (start + count)
118 || env->GetArrayLength(destArray) < count) {
123 for (int i = 0; i < count;
104 getEastAsianWidths(JNIEnv* env, jobject obj, jcharArray srcArray, int start, int count, jbyteArray destArray) argument
147 mirror(JNIEnv* env, jobject obj, jcharArray charArray, int start, int count) argument
[all...]

Completed in 342 milliseconds

1234567891011>>