/frameworks/base/core/jni/android/graphics/ |
H A D | Graphics.cpp | 555 const char fieldname[], const char type[]) 557 jfieldID id = env->GetFieldID(clazz, fieldname, type); 554 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 565 static int checkFormat(SkBitmap::Config config, int format, int type) argument 573 if (type == GL_UNSIGNED_BYTE) 577 switch (type) { 621 return -1; // No type for compressed data. 651 jobject jbitmap, jint type, jint border) 660 if (type < 0) { 661 type = getType(config); 663 int err = checkFormat(config, internalformat, type); 691 glTexImage2D(target, level, internalformat, w, h, border, internalformat, type, p); 700 jobject jbitmap, jint format, jint type) 649 util_texImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jobject jbitmap, jint type, jint border) argument 698 util_texSubImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jobject jbitmap, jint format, jint type) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_BackupDataInput.cpp | 56 int type = 0; local 58 err = reader->ReadNextHeader(&done, &type); 67 switch (type) { 83 ALOGD("Unknown header type: 0x%08x\n", type);
|
H A D | android_database_CursorWindow.cpp | 55 static void throwUnknownTypeException(JNIEnv * env, jint type) { argument 57 msg.appendFormat("UNKNOWN type %d", type); 155 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); 178 int32_t type = window->getFieldSlotType(fieldSlot); local 179 if (type == CursorWindow::FIELD_TYPE_BLOB || type == CursorWindow::FIELD_TYPE_STRING) { 190 } else if (type == CursorWindow::FIELD_TYPE_INTEGER) { 192 } else if (type == CursorWindow::FIELD_TYPE_FLOAT) { 194 } else if (type 213 int32_t type = window->getFieldSlotType(fieldSlot); local 305 int32_t type = window->getFieldSlotType(fieldSlot); local 344 int32_t type = window->getFieldSlotType(fieldSlot); local 375 int32_t type = window->getFieldSlotType(fieldSlot); local [all...] |
H A D | android_database_SQLiteConnection.cpp | 586 int type = sqlite3_column_type(statement, i); local 587 if (type == SQLITE_TEXT) { 604 } else if (type == SQLITE_INTEGER) { 615 } else if (type == SQLITE_FLOAT) { 626 } else if (type == SQLITE_BLOB) { 639 } else if (type == SQLITE_NULL) { 652 ALOGE("Unknown column type when filling database window"); 653 throw_sqlite3_exception(env, "Unknown column type when filling window");
|
H A D | android_emoji_EmojiFactory.cpp | 280 const char fieldname[], const char type[]) 282 jfieldID id = env->GetFieldID(clazz, fieldname, type); 279 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument
|
H A D | android_hardware_Camera.cpp | 290 // return data based on callback type 419 "Unsupported message type"); 812 jint type) 819 status_t rc = camera->sendCommand(CAMERA_CMD_START_FACE_DETECTION, type, 0); 822 snprintf(msg, sizeof(msg), "invalid face detection type=%d", type); 811 android_hardware_Camera_startFaceDetection(JNIEnv *env, jobject thiz, jint type) argument
|
H A D | android_hardware_SensorManager.cpp | 37 jfieldID type; member in struct:android::SensorOffsets 74 env->SetIntField(sensor, sensorOffsets.type, list->getType()); 158 sensorOffsets.type = _env->GetFieldID(sensorClass, "mType", "I");
|
H A D | android_net_TrafficStats.cpp | 122 static uint64_t getIfaceStatType(const char* iface, IfaceStatType type) { argument 130 switch (type) { 144 static jlong getTotalStat(JNIEnv* env, jclass clazz, jint type) { argument 145 return getIfaceStatType(NULL, (IfaceStatType) type); 148 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 152 uint64_t stat = getIfaceStatType(ifaceChars, (IfaceStatType) type);
|
H A D | android_nio_utils.cpp | 90 const char type[]) { 91 jfieldID f = env->GetFieldID(c, name, type); 89 getFieldID(JNIEnv* env, jclass c, const char name[], const char type[]) argument
|
H A D | android_opengl_GLES10.cpp | 32 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 34 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 36 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 38 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 287 /* void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */ 290 (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) { 304 (GLenum)type, 564 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 567 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) { 590 (GLenum)type, 289 android_glColorPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 566 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument 3103 android_glNormalPointerBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3216 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 3362 android_glTexCoordPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3672 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument 3726 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 3780 android_glVertexPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument [all...] |
H A D | android_opengl_GLES11.cpp | 32 GL_API void GL_APIENTRY glPointSizePointerOESBounds(GLenum type, GLsizei stride, 368 /* void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) */ 371 (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) { 374 (GLenum)type, 466 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) */ 469 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) { 476 (GLenum)type, 2313 /* void glNormalPointer ( GLenum type, GLsizei stride, GLint offset ) */ 2316 (JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) { 2318 (GLenum)type, 370 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 468 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument 2315 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument 2518 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2541 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 2971 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 32 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, 34 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, 2563 /* void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */ 2566 (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) { 2580 (GLenum)type, 2587 /* void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */ 2590 (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) { 2604 (GLenum)type, 2565 android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2589 android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument
|
H A D | android_opengl_GLES20.cpp | 121 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, argument 123 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 522 /* GLuint glCreateShader ( GLenum type ) */ 525 (JNIEnv *_env, jobject _this, jint type) { 528 (GLenum)type 931 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) */ 934 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) { 941 (GLenum)type, 949 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 952 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobjec 524 android_glCreateShader__I(JNIEnv *_env, jobject _this, jint type) argument 933 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument 951 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument 1382 GLenum *type = (GLenum *) 0; local 1502 GLenum *type = (GLenum *) 0; local 1551 GLenum *type = (GLenum *) 0; local 1647 GLenum *type = (GLenum *) 0; local 1710 GLenum *type = (GLenum *) 0; local 1830 GLenum *type = (GLenum *) 0; local 1881 GLenum *type = (GLenum *) 0; local 1976 GLenum *type = (GLenum *) 0; local 4282 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 4529 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument 4759 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 5965 android_glVertexAttribPointer__IIIZII(JNIEnv *_env, jobject _this, jint indx, jint size, jint type, jboolean normalized, jint stride, jint offset) argument 5979 android_glVertexAttribPointerBounds__IIIZILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint indx, jint size, jint type, jboolean normalized, jint stride, jobject ptr_buf, jint remaining) argument [all...] |
H A D | android_os_SELinux.cpp | 520 static int log_callback(int type, const char *fmt, ...) { argument
|
H A D | com_google_android_gles_jni_GLImpl.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 53 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 55 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 57 GL_API void GL_APIENTRY glPointSizePointerOESBounds(GLenum type, 59 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type, 61 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type, 415 /* void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */ 418 (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) { 432 (GLenum)type, 417 android_glColorPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 694 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument 3231 android_glNormalPointerBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3344 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 3490 android_glTexCoordPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3800 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument 3854 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 3908 android_glVertexPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 4356 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 4454 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument 6097 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument 6300 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 6323 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 6753 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 7169 android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 7193 android_glMatrixIndexPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 7205 android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 7229 android_glWeightPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/accounts/ |
H A D | AccountManagerServiceTest.java | 63 int result = object1.type.compareTo(object2.type); 177 mAms.invalidateAuthToken(a12.type, "a12_att2"); 202 AuthenticatorDescription type, int userId) { 204 if (service.type.equals(type)) { 201 getServiceInfo( AuthenticatorDescription type, int userId) argument
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 256 response.setHeader("Content-type", mFileType); 292 * @param type The type of data to generate: currently, one of {@link DataType#TEXT} or 296 protected byte[] generateData(int size, DataType type) { argument 297 return generateData(size, type, null); 304 * @param type The type of data to generate: currently, one of {@link DataType#TEXT} or 309 protected byte[] generateData(int size, DataType type, Random rng) { argument 314 if (type == DataType.TEXT) { 405 * Sets the MIME type o 409 setServerMimeType(DownloadFileType type) argument 419 getMimeMapping(DownloadFileType type) argument 587 createFileOnSD(String filename, long fileSize, DataType type, String subdirectory) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 497 public <T> T[] getSpans(int start, int end, Class<T> type) { argument 517 public int nextSpanTransition(int start, int limit, Class type) { argument
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmErrorEvent.java | 28 // Please add newly defined type constants to the end of the list, 67 // Add more type constants here... 70 // We may want to add a user-defined type constant, such as 79 * @param type Type of the event. Must be any of the event types defined above. 82 public DrmErrorEvent(int uniqueId, int type, String message) { argument 83 super(uniqueId, type, message); 84 checkTypeValidity(type); 91 * @param type Type of the event. Must be any of the event types defined above. 96 public DrmErrorEvent(int uniqueId, int type, String message, argument 98 super(uniqueId, type, messag 102 checkTypeValidity(int type) argument [all...] |
H A D | DrmEvent.java | 27 // Please do not add type constants in this class. More event type constants 58 * @param type Type of information. 62 protected DrmEvent(int uniqueId, int type, String message, argument 65 mType = type; 80 * @param type Type of information. 83 protected DrmEvent(int uniqueId, int type, String message) { argument 85 mType = type; 102 * Retrieves the type of information that is associated with this object. 104 * @return The type o [all...] |
H A D | DrmInfoEvent.java | 28 // Please add newly defined type constants to the end of the list, 57 // Add more type constants here... 60 // We may want to add a user-defined type constant, such as 68 * @param type Type of the event. Must be any of the event types defined above, 72 public DrmInfoEvent(int uniqueId, int type, String message) { argument 73 super(uniqueId, type, message); 74 checkTypeValidity(type); 81 * @param type Type of the event. Must be any of the event types defined above, 87 public DrmInfoEvent(int uniqueId, int type, String message, argument 89 super(uniqueId, type, messag 98 checkTypeValidity(int type) argument [all...] |
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 168 jint type = event.getType(); local 171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string()); 176 mObject, uniqueId, type, message);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 160 * Note that this method does not define what type of hardware acceleration 704 * @param type specifies how to treat the edges (BW or antialiased) 708 public boolean quickReject(RectF rect, EdgeType type) { argument 709 return native_quickReject(mNativeCanvas, rect, type.nativeInt); 721 * @param type true if the path should be considered antialiased, 728 public boolean quickReject(Path path, EdgeType type) { argument 729 return native_quickReject(mNativeCanvas, path.ni(), type.nativeInt); 746 * @param type true if the rect should be considered antialiased, 752 public boolean quickReject(float left, float top, float right, float bottom, EdgeType type) { argument 754 type [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 63 * copy it to the slave memory store. Both type checked and unchecked copies are provided. 156 * No mipmaps will be generated and the type generated from the 163 * type of the allocation will contain a full mipmap chain. On 169 * The type of the allocation will be the same as MIPMAP_NONE. 192 * Get the element of the type of the Allocation. 272 "32 bit integer source does not match allocation type " + mType.mElement.mType); 281 "16 bit integer source does not match allocation type " + mType.mElement.mType); 290 "8 bit integer source does not match allocation type " + mType.mElement.mType); 298 "32 bit float source does not match allocation type " + mType.mElement.mType); 315 "Object source does not match allocation type " 1013 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument 1036 createTyped(RenderScript rs, Type type, int usage) argument 1050 createTyped(RenderScript rs, Type type) argument [all...] |