Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/base/include/media/
DMetadata.h49 typedef int32_t Type; typedef
50 typedef SortedVector<Type> Filter;
52 static const Type kAny = 0;
55 static const Type kTitle = 1; // String
56 static const Type kComment = 2; // String
57 static const Type kCopyright = 3; // String
58 static const Type kAlbum = 4; // String
59 static const Type kArtist = 5; // String
60 static const Type kAuthor = 6; // String
61 static const Type kComposer = 7; // String
[all …]
/frameworks/base/tools/aidl/
DType.h10 class Type
26 Type(const string& name, int kind, bool canWriteToParcel,
28 Type(const string& package, const string& name,
31 virtual ~Type();
67 Type();
68 Type(const Type&);
80 class BasicType : public Type
111 class BooleanType : public Type
131 class CharType : public Type
152 class StringType : public Type
[all …]
DAST.h12 class Type; variable
38 virtual void GatherTypes(set<Type*>* types) const = 0;
59 Type* type;
64 Variable(Type* type, const string& name);
65 Variable(Type* type, const string& name, int dimension);
68 virtual void GatherTypes(set<Type*>* types) const;
76 Type* clazz;
80 FieldVariable(Type* clazz, const string& name);
97 virtual void GatherTypes(set<Type*>* types) const;
132 Type* cast;
[all …]
DType.cpp5 Type* VOID_TYPE;
6 Type* BOOLEAN_TYPE;
7 Type* BYTE_TYPE;
8 Type* CHAR_TYPE;
9 Type* INT_TYPE;
10 Type* LONG_TYPE;
11 Type* FLOAT_TYPE;
12 Type* DOUBLE_TYPE;
13 Type* STRING_TYPE;
14 Type* CHAR_SEQUENCE_TYPE;
[all …]
Dgenerate_java.cpp14 Variable* Get(Type* type);
29 VariableFactory::Get(Type* type) in Get()
49 StubClass(Type* type, Type* interfaceType);
58 void make_as_interface(Type* interfaceType);
61 StubClass::StubClass(Type* type, Type* interfaceType) in StubClass()
131 StubClass::make_as_interface(Type *interfaceType) in make_as_interface()
189 ProxyClass(Type* type, InterfaceType* interfaceType);
196 ProxyClass::ProxyClass(Type* type, InterfaceType* interfaceType) in ProxyClass()
261 generate_new_array(Type* t, StatementBlock* addTo, Variable* v, in generate_new_array()
276 generate_write_to_parcel(Type* t, StatementBlock* addTo, Variable* v, in generate_write_to_parcel()
[all …]
DAST.cpp75 Field::GatherTypes(set<Type*>* types) const in GatherTypes()
121 Variable::Variable(Type* t, const string& n) in Variable()
128 Variable::Variable(Type* t, const string& n, int d) in Variable()
140 Variable::GatherTypes(set<Type*>* types) const in GatherTypes()
169 FieldVariable::FieldVariable(Type* c, const string& n) in FieldVariable()
251 Assignment::Assignment(Variable* l, Expression* r, Type* c) in Assignment()
287 MethodCall::MethodCall(Type* t, const string& n) in MethodCall()
305 MethodCall::MethodCall(Type* t, const string& n, int argc = 0, ...) in MethodCall()
365 NewExpression::NewExpression(Type* t) in NewExpression()
382 NewArrayExpression::NewArrayExpression(Type* t, Expression* s) in NewArrayExpression()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java24 import org.objectweb.asm.Type;
38 private Type mReturnType;
51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubMethodAdapter()
78 int sort = mReturnType != null ? mReturnType.getSort() : Type.VOID; in generateInvoke()
80 case Type.VOID: in generateInvoke()
87 case Type.BOOLEAN: in generateInvoke()
88 case Type.CHAR: in generateInvoke()
89 case Type.BYTE: in generateInvoke()
90 case Type.SHORT: in generateInvoke()
91 case Type.INT: in generateInvoke()
[all …]
DDelegateMethodAdapter.java28 import org.objectweb.asm.Type;
155 Type.getObjectType(Type.getInternalName(LayoutlibDelegate.class)).toString(), in generateCode()
166 ArrayList<Type> paramTypes = new ArrayList<Type>(); in generateCode()
180 Type outerType = Type.getObjectType(outerClass); in generateCode()
202 paramTypes.add(Type.getObjectType(mClassName)); in generateCode()
206 Type[] argTypes = Type.getArgumentTypes(mDesc); in generateCode()
208 for (Type t : argTypes) { in generateCode()
218 String desc = Type.getMethodDescriptor( in generateCode()
219 Type.getReturnType(mDesc), in generateCode()
220 paramTypes.toArray(new Type[paramTypes.size()])); in generateCode()
[all …]
DRenameClassAdapter.java26 import org.objectweb.asm.Type;
79 return renameType(Type.getType(desc)); in renameTypeDesc()
87 String renameType(Type type) { in renameType()
92 if (type.getSort() == Type.OBJECT) { in renameType()
95 } else if (type.getSort() == Type.ARRAY) { in renameType()
112 Type renameTypeAsType(Type type) { in renameTypeAsType()
117 if (type.getSort() == Type.OBJECT) { in renameTypeAsType()
121 return Type.getType("L" + newIn + ";"); in renameTypeAsType()
123 } else if (type.getSort() == Type.ARRAY) { in renameTypeAsType()
129 return Type.getType(sb.toString()); in renameTypeAsType()
[all …]
DTransformClassAdapter.java24 import org.objectweb.asm.Type;
106 Type t = Type.getReturnType(desc); in visitMethod()
107 if (t.getSort() == Type.OBJECT) { in visitMethod()
167 Type returnType(String desc) { in returnType()
170 return Type.getReturnType(desc); in returnType()
/frameworks/base/libs/rs/
DrsType.cpp23 Type::Type(Context *rsc) : ObjectBase(rsc) in Type() function in Type
32 Type::~Type() in ~Type()
45 void Type::clear() in clear()
67 size_t Type::getOffsetForFace(uint32_t face) const in getOffsetForFace()
73 void Type::compute() in compute()
117 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const in getLODOffset()
124 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const in getLODOffset()
131 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const in getLODOffset()
139 void Type::makeGLComponents() in makeGLComponents()
207 void Type::enableGLVertexBuffer(VertexArray *va) const in enableGLVertexBuffer()
[all …]
DrsType.h28 class Type : public ObjectBase
31 Type(Context *);
32 virtual ~Type();
34 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
127 Type(const Type &);
145 Vector<Type *> mTypes;
DrsAllocation.h35 Allocation(Context *rsc, const Type *);
36 …Allocation(Context *rsc, const Type *, void *bmp, void *callbackData, RsBitmapCallback_t callback);
48 const Type * getType() const {return mType.get();} in getType()
81 ObjectBaseRef<const Type> mType;
120 void init(Context *rsc, const Type *);
DrsSimpleMesh.h35 ObjectBaseRef<const Type> mIndexType;
36 ObjectBaseRef<const Type> mPrimitiveType;
37 ObjectBaseRef<const Type> *mVertexTypes;
/frameworks/base/graphics/java/android/renderscript/
DType.java25 public class Type extends BaseObj { class
97 Type(int id, RenderScript rs) { in Type() method in Type
111 public static Type createFromClass(RenderScript rs, Class c, int size) { in createFromClass()
115 Type t = b.create(); in createFromClass()
149 public static Type createFromClass(RenderScript rs, Class c, int size, String scriptName) { in createFromClass()
150 Type t = createFromClass(rs, c, size); in createFromClass()
192 static synchronized Type internalCreate(RenderScript rs, Builder b) { in internalCreate()
199 return new Type(id, rs); in internalCreate()
202 public Type create() { in create()
203 Type t = internalCreate(mRS, this); in create()
DProgram.java36 Type mConstants[];
74 Type mConstants[];
75 Type mTextures[];
87 mConstants = new Type[MAX_CONSTANT]; in BaseProgramBuilder()
114 public int addConstant(Type t) throws IllegalStateException { in addConstant()
136 p.mConstants = new Type[mConstantCount]; in initProgram()
DSimpleMesh.java27 Type[] mVertexTypes;
28 Type mIndexType;
57 public Type getVertexType(int slot) { in getVertexType()
61 public Type getIndexType() { in getIndexType()
69 Type t;
88 public int addVertexType(Type t) throws IllegalStateException { in addVertexType()
113 public void setIndexType(Type t) { in setIndexType()
130 Type newType(Element e, int size) { in newType()
131 Type.Builder tb = new Type.Builder(mRS, e); in newType()
137 Type[] toDestroy = new Type[18]; in internalCreate()
[all …]
DAllocation.java34 Type mType;
37 Allocation(int id, RenderScript rs, Type t) { in Allocation()
43 public Type getType() { in getType()
240 static public Allocation createTyped(RenderScript rs, Type type) in createTyped()
255 Type.Builder b = new Type.Builder(rs, e); in createSized()
257 Type t = b.create(); in createSized()
283 static private Type typeFromBitmap(RenderScript rs, Bitmap b) { in typeFromBitmap()
285 Type.Builder tb = new Type.Builder(rs, e); in typeFromBitmap()
295 Type t = typeFromBitmap(rs, b); in createFromBitmap()
308 Type t = typeFromBitmap(rs, b); in createBitmapRef()
DScript.java26 Type[] mTypes;
82 Type[] mTypes;
90 mTypes = new Type[MAX_SLOT]; in Builder()
96 public void setType(Type t, int slot) { in setType()
101 public void setType(Type t, String name, int slot) { in setType()
/frameworks/base/tools/preload/
DRecord.java35 enum Type { enum in Record
65 final Type type;
82 case '>': type = Type.START_LOAD; break; in Record()
83 case '<': type = Type.END_LOAD; break; in Record()
84 case '+': type = Type.START_INIT; break; in Record()
85 case '-': type = Type.END_INIT; break; in Record()
DOperation.java31 enum Type { enum in Operation
45 final Type type;
58 int index, Type type) { in Operation()
/frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Init.c81 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Type = LVCS_PERSISTENT; in LVCS_Memory()
88 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Type = LVCS_DATA; in LVCS_Memory()
95 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Type = LVCS_COEFFICIENT; in LVCS_Memory()
103 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAST].Type = LVCS_SCRATCH; in LVCS_Memory()
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetMemoryTable.c154 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; in LVREV_GetMemoryTable()
182 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; in LVREV_GetMemoryTable()
191 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Type = LVM_PERSISTENT_FAST_COEF; in LVREV_GetMemoryTable()
226 pMemoryTable->Region[LVM_TEMPORARY_FAST].Type = LVM_TEMPORARY_FAST; in LVREV_GetMemoryTable()
/frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Memory.c131 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Type = LVPSA_PERSISTENT; in LVPSA_Memory()
139 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Type = LVPSA_SCRATCH; in LVPSA_Memory()
148 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Type = LVPSA_PERSISTENT_COEF; in LVPSA_Memory()
157 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].Type = LVPSA_PERSISTENT_DATA; in LVPSA_Memory()
/frameworks/base/media/libeffects/lvm/lib/Common/src/
DInstAlloc.c151 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; in InstAlloc_AddMemberAll()
157 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; in InstAlloc_AddMemberAll()
163 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Type = LVM_PERSISTENT_FAST_COEF; in InstAlloc_AddMemberAll()
169 pMemoryTable->Region[LVM_TEMPORARY_FAST].Type = LVM_TEMPORARY_FAST; in InstAlloc_AddMemberAll()

12345