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

1234567891011>>

/frameworks/native/services/sensorservice/
H A DGravitySensor.h40 GravitySensor(sensor_t const* list, size_t count);
H A DLinearAccelerationSensor.h42 LinearAccelerationSensor(sensor_t const* list, size_t count);
H A DLinearAccelerationSensor.cpp32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) argument
34 mGravitySensor(list, count)
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java132 int count = mSounds.length;
133 for (int index = 0; index < count; index++) {
154 int count = mScale.length;
155 for (int step = 0; step < count; step++) {
176 int count = mScale.length;
186 for (int step = 1; step < count; step++) {
256 for (int count = 0; count < 5; count++) {
279 for (int count
[all...]
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java318 * Assert the specified group's integrity. The children count should be >= 0 and each
324 final int count = parent.getChildCount();
325 assertTrue("child count should be >= 0", count >= 0);
327 for (int i = 0; i < count; i++) {
340 final int count = parent.getChildCount();
341 assertTrue("Child count should be >= 0", count >= 0);
344 for (int i = 0; i < count; i++) {
364 final int count
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c171 unsigned count = 0; local
182 count = count * 10 + (ch - '0');
184 count = ch - '0';
203 expectedContext = (void *) count;
216 for (i = 0; i < (in_count ? count : 1); ++i) {
227 if (bufqstate.count != 0)
228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count);
239 printf("count=%u\r\n", (unsigned) bufqstate.count);
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java847 final int count = mChildrenCount;
850 for (int i = 0; i < count; i++) {
871 final int count = mChildrenCount;
874 for (int i = 0; i < count; i++) {
931 final int count = mChildrenCount;
933 for (int i = 0; i < count; i++) {
945 final int count = mChildrenCount;
948 for (int i = 0; i < count; i++) {
962 final int count = mChildrenCount;
964 for (int i = 0; i < count;
3454 removeFromArray(int start, int count) argument
3502 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument
3553 removeViewsInLayout(int start, int count) argument
3582 removeViews(int start, int count) argument
3674 removeViewsInternal(int start, int count) argument
3956 detachViewsFromParent(int start, int count) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java135 final int count = strokes.size();
139 for (int index = 0; index < count; index++) {
284 int count = pts.length / 2;
285 while (i < count) {
288 if (i >= count) {
333 int count = points.length;
334 for (int i = 0; i < count; i++) {
340 center[0] = 2 * centerX / count;
341 center[1] = 2 * centerY / count;
358 int count
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java53 public int count; field in class:EventRecurrence
296 int count, int[] values)
298 if (count > 0) {
300 count--;
301 for (int i=0; i<count; i++) {
305 s.append(values[count]);
356 if (this.count != 0) {
358 s.append(this.count);
376 int count = this.bydayCount;
377 if (count >
295 appendNumbers(StringBuilder s, String label, int count, int[] values) argument
[all...]
/frameworks/base/core/java/android/util/
H A DBase64.java574 private int count; field in class:Base64.Encoder
592 count = do_newline ? LINE_GROUPS : -1;
608 int count = this.count;
650 if (--count == 0) {
653 count = LINE_GROUPS;
672 if (--count == 0) {
675 count = LINE_GROUPS;
714 } else if (do_newline && op > 0 && count != LINE_GROUPS) {
734 this.count
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java73 int count = 0;
74 for (int i = offset; count < length; i++) {
80 if (++count == length) break;
85 ++count;
243 int count = 0;
244 while (count < len && data[offset + count] >= 0)
245 count++;
248 offset, count));
250 offset += count;
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselRS.java476 public void createCards(int count) argument
481 if (mCards != null && count > 0) {
484 mCards.resize(count);
485 mScript.invoke_createCards(oldSize, count);
488 mCards = new ScriptField_Card(mRS, count > 0 ? count : 1);
490 mScript.invoke_createCards(0, count);
494 public void setVisibleSlots(int count) argument
496 mVisibleSlots = count;
497 mScript.set_visibleSlotCount(count);
500 setVisibleDetails(int count) argument
504 setRowCount(int count) argument
521 setPrefetchCardCount(int count) argument
530 resizeProgramStoresCard(int count) argument
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp68 ssize_t AudioStreamInSource::read(void *buffer, size_t count) argument
73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift);
H A DAudioStreamOutSink.cpp54 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument
60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift);
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument
54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
H A DH264SwDecApi.h170 void H264SwDecMemcpy(void *dest, void *src, u32 count);
173 void H264SwDecMemset(void *ptr, i32 value, u32 count);
/frameworks/base/core/java/android/nfc/
H A DApduList.java41 int count = in.readInt();
43 for (int i = 0 ; i < count ; i++) {
/frameworks/base/core/java/android/widget/
H A DCursorFilter.java53 results.count = cursor.getCount();
56 results.count = 0;
H A DSimpleAdapter.java155 final int count = to.length;
157 for (int i = 0; i < count; i++) {
336 results.count = list.size();
341 int count = unfilteredValues.size();
343 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count);
345 for (int i = 0; i < count; i++) {
370 results.count = newValues.size();
380 if (results.count > 0) {
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java54 public void write(char[] buf, int offset, int count) { argument
55 final int bufferEnd = offset + count;
/frameworks/base/location/java/com/android/internal/location/
H A DProviderRequest.java53 int count = in.readInt();
54 for (int i = 0; i < count; i++) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DNewLayersActivity.java65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags);
74 canvas.restoreToCount(count);
H A DTextPathActivity.java71 int count = text.length();
72 mHugePaint.getTextPath(text, 0, count, 0, 0, path);
/frameworks/native/include/ui/
H A DFence.h92 int fds[], size_t count) const;
94 int fds[], size_t count);
/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorFilter.java54 results.count = cursor.getCount();
57 results.count = 0;

Completed in 594 milliseconds

1234567891011>>