/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | SmartCamera.java | 77 private static int count = -1; field in class:SmartCamera 83 if (count == numImages-1) countHasReachedMax = true; 84 count = (count+1) % numImages; 85 return mImages.get(count); 119 Log.v(TAG, "numImages: " + numImages + " count: " + count + 121 int maxI = countHasReachedMax ? numImages : count+1; 135 count = -1; 210 if (count [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 61 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...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 507 const size_t count = values.size(); local 508 for (size_t i = 0; i < count; i++) {
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer.cpp | 141 const size_t count = plural->values.size(); variable 142 for (size_t i = 0; i < count; i++) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | StaticLayout_Delegate.java | 212 private static float measureText(long nativePaint, char []text, int index, int count, argument 216 .renderText(index, index + count, bidiFlags, widths, 0, false);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 170 (funcptr_access_set.count(candidate->first) == 0)) { 193 size_t count = checksum_map.count(checksum); local 194 if (count == 0) {
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 51 size_t count; member in struct:android::region_operator::region 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 57 : rects(r), count(c), dx(), dy() { } 59 : rects(r), count(c), dx(dx), dy(dy) { } 168 if (lhs.count) { 172 if (rhs.count) { 179 return !rhs.count && !lhs.count; 200 size_t count local [all...] |
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 337 size_t count = data.readUint32(); local 338 if (count > data.dataSize()) { 343 state.setCapacity(count); 344 for (size_t i = 0; i < count; i++) { 351 count = data.readUint32(); 352 if (count > data.dataSize()) { 357 displays.setCapacity(count); 358 for (size_t i = 0; i < count; i++) {
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 290 status_t GraphicBuffer::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { 295 if (count < fdCountNeeded) return NO_MEMORY; 323 count -= static_cast<size_t>(handle->numFds); 330 void const*& buffer, size_t& size, int const*& fds, size_t& count) { 356 if (count < fdCountNeeded) return NO_MEMORY; 406 count -= numFds; 329 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 274 size_t count = objects.size(); local 275 ALOGW_IF(count, "eglTerminate() called w/ %zu objects remaining", count); 276 for (size_t i=0 ; i<count ; i++) {
|
H A D | egl_object.h | 44 mutable std::atomic_size_t count; member in class:android::egl_object_t 54 inline void incRef() { count.fetch_add(1, std::memory_order_relaxed); } 55 inline size_t decRef() { return count.fetch_sub(1, std::memory_order_acq_rel); }
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 122 static void endTimer(int count) { argument 125 double pixels = (gWidth * gHeight) * count; 127 double dc60 = ((double)count) / delta / 60;
|
/frameworks/native/services/inputflinger/ |
H A D | InputListener.cpp | 144 size_t count = mArgsQueue.size(); local 145 for (size_t i = 0; i < count; i++) { 172 size_t count = mArgsQueue.size(); local 173 for (size_t i = 0; i < count; i++) {
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 62 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 63 mActivationCount.setCapacity(count); 65 for (size_t i=0 ; i<size_t(count) ; i++) { 91 int count = mSensorModule->get_sensors_list(mSensorModule, &list); local 97 result.appendFormat("Total %d h/w sensors, %zu running:\n", count, mActivationCount.size()); 100 for (int i = 0 ; i < count ; i++) { 103 result.appendFormat("0x%08x) active-count = %zu; ", list[i].handle, 127 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); 128 return count; 135 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 59 mVSyncEvent[i].vsync.count = 0; 115 void EventThread::setVsyncRate(uint32_t count, argument 117 if (int32_t(count) >= 0) { // server must protect against bad params 119 const int32_t new_count = (count == 0) ? -1 : count; 120 if (connection->count != new_count) { 121 connection->count = new_count; 133 if (connection->count < 0) { 134 connection->count = 0; 162 mVSyncEvent[0].vsync.count 188 const size_t count = signalConnections.size(); local 247 size_t count = mDisplayEventConnections.size(); local 406 setVsyncRate(uint32_t count) argument [all...] |
/frameworks/native/vulkan/tools/ |
H A D | vkinfo.cpp | 93 uint32_t count; local 95 vkEnumerateInstanceExtensionProperties(layer_name, &count, nullptr); 97 die("vkEnumerateInstanceExtensionProperties (count)", result); 99 extensions->resize(count); 100 result = vkEnumerateInstanceExtensionProperties(layer_name, &count, 111 uint32_t count; local 113 vkEnumerateDeviceExtensionProperties(gpu, layer_name, &count, nullptr); 115 die("vkEnumerateDeviceExtensionProperties (count)", result); 117 extensions->resize(count); 118 result = vkEnumerateDeviceExtensionProperties(gpu, layer_name, &count, 129 uint32_t count; local 213 uint32_t count; local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | EventRecurrenceTest.java | 41 /* int count */ 0, 62 /* int count */ 0, 83 /* int count */ 0, 104 /* int count */ 0, 125 /* int count */ 0, 146 /* int count */ 0, 167 /* int count */ 0, 189 /* int count */ 0, 207 // with a count 211 /* int count */ 33 718 verifyRecurType(String recur, int freq, String until, int count, int interval, int[] bysecond, int[] byminute, int[] byhour, int[] byday, int[] bydayNum, int[] bymonthday, int[] byyearday, int[] byweekno, int[] bymonth, int[] bysetpos, int wkst) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiMetricsTest.java | 319 * Assert deserialized metrics Scan Return Entry equals count 321 public void assertScanReturnEntryEquals(int returnCode, int count) { argument 324 assertEquals(mDeserializedWifiMetrics.scanReturnEntries[i].scanResultsCount, count); 328 assertEquals(null, count); 332 * Assert deserialized metrics SystemState entry equals count 334 public void assertSystemStateEntryEquals(int state, boolean screenOn, int count) { argument 339 count); 343 assertEquals(null, count);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZonePickerView.java | 130 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 135 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/rs/ |
H A D | rsElement.h | 108 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 123 static const Element* create(Context *rsc, size_t count, argument 128 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListTest.java | 56 public abstract void onInserted(int position, int count); argument 60 public abstract void onChanged(int position, int count); argument 74 public void onInserted(int position, int count) { 75 mAdditions.add(new Pair(position, count)); 77 mInsertedCallback.onInserted(position, count); 82 public void onRemoved(int position, int count) { 83 mRemovals.add(new Pair(position, count)); 92 public void onChanged(int position, int count) { 93 mUpdates.add(new Pair(position, count)); 95 mChangedCallback.onChanged(position, count); [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | PositionMap.java | 140 public void insertKeyRange(int keyStart, int count) { argument 144 public void removeKeyRange(ArrayList<E> removedItems, int keyStart, int count) { argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseGridLayoutManagerTest.java | 219 GridTestAdapter(int count) { argument 220 super(count); 223 GridTestAdapter(int count, int spanPerItem) { argument 224 super(count);
|
H A D | LoggingItemAnimator.java | 132 public void expectRunPendingAnimationsCall(int count) { argument 133 mWaitForPendingAnimations = new CountDownLatch(count);
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 324 int count; 326 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) { 327 pos += count; 465 public int read(byte[] buffer, int offset, int count) throws IOException { argument 466 int result = super.read(buffer, offset, count);
|