Searched refs:count (Results 151 - 175 of 1215) sorted by relevance

1234567891011>>

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiCollection.java57 int count = getChildCount(childPattern);
58 for (int x = 0; x < count; x++) {
115 int count = getChildCount(childPattern);
116 for (int x = 0; x < count; x++) {
134 * currently visible. The count does not include items of a scrollable list
138 * elements to count
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiFramer.java48 public static String formatMidiData(byte[] data, int offset, int count) { argument
50 for (int i = 0; i < count; i++) {
60 public void onSend(byte[] data, int offset, int count, long timestamp) argument
64 for (int i = 0; i < count; i++) {
/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/base/tools/aapt2/util/
H A DBigBuffer.h82 T* nextBlock(size_t count = 1);
127 inline T* BigBuffer::nextBlock(size_t count) { argument
129 assert(count != 0);
130 return reinterpret_cast<T*>(nextBlockImpl(sizeof(T) * count));
/frameworks/compile/libbcc/include/bcc/Support/
H A DOutputFile.h34 ssize_t write(const void *pBuf, size_t count);
/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/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DNAIRealmElement.java37 int count = payload.getShort() & SHORT_MASK;
38 mRealmData = new ArrayList<>(count);
39 while (count > 0) {
41 count--;
/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/libnbaio/
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count) argument
48 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically
53 if (CC_LIKELY((size_t) red > count)) {
54 red = count;
/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...]
/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/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mopria/
H A DMopriaRecommendationPlugin.java51 Pair<Integer, Integer> count = mListener.getCount();
52 return ((count.first > 1) ? count.second : 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconList.java70 int count = 0;
73 count++;
76 return 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.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/native/vulkan/libvulkan/
H A Dswapchain.h30 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkSurfaceFormatKHR* formats);
31 VKAPI_ATTR VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes);
34 VKAPI_ATTR VkResult GetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain_handle, uint32_t* count, VkImage* images);
/frameworks/volley/src/main/java/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/core/java/android/text/
H A DSpannableStringInternal.java88 int count = 0;
95 count++;
98 if (count == 0) return;
101 mSpanCount = count;
177 int count = mSpanCount;
181 for (int i = 0; i < count; i++) {
218 int count = mSpanCount;
222 for (int i = count - 1; i >= 0; i--) {
227 int c = count - (i + 1);
242 int count
[all...]
/frameworks/support/v8/renderscript/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...]

Completed in 780 milliseconds

1234567891011>>