Searched refs:count (Results 101 - 125 of 747) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s37 count RN 2 ;// bit-packed width and count values label
71 ;// pack values to count register
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
115 SUBS count, count, #4<<28
146 SUBS count, count, #
[all...]
H A Dh264bsd_interpolate_hor_quarter.s38 count RN 2 label
140 ;// pack values to count register
146 MOV count, width
150 ADD count, count, tmp2, LSL #16
156 AND tmp1, count, #0x000F0000 ;// partHeight-1
157 AND tmp3, count, #0x00F00000 ;// partWidth-1
158 ADD count, count, tmp1, LSL #8
161 ADD count, coun
[all...]
/frameworks/base/core/java/android/database/
H A DBulkCursorDescriptor.java47 public int count; field in class:BulkCursorDescriptor
60 out.writeInt(count);
73 count = in.readInt();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListHeterogeneousTest.java55 int count = mListView.getAdapter().getCount();
58 for (int i = 0; i < count - 1; i++) {
66 for (int i = 0; i < count - 1; i++) {
/frameworks/base/tests/CoreTests/android/core/
H A DInetAddrTest.java85 int count = 0;
90 count++;
98 assertEquals("Not all host lookups succeeded", 100, count);
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java149 int count = 0;
155 count = updateInTransaction(uri, values, selection, selectionArgs);
156 if (count > 0) {
166 count = updateInTransaction(uri, values, selection, selectionArgs);
167 if (count > 0) {
172 return count;
177 int count = 0;
183 count = deleteInTransaction(uri, selection, selectionArgs);
184 if (count > 0) {
194 count
[all...]
/frameworks/native/services/sensorservice/
H A DBatteryService.h44 int32_t count; member in struct:android::BatteryService::Info
45 Info() : uid(0), handle(0), count(0) { }
46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
H A DSensorDevice.cpp57 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local
58 mActivationCount.setCapacity(count);
60 for (size_t i=0 ; i<size_t(count) ; i++) {
72 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local
74 snprintf(buffer, SIZE, "%d h/w sensors:\n", int(count));
78 for (size_t i=0 ; i<size_t(count) ; i++) {
80 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ",
97 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list);
98 return count;
105 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { argument
[all...]
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java73 if (count + i <= buf.length) {
76 byte[] newbuf = mPool.getBuf((count + i) * 2);
77 System.arraycopy(buf, 0, newbuf, 0, count);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java39 public NativeBuffer(int count) { argument
40 allocate(count * getElementSize());
63 public int count() { method in class:NativeBuffer
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp91 const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) {
99 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags);
114 reinterpret_cast<const UChar*>(key.getText()), start, count,
146 " - start = %d, count = %d, contextCount = %d - Text = '%s'",
147 start, count, contextCount, String8(key.getText() + start, count).string());
152 "with start = %d, count = %d, contextCount = %d, "
155 value.get(), start, count, contextCount, size, mMaxSize - mSize,
158 String8(key.getText() + start, count).string());
163 "with start = %d, count
90 getValue(const SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument
230 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, size_t contextCount, int dirFlags) argument
358 computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags) argument
369 computeValues(const SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs, Vector<jfloat>* const outPos) argument
510 computeRunValues(const SkPaint* paint, const UChar* chars, size_t count, bool isRTL, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs, Vector<jfloat>* const outPos) argument
940 getValue(const SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGesture.java68 final int count = mStrokes.size();
69 for (int i = 0; i < count; i++) {
109 final int count = strokes.size();
111 for (int i = 0; i < count; i++) {
133 final int count = strokes.size();
135 for (int i = 0; i < count; i++) {
150 final int count = strokes.size();
152 for (int i = 0; i < count; i++) {
201 final int count = strokes.size();
203 for (int i = 0; i < count;
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java38 int count; field in class:CompositeCursorAdapter.Partition
172 int count = cursor != null ? cursor.getCount() : 0;
174 if (count != 0 || mPartitions[i].showIfEmpty) {
175 count++;
178 mPartitions[i].count = count;
179 mCount += count;
240 int end = start + mPartitions[i].count;
257 int end = start + mPartitions[i].count;
277 position += mPartitions[i].count;
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dton_stab.cpp171 CLOCK CYCLES: (cycle count equation for this function) + (variable
172 used to represent cycle count for each subroutine
174 where: (cycle count variable) = cycle count for [subroutine
260 st->count = 0;
276 CLOCK CYCLES: (cycle count equation for this function) + (variable
277 used to represent cycle count for each subroutine
279 where: (cycle count variable) = cycle count for [subroutine
298 st->count
[all...]
/frameworks/base/tools/aidl/
H A Doptions_test.cpp23 int count = 0; local
24 while (expected[count] != NULL) {
25 count++;
27 if (got.size() != count) {
30 for (int i=0; i<count; i++) {
50 size_t count = got.size(); local
51 for (size_t i=0; i<count; i++) {
240 const int count = sizeof(g_tests)/sizeof(g_tests[0]); local
241 int matches[count];
244 for (int i=0; i<count;
[all...]
/frameworks/rs/cpp/
H A DAllocation.h89 void copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, size_t dataLen);
90 void copy1DRangeFrom(uint32_t off, size_t count, const int32_t* d, size_t dataLen);
91 void copy1DRangeFrom(uint32_t off, size_t count, const int16_t* d, size_t dataLen);
92 void copy1DRangeFrom(uint32_t off, size_t count, const int8_t* d, size_t dataLen);
93 void copy1DRangeFrom(uint32_t off, size_t count, const float* d, size_t dataLen);
94 void copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff);
122 static sp<Allocation> createSized(RenderScript *rs, sp<const Element> e, size_t count,
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1285 * @param count THe number of characters to measure, beginning with start
1288 public float measureText(char[] text, int index, int count) { argument
1292 if ((index | count) < 0 || index + count > text.length) {
1296 if (text.length == 0 || count == 0) {
1300 return native_measureText(text, index, count);
1305 float w = native_measureText(text, index, count);
1310 private native float native_measureText(char[] text, int index, int count); argument
1413 * @param count The number of maximum number of entries to measure. If count
1421 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1446 native_breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1549 getTextWidths(char[] text, int index, int count, float[] widths) argument
1717 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex) argument
1731 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex, int reserved) argument
2105 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument
2166 getTextBounds(char[] text, int index, int count, Rect bounds) argument
2219 native_getTextWidths(int native_object, char[] text, int index, int count, float[] widths) argument
2228 native_getTextRunAdvances(int native_object, char[] text, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex, int reserved) argument
2240 native_getTextPath(int native_object, int bidiFlags, char[] text, int index, int count, float x, float y, int path) argument
2246 nativeGetCharArrayBounds(int nativePaint, char[] text, int index, int count, Rect bounds) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.cpp470 for (index = 0; index < pClass->count; index++)
499 ((M4OSA_NULL == pName) && (index < pClass->count));
541 ((M4OSA_NULL == pString) && (index < pClass->count));
585 for (index = 0; ((!gotten) && (index < pClass->count)); index++)
623 for (index = 0; ((!gotten) && (index < pClass->count)); index++)
657 for (index = 0; ((!gotten) && (index < pClass->count)); index++)
684 for (index = 0; ((!gotten) && (index < pClass->count)); index++)
701 for (index = 0; ((!gotten) && (index < pClass->count)); index++)
743 for (index = 0; index < pClass->count; index++)
789 int count,
785 videoEditJava_fieldClassFieldIds( bool* pResult, JNIEnv* pEnv, const VideoEditJava_FieldsClass* pClass, int count, VideoEditJava_FieldIds* pIds) argument
866 videoEditJava_methodClassMethodIds( bool* pResult, JNIEnv* pEnv, const VideoEditJava_MethodsClass* pClass, int count, VideoEditJava_MethodIds* pIds) argument
[all...]
/frameworks/base/libs/hwui/
H A DGradientCache.cpp114 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { argument
116 GradientCacheEntry gradient(colors, positions, count);
120 texture = addLinearGradient(gradient, colors, positions, count);
130 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, argument
132 uint32_t width = 256 * (count - 1);
139 for (int i = 0; i < count; i++) {
151 uint32_t* colors, float* positions, int count) {
154 getGradientInfo(colors, count, info);
168 generateTexture(colors, positions, count, texture);
177 int count, Textur
150 addLinearGradient(GradientCacheEntry& gradient, uint32_t* colors, float* positions, int count) argument
176 generateTexture(uint32_t* colors, float* positions, int count, Texture* texture) argument
[all...]
/frameworks/native/include/utils/
H A DBasicHashtable.h99 void* allocateBuckets(size_t count) const;
102 void releaseBuckets(void* __restrict__ buckets, size_t count) const;
106 void destroyBuckets(void* __restrict__ buckets, size_t count) const;
111 void* __restrict__ toBuckets, size_t count) const;
126 inline static size_t chainStart(hash_t hash, size_t count) { argument
127 return hash % count;
133 inline static size_t chainIncrement(hash_t hash, size_t count) { argument
134 return ((hash >> 7) | (hash << 25)) % (count - 1) + 1;
139 inline static size_t chainSeek(size_t index, size_t increment, size_t count) { argument
140 return (index + increment) % count;
[all...]
/frameworks/base/core/java/android/widget/
H A DTableLayout.java211 final int count = getChildCount();
212 for (int i = 0; i < count; i++) {
224 int count = getChildCount();
225 for (int i = 0; i < count; i++) {
294 int count = getChildCount();
295 for (int i = 0; i < count; i++) {
383 final int count = collapsedColumns.size();
384 for (int i = 0; i < count; i++) {
495 final int count = getChildCount();
496 for (int i = 0; i < count;
[all...]
H A DRemoteViewsService.java152 int count = 0;
154 count = mFactory.getCount();
159 return count;
185 int count = 0;
187 count = mFactory.getViewTypeCount();
192 return count;
H A DSimpleCursorAdapter.java137 final int count = mTo.length;
141 for (int i = 0; i < count; i++) {
328 int count = from.length;
329 if (mFrom == null || mFrom.length != count) {
330 mFrom = new int[count];
332 for (i = 0; i < count; i++) {
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp91 size_t count = overallSize / infoSize; local
93 snprintf(buffer, SIZE, " Allocation count %i\n", count);
98 AllocEntry * entries = new AllocEntry[count];
100 for (size_t i = 0; i < count; i++) {
119 for (size_t i = 0; i < (count - 1); i++) {
142 for (size_t i = 0; i < count; i++) {
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp74 jint count, jboolean unpinned)
83 env->SetByteArrayRegion(buffer, destOffset, count, (const jbyte *)address + srcOffset);
88 return count;
93 jint count, jboolean unpinned)
102 env->GetByteArrayRegion(buffer, srcOffset, count, (jbyte *)address + destOffset);
107 return count;
72 android_os_MemoryFile_read(JNIEnv* env, jobject clazz, jobject fileDescriptor, jint address, jbyteArray buffer, jint srcOffset, jint destOffset, jint count, jboolean unpinned) argument
91 android_os_MemoryFile_write(JNIEnv* env, jobject clazz, jobject fileDescriptor, jint address, jbyteArray buffer, jint srcOffset, jint destOffset, jint count, jboolean unpinned) argument

Completed in 348 milliseconds

1234567891011>>