Searched defs:count (Results 226 - 250 of 430) sorted by last modified time

1234567891011>>

/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c95 int count = desc_length - offset; local
96 if (count > max_packet) count = max_packet;
98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n",
99 offset, count, desc_length);
101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000);
103 offset += count;
167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); local
168 if (count < (int)sizeof(*event)) {
174 while (count >
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java804 * @param count The number of times the action was made.
810 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp368 int count = env->GetIntField(list, field_mCount); local
369 if (result == MTP_RESPONSE_OK && count != 1)
677 int count = env->GetIntField(list, field_mCount); local
680 packet.putUInt32(count);
681 if (count > 0) {
693 for (int i = 0; i < count; i++) {
948 int count = sizeof(kObjectPropertyTable) / sizeof(kObjectPropertyTable[0]); local
950 for (int i = 0; i < count; i++, entry++) {
960 int count = sizeof(kDevicePropertyTable) / sizeof(kDevicePropertyTable[0]); local
962 for (int i = 0; i < count;
992 int count = references->size(); local
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java81 public void setDimensionCount(int count) { argument
82 mDimensions = new int[count];
H A DNativeBuffer.java39 public NativeBuffer(int count) { argument
40 allocate(count * getElementSize());
63 public int count() { method in class:NativeBuffer
H A DShaderProgram.java222 public void setVertexCount(int count) { argument
223 if (!setShaderVertexCount(count)) {
224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument
33 if (count != FrameFormat.SIZE_UNSPECIFIED) {
34 result.setDimensions(count);
50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument
53 : fromClass(object.getClass(), count, target);
H A DPrimitiveFormat.java28 public static MutableFrameFormat createByteFormat(int count, int target) { argument
29 return createFormat(FrameFormat.TYPE_BYTE, count, target);
32 public static MutableFrameFormat createInt16Format(int count, int target) { argument
33 return createFormat(FrameFormat.TYPE_INT16, count, target);
36 public static MutableFrameFormat createInt32Format(int count, int target) { argument
37 return createFormat(FrameFormat.TYPE_INT32, count, target);
40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument
41 return createFormat(FrameFormat.TYPE_FLOAT, count, target);
44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument
45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe
68 createFormat(int baseType, int count, int target) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java88 public Point rotated90(int count) { argument
91 for (int i = 0; i < count; ++i) {
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.cpp124 const int count = size / sizeof(jint); local
125 jintArray result = env->NewIntArray(count);
126 env->SetIntArrayRegion(result, 0, count, reinterpret_cast<const jint*>(data));
158 const int count = size / sizeof(jfloat); local
159 jfloatArray result = env->NewFloatArray(count);
160 env->SetFloatArrayRegion(result, 0, count, reinterpret_cast<const jfloat*>(data));
H A Djni_util.cpp58 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted.");
75 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted.");
149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); local
150 result = MakeIntArrayValue(elems, count);
154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); local
155 result = MakeFloatArrayValue(elems, count);
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp348 GLuint ShaderProgram::LinkProgram(GLuint* shaders, GLuint count) { argument
352 for (GLuint i = 0; i < count; ++i) {
662 // Here we return the minimum of the max uniform count for fragment and vertex
704 int count) {
709 if (count == 0)
722 if (!CheckValueCount("Uniform (int)", name, capacity, components, count)
723 || !CheckValueMult ("Uniform (int)", name, components, count))
727 const int n = count / components;
755 int count) {
760 if (count
702 SetUniformValue(ProgramVar var, const int* values, int count) argument
753 SetUniformValue(ProgramVar var, const float* values, int count) argument
1117 SetVertexCount(int count) argument
[all...]
H A Dvalue.cpp47 result.count = 1;
53 Value MakePtrValue(const BASE* values, int count) { argument
56 result.value = malloc(sizeof(BASE) * count);
57 memcpy(result.value, values, sizeof(BASE) * count);
58 result.count = count;
67 value->count = 1;
77 int SetPtrValue(Value* value, const BASE* new_values, int count) { argument
80 value->value = malloc(sizeof(BASE) * count);
81 value->count
193 MakeIntArrayValue(const int* values, int count) argument
197 MakeFloatArrayValue(const float* values, int count) argument
217 SetIntArrayValue(Value* value, const int* new_values, int count) argument
221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument
[all...]
H A Dvalue.h31 int count; member in struct:__anon991
61 Value MakeIntArrayValue(const int* values, int count);
62 Value MakeFloatArrayValue(const float* values, int count);
69 int SetIntArrayValue(Value* value, const int* new_values, int count);
70 int SetFloatArrayValue(Value* value, const float* new_values, int count);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java60 public void setInternalIterations(int count) { argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java123 private void readIndexOutOfBoundsException(int offset, int count, String msg) argument
131 is.read(buffer, offset, count);
164 "read() with offset + count outside buffer should throw IndexOutOfBoundsException");
176 // read() with count larger than data should succeed, and return # of bytes read
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java609 int count = 0; field in class:AsecTests.MultipleStorageLis
611 count++;
648 assertEquals(observer.count, 1);
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java175 public void beforeTextChanged(CharSequence s, int start, int count, argument
178 int count) {
177 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/content/
H A DUndoManager.java228 * Perform undo of last/top <var>count</var> undo states. The states impacted
233 * @param count Number of undo states to pop.
236 public int undo(UndoOwner[] owners, int count) { argument
251 while (count > 0 && (i=findPrevState(mUndos, owners, i)) >= 0) {
255 count--;
265 * Perform redo of last/top <var>count</var> undo states in the transient redo stack.
270 * @param count Number of undo states to pop.
273 public int redo(UndoOwner[] owners, int count) { argument
283 while (count > 0 && (i=findPrevState(mRedos, owners, i)) >= 0) {
287 count
305 forgetUndos(UndoOwner[] owners, int count) argument
323 forgetRedos(UndoOwner[] owners, int count) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java225 public int read(byte[] buffer, int offset, int count) throws IOException { argument
228 if (count > mRemaining) count = (int)mRemaining;
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
243 public long skip(long count) throws IOException { argument
246 if (count > mRemaining) count = mRemaining;
247 long res = super.skip(count);
252 return super.skip(count);
300 write(byte[] buffer, int offset, int count) argument
[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/java/android/inputmethodservice/
H A DInputMethodService.java1831 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
1832 return doMovementKey(keyCode, event, count);
1900 void reportExtractedMovement(int keyCode, int count) { argument
1904 dx = -count;
1907 dx = count;
1910 dy = -count;
1913 dy = count;
1919 boolean doMovementKey(int keyCode, KeyEvent event, int count) { argument
1930 if (count == MOVEMENT_DOWN) {
1936 } else if (count
[all...]
H A DSoftInputWindow.java153 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
154 if (mKeyEventCallback != null && mKeyEventCallback.onKeyMultiple(keyCode, count, event)) {
157 return super.onKeyMultiple(keyCode, count, event);
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java125 * @return true if we've hit the max redirect count
135 public void setRedirectCount(int count) { argument
136 mRedirectCount = count;
146 * count exceeded, body provider unable to rewind on 307 redirect)

Completed in 7815 milliseconds

1234567891011>>