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

1234567891011>>

/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp63 if (!availableProcessedSizes.count) return NO_INIT;
78 for (size_t i=0; i < availableProcessedSizes.count; i += 2) {
92 if (!availableFpsRanges.count) return NO_INIT;
104 for (size_t i=0; i < availableFpsRanges.count; i += 2) {
127 for (size_t i=0; i < availableFormats.count; i++) {
184 for (size_t i=0; i < availableFpsRanges.count; i += 2) {
213 if (!availableJpegSizes.count) return NO_INIT;
224 for (size_t i=0; i < availableJpegSizes.count; i += 2) {
240 if (!availableJpegThumbnailSizes.count) return NO_INIT;
253 for (size_t i=0; i < availableJpegThumbnailSizes.count;
[all...]
H A DStreamingProcessor.cpp206 status_t StreamingProcessor::setRecordingBufferCount(size_t count) { argument
208 // 32 is the current upper limit on the video buffer count for BufferQueue
211 if (count > 32) {
212 ALOGE("%s: Camera %d: Error setting %d as video buffer count value",
213 __FUNCTION__, client->getCameraId(), count);
220 if (mRecordingHeapCount != count) {
225 mRecordingHeapCount = count;
H A DStreamingProcessor.h53 status_t setRecordingBufferCount(size_t count);
H A DZslProcessor.cpp273 if (entry.count == 0) {
477 if (entry.count == 0) {
521 if (entry.count > 0) frameTimestamp = entry.data.i64[0];
523 if (entry.count > 0) frameAeState = entry.data.u8[0];
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp177 void assertNotify(int32_t msgType, OP op, int count);
178 void assertData(int32_t msgType, OP op, int count);
179 void waitNotify(int32_t msgType, OP op, int count);
180 void waitData(int32_t msgType, OP op, int count);
224 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) { argument
227 assertTest(op, v, count);
230 void MCameraClient::assertData(int32_t msgType, OP op, int count) { argument
233 assertTest(op, v, count);
280 void MCameraClient::waitNotify(int32_t msgType, OP op, int count) { argument
281 INFO("waitNotify: %d, %d, %d", msgType, op, count);
292 waitData(int32_t msgType, OP op, int count) argument
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java1010 int count = 0;
1016 if (count == 2) {
1027 count++;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp417 int fps, width, height, count, pause; local
426 else if (sscanf(l, " %c %d %d %s", &pathType, &count, &pause, path) == 4) {
427 //LOGD("> type=%c, count=%d, pause=%d, path=%s", pathType, count, pause, path);
430 part.count = count;
502 for (int r=0 ; !part.count || r<part.count ; r++) {
514 if (part.count != 1) {
561 if(exitPending() && !part.count)
[all...]
H A DBootAnimation.h69 int count; member in struct:android::BootAnimation::Animation::Part
/frameworks/base/cmds/installd/
H A Dinstalld.c155 static int readx(int s, void *_buf, int count) argument
159 if (count < 0) return -1;
160 while (n < count) {
161 r = read(s, buf + n, count - n);
176 static int writex(int s, const void *_buf, int count) argument
180 if (count < 0) return -1;
181 while (n < count) {
182 r = write(s, buf + n, count - n);
204 unsigned short count; local
247 count
533 int lsocket, s, count; local
571 unsigned short count; local
[all...]
H A Dinstalld.h92 size_t count; member in struct:__anon949
H A Dutils.c802 for (i = 0; i < android_system_dirs.count; i++) {
/frameworks/base/cmds/installd/tests/
H A Dinstalld_utils_test.cpp64 android_system_dirs.count = 2;
66 android_system_dirs.dirs = (dir_rec_t*) calloc(android_system_dirs.count, sizeof(dir_rec_t));
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java290 int count = packages.size();
291 for (int p = 0 ; p < count ; p++) {
361 int count = (list != null) ? list.size() : 0;
362 for (int p = 0; p < count; p++) {
399 int count = (list != null) ? list.size() : 0;
400 for (int p = 0; p < count; p++) {
448 int count = (list != null) ? list.size() : 0;
449 for (int p = 0; p < count; p++) {
475 int count = pgs.size();
476 for (int p = 0 ; p < count ;
[all...]
/frameworks/base/cmds/servicemanager/
H A Dbinder.c26 unsigned count; local
28 for (count = 0; count < len; count++) {
29 if ((count & 15) == 0)
30 fprintf(stderr,"%04x:", count);
34 if ((count & 15) == 15)
37 if ((count & 15) != 0)
45 unsigned count = txn->offs_size / 4; local
52 while (count
[all...]
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java784 int count = layoutChangeListenerMap.size();
785 if (count > 0) {
H A DValueAnimator.java577 int count = pendingCopy.size();
578 for (int i = 0; i < count; ++i) {
745 * count is 0, the animation is never repeated. If the repeat count is
747 * into account. The repeat count is 0 by default.
766 * setting is applied only when the repeat count is either greater than
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java224 final int count = getChildCount();
231 for (int i = 0; i < count; i++) {
H A DLauncherActivity.java199 results.count = list.size();
205 int count = values.size();
207 ArrayList<ListItem> newValues = new ArrayList<ListItem>(count);
209 for (int i = 0; i < count; i++) {
226 results.count = newValues.size();
236 if (results.count > 0) {
H A DLoaderManager.java882 final int count = mLoaders.size();
883 for (int i = 0; i < count; i++) {
H A DMediaRouteButton.java239 int count = 0;
246 count += ((RouteGroup) route).getRouteCount();
248 count++;
256 setEnabled(count != 0);
260 mToggleMode = count == 2 && (mRouteTypes & MediaRouter.ROUTE_TYPE_LIVE_AUDIO) != 0 &&
H A DSearchableInfo.java712 * @return the max results count, if specified in the searchable
827 for (int count = in.readInt(); count > 0; count--) {
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java607 final int count = size();
608 dest.writeInt(count);
609 for (int i = 0; i < count; i++) {
620 final int count = source.readInt();
621 for (int i = 0; i < count; i++) {
/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);
H A DBluetoothTetheringDataTracker.java279 short count = 0;
283 ++count;
287 return count;
/frameworks/base/core/java/android/content/
H A DContentProvider.java850 int count = (c != null) ? c.getCount() : 0;
851 if (count != 1) {
857 if (count == 0) {

Completed in 190 milliseconds

1234567891011>>