/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 75 final int type = data[index+AssetManager.STYLE_TYPE]; in getText() local 76 if (type == TypedValue.TYPE_NULL) { in getText() 78 } else if (type == TypedValue.TYPE_STRING) { in getText() 88 + Integer.toHexString(type)); in getText() 103 final int type = data[index+AssetManager.STYLE_TYPE]; in getString() local 104 if (type == TypedValue.TYPE_NULL) { in getString() 106 } else if (type == TypedValue.TYPE_STRING) { in getString() 117 + Integer.toHexString(type)); in getString() 138 final int type = data[index+AssetManager.STYLE_TYPE]; in getNonResourceString() local 139 if (type == TypedValue.TYPE_STRING) { in getNonResourceString() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | TonesAutoTest.java | 37 int type; in tonesDtmfTest() local 42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) { in tonesDtmfTest() 43 if (toneGen.startTone(type)) { in tonesDtmfTest() 61 int type; in tonesSupervisoryTest() local 66 for (type = ToneGenerator.TONE_SUP_DIAL; in tonesSupervisoryTest() 67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) { in tonesSupervisoryTest() 68 if (toneGen.startTone(type)) { in tonesSupervisoryTest() 78 for (type = ToneGenerator.TONE_SUP_INTERCEPT; in tonesSupervisoryTest() 79 type <= ToneGenerator.TONE_SUP_PIP; type++) { in tonesSupervisoryTest() 80 if (toneGen.startTone(type)) { in tonesSupervisoryTest() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AuthenticatorDescription.java | 11 final public String type; field in AuthenticatorDescription 32 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument 34 if (type == null) throw new IllegalArgumentException("type cannot be null"); in AuthenticatorDescription() 36 this.type = type; in AuthenticatorDescription() 49 public static AuthenticatorDescription newKey(String type) { in newKey() argument 50 if (type == null) throw new IllegalArgumentException("type cannot be null"); in newKey() 51 return new AuthenticatorDescription(type); in newKey() 54 private AuthenticatorDescription(String type) { in AuthenticatorDescription() argument 55 this.type = type; in AuthenticatorDescription() 64 this.type = source.readString(); in AuthenticatorDescription() [all …]
|
D | Account.java | 30 public final String type; field in Account 36 return name.equals(other.name) && type.equals(other.type); in equals() 42 result = 31 * result + type.hashCode(); in hashCode() 46 public Account(String name, String type) { in Account() argument 50 if (TextUtils.isEmpty(type)) { in Account() 51 throw new IllegalArgumentException("the type must not be empty: " + type); in Account() 54 this.type = type; in Account() 59 this.type = in.readString(); in Account() 68 dest.writeString(type); in writeToParcel() 82 return "Account {name=" + name + ", type=" + type + "}"; in toString()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleHeap.java | 34 public static final int CHUNK_HPIF = type("HPIF"); 35 public static final int CHUNK_HPSG = type("HPSG"); 36 public static final int CHUNK_HPDU = type("HPDU"); 37 public static final int CHUNK_NHSG = type("NHSG"); 38 public static final int CHUNK_HPGC = type("HPGC"); 39 public static final int CHUNK_REAE = type("REAE"); 40 public static final int CHUNK_REAQ = type("REAQ"); 41 public static final int CHUNK_REAL = type("REAL"); 80 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); in handleChunk() 81 int type = request.type; in handleChunk() local [all …]
|
D | DdmHandleProfiling.java | 33 public static final int CHUNK_MPRS = type("MPRS"); 34 public static final int CHUNK_MPRE = type("MPRE"); 35 public static final int CHUNK_MPRQ = type("MPRQ"); 69 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); in handleChunk() 70 int type = request.type; in handleChunk() local 72 if (type == CHUNK_MPRS) { in handleChunk() 74 } else if (type == CHUNK_MPRE) { in handleChunk() 76 } else if (type == CHUNK_MPRQ) { in handleChunk() 80 + ChunkHandler.name(type)); in handleChunk()
|
D | DdmHandleThread.java | 32 public static final int CHUNK_THEN = type("THEN"); 33 public static final int CHUNK_THCR = type("THCR"); 34 public static final int CHUNK_THDE = type("THDE"); 35 public static final int CHUNK_THST = type("THST"); 36 public static final int CHUNK_STKL = type("STKL"); 70 Log.v("ddm-thread", "Handling " + name(request.type) + " chunk"); in handleChunk() 71 int type = request.type; in handleChunk() local 73 if (type == CHUNK_THEN) { in handleChunk() 75 } else if (type == CHUNK_THST) { in handleChunk() 77 } else if (type == CHUNK_STKL) { in handleChunk() [all …]
|
D | DdmHandleNativeHeap.java | 30 public static final int CHUNK_NHGT = type("NHGT"); 61 Log.i("ddm-nativeheap", "Handling " + name(request.type) + " chunk"); in handleChunk() 62 int type = request.type; in handleChunk() local 64 if (type == CHUNK_NHGT) { in handleChunk() 68 + ChunkHandler.name(type)); in handleChunk() 83 return new Chunk(ChunkHandler.type("NHGT"), data, 0, data.length); in handleNHGT()
|
/frameworks/base/tools/aidl/ |
D | aidl.cpp | 39 printf(" %s %s(", m->type.type.data, m->name.data); in test_document() 42 printf("%s %s",p->type.type.data,p->name.data); in test_document() 292 Type* type; local 295 type = new ParcelableType(p->package ? p->package : "", 300 type = new InterfaceType(c->package ? c->package : "", 309 Type* old = NAMES.Find(type->QualifiedName()); 311 NAMES.Add(type); 336 filename, type->DeclLine(), 337 type->QualifiedName().c_str()); 340 else if (type->Kind() != old->Kind()) { [all …]
|
D | aidl_language_y.y | 168 type IDENTIFIER '(' arg_list ')' ';' { 172 method->type = $1.type; 180 method->comments_token = &method->type.type; 183 | ONEWAY type IDENTIFIER '(' arg_list ')' ';' { 189 method->type = $2.type; 222 direction type IDENTIFIER { 226 arg->type = $2.type; 233 type: 235 $$.type.type = $1.buffer; 236 init_buffer_type(&$$.type.array_token, yylineno); [all …]
|
D | generate_java.cpp | 14 Variable* Get(Type* type); 29 VariableFactory::Get(Type* type) in Get() argument 34 Variable* v = new Variable(type, name); in Get() 49 StubClass(Type* type, Type* interfaceType); 61 StubClass::StubClass(Type* type, Type* interfaceType) in StubClass() argument 67 this->type = type; in StubClass() 189 ProxyClass(Type* type, InterfaceType* interfaceType); 196 ProxyClass::ProxyClass(Type* type, InterfaceType* interfaceType) in ProxyClass() argument 201 this->type = type; in ProxyClass() 338 decl->returnType = NAMES.Search(method->type.type.data); in generate_method() [all …]
|
/frameworks/base/media/libstagefright/ |
D | MetaData.cpp | 70 uint32_t type; in findCString() local 73 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) { in findCString() 83 uint32_t type; in findInt32() local 86 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) { in findInt32() 98 uint32_t type; in findFloat() local 101 if (!findData(key, &type, &data, &size) || type != TYPE_FLOAT) { in findFloat() 113 uint32_t type; in findPointer() local 116 if (!findData(key, &type, &data, &size) || type != TYPE_POINTER) { in findPointer() 128 uint32_t key, uint32_t type, const void *data, size_t size) { in setData() argument 141 item.setData(type, data, size); in setData() [all …]
|
/frameworks/base/awt/java/awt/geom/ |
D | Arc2D.java | 116 public Float(int type) { in Float() argument 117 super(type); in Float() 142 int type) { in Float() argument 143 super(type); in Float() 166 public Float(Rectangle2D bounds, float start, float extent, int type) { in Float() argument 167 super(type); in Float() 213 double extent, int type) { in setArc() argument 214 this.setArcType(type); in setArc() 295 public Double(int type) { in Double() argument 296 super(type); in Double() [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | RenameClassAdapter.java | 87 String renameType(Type type) { in renameType() argument 88 if (type == null) { in renameType() 92 if (type.getSort() == Type.OBJECT) { in renameType() 93 String in = type.getInternalName(); in renameType() 95 } else if (type.getSort() == Type.ARRAY) { in renameType() 97 for (int n = type.getDimensions(); n > 0; n--) { in renameType() 100 sb.append(renameType(type.getElementType())); in renameType() 103 return type.getDescriptor(); in renameType() 112 Type renameTypeAsType(Type type) { in renameTypeAsType() argument 113 if (type == null) { in renameTypeAsType() [all …]
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
D | ualgobase.h | 203 #define UNROLLED_COPY_SPECIALIZATION(type) \ argument 204 template <> inline type* copy (const type* first, const type* last, type* result) \ 206 template <> inline type* copy_n (const type* first, size_t count, type* result) \ 208 #define UNROLLED_FILL_SPECIALIZATION(type) \ argument 209 template <> inline void fill (type* first, type* last, const type& value) \ 211 template <> inline type* fill_n (type* first, size_t count, const type& value) \ 233 #define COPY_ALIAS_FUNC(ctype, type, alias_type) \ argument 234 template <> inline type* copy (ctype* first, ctype* last, type* result) \ 235 { return ((type*) copy ((const alias_type*) first, (const alias_type*) last, (alias_type*) result))… 256 #define COPY_BACKWARD_ALIAS_FUNC(ctype, type, alias_type) \ argument [all …]
|
/frameworks/base/awt/java/awt/ |
D | Cursor.java | 163 private final int type; field in Cursor 198 public Cursor(int type) { in Cursor() argument 199 checkType(type); in Cursor() 200 this.type = type; in Cursor() 201 if ((type >= 0) && (type < predefinedNames.length)) { in Cursor() 202 name = predefinedNames[type] + " Cursor"; //$NON-NLS-1$ in Cursor() 218 type = CUSTOM_CURSOR; in Cursor() 262 return type; in getType() 272 public static Cursor getPredefinedCursor(int type) { in getPredefinedCursor() argument 273 checkType(type); in getPredefinedCursor() [all …]
|
/frameworks/base/core/java/android/pim/vcard/ |
D | ContactStruct.java | 78 public final int type; field in ContactStruct.PhoneData 84 public PhoneData(int type, String data, String label, boolean isPrimary) { in PhoneData() argument 85 this.type = type; in PhoneData() 97 return (type == phoneData.type && data.equals(phoneData.data) && in equals() 104 type, data, label, isPrimary); in toString() 112 public final int type; field in ContactStruct.EmailData 119 public EmailData(int type, String data, String label, boolean isPrimary) { in EmailData() argument 120 this.type = type; in EmailData() 132 return (type == emailData.type && data.equals(emailData.data) && in equals() 139 type, data, label, isPrimary); in toString() [all …]
|
/frameworks/base/tests/AndroidTests/res/raw/ |
D | calendarjs.txt | 1 …type":"text","$t":"w g"},"subtitle":{"type":"text","$t":"w g"},"link":[{"rel":"http://schemas.goog…
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 139 static void throwUnknowTypeException(JNIEnv * env, jint type) in throwUnknowTypeException() argument 142 snprintf(buf, sizeof(buf), "UNKNOWN type %d", type); in throwUnknowTypeException() 159 uint8_t type = field.type; in getLong_native() local 160 if (type == FIELD_TYPE_INTEGER) { in getLong_native() 166 } else if (type == FIELD_TYPE_STRING) { in getLong_native() 179 } else if (type == FIELD_TYPE_FLOAT) { in getLong_native() 185 } else if (type == FIELD_TYPE_NULL) { in getLong_native() 187 } else if (type == FIELD_TYPE_BLOB) { in getLong_native() 191 throwUnknowTypeException(env, type); in getLong_native() 209 uint8_t type = field.type; in getBlob_native() local [all …]
|
/frameworks/base/awt/java/awt/event/ |
D | AdjustmentEvent.java | 52 private int type; field in AdjustmentEvent 56 public AdjustmentEvent(Adjustable source, int id, int type, int value) { in AdjustmentEvent() argument 57 this(source, id, type, value, false); in AdjustmentEvent() 60 public AdjustmentEvent(Adjustable source, int id, int type, int value, in AdjustmentEvent() argument 63 this.type = type; in AdjustmentEvent() 73 return type; in getAdjustmentType() 99 switch (type) { in paramString()
|
/frameworks/base/awt/org/apache/harmony/awt/wtk/ |
D | CursorFactory.java | 43 public abstract NativeCursor createCursor(int type); in createCursor() argument 52 public NativeCursor getCursor(int type) { in getCursor() argument 53 if (type >= 0 && type < systemCursors.length) { in getCursor() 54 NativeCursor cursor = systemCursors[type]; in getCursor() 56 cursor = createCursor(type); in getCursor() 57 systemCursors[type] = cursor; in getCursor()
|
/frameworks/base/libs/rs/ |
D | spec.l | 76 currType->type = 1; 82 currType->type = 1; 88 currType->type = 1; 94 currType->type = 1; 100 currType->type = 2; 106 currType->type = 2; 112 currType->type = 2; 118 currType->type = 2; 124 currType->type = 3; 130 currType->type = 3; [all …]
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 51 public PatternMatcher(String pattern, int type) { in PatternMatcher() argument 53 mType = type; in PatternMatcher() 69 String type = "? "; in toString() local 72 type = "LITERAL: "; in toString() 75 type = "PREFIX: "; in toString() 78 type = "GLOB: "; in toString() 81 return "PatternMatcher{" + type + mPattern + "}"; in toString() 109 static boolean matchPattern(String pattern, String match, int type) { in matchPattern() argument 111 if (type == PATTERN_LITERAL) { in matchPattern() 113 } if (type == PATTERN_PREFIX) { in matchPattern() [all …]
|
/frameworks/base/opengl/libs/GLES_CM/ |
D | gl.cpp | 42 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 44 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 46 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 48 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 52 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, in glColorPointerBounds() argument 54 glColorPointer(size, type, stride, ptr); in glColorPointerBounds() 56 void glNormalPointerBounds(GLenum type, GLsizei stride, in glNormalPointerBounds() argument 58 glNormalPointer(type, stride, pointer); in glNormalPointerBounds() 60 void glTexCoordPointerBounds(GLint size, GLenum type, in glTexCoordPointerBounds() argument 62 glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointerBounds() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES10.java | 386 int type, in glColorPointerBounds() argument 394 int type, in glColorPointer() argument 400 type, in glColorPointer() 406 ((type == GL_FLOAT) || in glColorPointer() 407 (type == GL_UNSIGNED_BYTE) || in glColorPointer() 408 (type == GL_FIXED)) && in glColorPointer() 539 int type, in glDrawElements() argument 948 int type, in glNormalPointerBounds() argument 955 int type, in glNormalPointer() argument 960 type, in glNormalPointer() [all …]
|