Searched refs:count (Results 176 - 200 of 1592) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DProfileRenderer.h29 void drawRects(const float* rects, int count, const SkPaint& paint) override;
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaProfileRenderer.h29 void drawRects(const float* rects, int count, const SkPaint& paint) override;
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument
99 int remainLength = count;
104 if ((offset | count) < 0 || count > buffer.length - offset) {
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoTile.java53 MetricsLogger.count(this, "egg_neko_tile_added", 1);
59 MetricsLogger.count(this, "egg_neko_tile_removed", 1);
84 MetricsLogger.count(this, "egg_neko_empty_food", 1);
111 MetricsLogger.count(this, "egg_neko_select_food", 1);
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayList.java116 private void notifyAdd(int start, int count) { argument
118 mListeners.notifyInserted(this, start, count);
122 private void notifyRemove(int start, int count) { argument
124 mListeners.notifyRemoved(this, start, count);
/frameworks/rs/tests/lldb/tests/testcases/
H A Dtest_call_api_funs.py43 for count, line in enumerate(RS_funs.FUNC_LIST):
49 @ordered_test(count)
63 # Use the `count` parameter to ensure the name is unique in the class
64 test_name = 'test_%s_%s' % (re.sub(func_name_sub, '_', line), count)
68 class_dict[test_name] = wimpy(test) if count % 10 == 0 else test
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffHelpers.h33 #define WORD_ALIGN(count) \
34 count += BYTES_TILL_WORD(count);
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirProcessSSE.h39 int count,
49 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8
128 } while (count -= 4);
155 int count,
162 ProcessSSEIntrinsic<1, 16, true>(out, count, coefsP, coefsN, sP, sN, volumeLR,
168 int count,
175 ProcessSSEIntrinsic<2, 16, true>(out, count, coefsP, coefsN, sP, sN, volumeLR,
181 int count,
191 ProcessSSEIntrinsic<1, 16, false>(out, count, coefs
38 ProcessSSEIntrinsic(float* out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* volumeLR, float lerpP, const float* coefsP1, const float* coefsN1) argument
154 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument
167 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument
180 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument
196 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument
[all...]
/frameworks/av/media/libnbaio/
H A DPipeReader.cpp62 ssize_t PipeReader::read(void *buffer, size_t count) argument
65 ssize_t actual = mFifoReader.read(buffer, count, NULL /*timeout*/, &lost);
66 ALOG_ASSERT(actual <= count);
/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/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/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestContentResolver.java41 void waitForNotification(Uri uri, int count) throws InterruptedException, TimeoutException { argument
42 Assert.assertEquals(count, getPhaser(uri).awaitAdvanceInterruptibly(
43 count - 1, TIMEOUT_PERIOD_MS, TimeUnit.MILLISECONDS));
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
H A DTlvBufferUtilsTest.java136 int count = 0;
138 if (count == 0) {
142 } else if (count == 1) {
147 } else if (count == 2) {
154 ++count;
156 if (count != 3) {
168 count = 0;
170 if (count == 0) {
174 } else if (count == 1) {
179 } else if (count
[all...]
/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.h40 int32_t count; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DNAIRealmElement.java58 int count = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2)
60 while (count > 0) {
62 count--;
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
H A DStringUtil.java53 * @param count Number of placeholders
55 public static void appendPlaceholders(StringBuilder builder, int count) { argument
56 for (int i = 0; i < count; i++) {
58 if (i < count - 1) {
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java96 int count = 0;
112 count++;
115 if (count == 0) return;
124 mSpanCount = count;
211 int count = mSpanCount;
215 for (int i = 0; i < count; i++) {
259 int count = mSpanCount;
263 for (int i = count - 1; i >= 0; i--) {
268 int c = count - (i + 1);
285 int count
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java1001 int count = data_length / eSize;
1002 if ((eSize * count) != data_length) {
1006 copy1DRangeFromUnchecked(xoff, count, data);
1082 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { argument
1087 if(count < 1) {
1090 if((off + count) > mCurrentCount) {
1091 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount +
1092 ", got " + count + " at offset " + off + ".");
1119 private void copy1DRangeFromUnchecked(int off, int count, Object array, argument
1121 final int dataSize = mType.mElement.getBytesSize() * count;
1154 copy1DRangeFromUnchecked(int off, int count, Object array) argument
1182 copy1DRangeFromUnchecked(int off, int count, int[] d) argument
1208 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
1234 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
1260 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
1289 copy1DRangeFrom(int off, int count, Object array) argument
1319 copy1DRangeFrom(int off, int count, int[] d) argument
1348 copy1DRangeFrom(int off, int count, short[] d) argument
1377 copy1DRangeFrom(int off, int count, byte[] d) argument
1406 copy1DRangeFrom(int off, int count, float[] d) argument
1420 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
1993 copy1DRangeToUnchecked(int off, int count, Object array, Element.DataType dt, int arrayLen) argument
2028 copy1DRangeToUnchecked(int off, int count, Object array) argument
2056 copy1DRangeToUnchecked(int off, int count, int[] d) argument
2082 copy1DRangeToUnchecked(int off, int count, short[] d) argument
2108 copy1DRangeToUnchecked(int off, int count, byte[] d) argument
2134 copy1DRangeToUnchecked(int off, int count, float[] d) argument
2163 copy1DRangeTo(int off, int count, Object array) argument
2193 copy1DRangeTo(int off, int count, int[] d) argument
2222 copy1DRangeTo(int off, int count, short[] d) argument
2251 copy1DRangeTo(int off, int count, byte[] d) argument
2280 copy1DRangeTo(int off, int count, float[] d) argument
2613 createSized(RenderScript rs, Element e, int count, int usage) argument
2636 createSized(RenderScript rs, Element e, int count) 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/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/drm/java/android/drm/
H A DDrmOutputStream.java93 public void write(byte[] buffer, int offset, int count) throws IOException { argument
94 Arrays.checkOffsetAndCount(buffer.length, offset, count);
97 if (count == buffer.length) {
100 exactBuffer = new byte[count];
101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
/frameworks/base/media/java/android/media/midi/
H A DMidiInputPort.java76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument
77 if (offset < 0 || count < 0 || offset + count > msg.length) {
78 throw new IllegalArgumentException("offset or count out of range");
80 if (count > MidiPortImpl.MAX_PACKET_DATA_SIZE) {
81 throw new IllegalArgumentException("count exceeds max message size");
88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
/frameworks/base/tools/aapt/
H A DPackage.cpp61 int count; local
112 count = processAssets(bundle, zip, outputSet);
113 if (count < 0) {
116 result = count;
121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s");
124 count = processJarFiles(bundle, zip);
125 if (count < 0) {
128 result = count;
133 printf("Included %d file%s from jar/zip files.\n", count, (coun
220 ssize_t count = 0; local
406 size_t count = 0; local
430 ssize_t count = 0; local
[all...]

Completed in 575 milliseconds

1234567891011>>