/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 95 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 D | TvInputService.java | 804 * @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 D | android_mtp_MtpDatabase.cpp | 368 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 D | MutableFrameFormat.java | 81 public void setDimensionCount(int count) { argument 82 mDimensions = new int[count];
|
H A D | NativeBuffer.java | 39 public NativeBuffer(int count) { argument 40 allocate(count * getElementSize()); 63 public int count() { method in class:NativeBuffer
|
H A D | ShaderProgram.java | 222 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 D | ObjectFormat.java | 29 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 D | PrimitiveFormat.java | 28 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 D | Point.java | 88 public Point rotated90(int count) { argument 91 for (int i = 0; i < count; ++i) {
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_frame.cpp | 124 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 D | jni_util.cpp | 58 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 D | shader_program.cpp | 348 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 D | value.cpp | 47 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 D | value.h | 31 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 D | ActivityTestsBase.java | 60 public void setInternalIterations(int count) { argument
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MemoryFileTest.java | 123 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 D | AsecTests.java | 609 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 D | SpannedTest.java | 175 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 D | UndoManager.java | 228 * 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 D | MacAuthenticatedInputStream.java | 71 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 D | AssetFileDescriptor.java | 225 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 D | BulkCursorDescriptor.java | 47 public int count; field in class:BulkCursorDescriptor 60 out.writeInt(count); 73 count = in.readInt();
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1831 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 D | SoftInputWindow.java | 153 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 D | RequestHandle.java | 125 * @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)
|