Searched refs:Type (Results 1 - 25 of 314) sorted by last modified time

1234567891011>>

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAnimationsTest.java1306 public static enum Type { enum in class:RecyclerViewAnimationsTest.PositionConstraint
1312 Type mType;
1324 constraint.mType = Type.scrap;
1333 constraint.mType = Type.adapterScrap;
1342 constraint.mType = Type.adapter;
1374 if (mType == Type.scrap || (mType == Type.adapterScrap && !state.isPreLayout())) {
1390 if (mType == Type.scrap) {
1394 } else if (mType == Type.adapter || mType == Type
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java33 * a given {@link android.support.v8.renderscript.Type}. </p>
60 Type mType;
75 Type.CubemapFace mSelectedFace = Type.CubemapFace.POSITIVE_X;
142 * A full mipmap chain will be created in script memory. The Type of
149 * The Type of the Allocation will be the same as MIPMAP_NONE. It will
172 * android.support.v8.renderscript.Type} of the Allocation.
204 private void updateCacheInfo(Type t) {
221 Allocation(int id, RenderScript rs, Type t, int usage) {
314 * Get the {@link android.support.v8.renderscript.Type} o
[all...]
H A DAllocationThunker.java51 public Type getType() {
75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) {
394 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) {
H A DScript.java453 public Type getType() {
H A DScriptGroup.java60 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) {
66 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) {
75 Type mAllocationType;
327 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) {
367 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) {
H A DScriptGroupThunker.java84 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) {
94 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) {
H A DScriptIntrinsic3DLUT.java73 final Type t = lut.getType();
H A DType.java26 * <p>A Type describes the {@link android.support.v8.renderscript.Element} and
29 * {@link android.support.v8.renderscript.Type.Builder}.</p>
31 * <p>A Type always includes an {@link android.support.v8.renderscript.Element}
32 * and an X dimension. A Type may be multidimensional, up to three dimensions.
34 * present. Note that a Type with only a given X dimension and a Type with the
37 * <p>A Type also supports inclusion of level of detail (LOD) or cube map
41 * <p>A Type also supports YUV format information to support an {@link
54 public class Type extends BaseObj { class in inherits:BaseObj
79 * Return the element associated with this Type
190 Type(int id, RenderScript rs) { method in class:Type
[all...]
H A DTypeThunker.java23 class TypeThunker extends Type {
24 android.renderscript.Type mN;
26 android.renderscript.Type getNObj() {
30 static HashMap<android.renderscript.Type, Type> mMap = new HashMap();
42 TypeThunker(RenderScript rs, android.renderscript.Type t) {
57 static Type find(android.renderscript.Type nt) {
61 static Type create(RenderScript rs, Element e,
66 android.renderscript.Type
[all...]
/frameworks/rs/api/
H A Dgen_runtime.cpp84 struct Type;
333 const Type& compatibleType,
334 const Type& generatedType) const;
337 const Type& compatibleType,
338 const Type& generatedType) const;
374 struct Type { struct in namespace:__anon1461
377 string cType; // Type in a C file
378 const char* javaType; // Type in a Java file
388 const Type TYPES[] = {{"f16", "FLOAT_16", "half", "half", FLOATING_POINT, 11, 5},
1497 const Type
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp27 void Allocation::updateCacheInfo(sp<const Type> t) {
40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
129 sp<const Type> old = mType;
130 sp<Type> t = new Type((void *)typeID, mRS);
333 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
346 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
361 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
368 Type::Builder b(rs, e);
370 sp<const Type>
[all...]
H A DAndroid.mk5 Type.cpp \
H A DScriptIntrinsics.cpp56 sp<const Type> t = lut->getType();
H A DType.cpp32 void Type::calcElementCount() {
69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { function in class:Type
79 void Type::updateFromNative() {
102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
104 Type *t = new Type(id, rs);
118 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) {
128 void Type
[all...]
H A DrsCppStructs.h43 class Type;
282 * given Type.
296 sp<const Type> mType;
317 void updateCacheInfo(sp<const Type> t);
319 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
336 * Return Type for the allocation.
337 * @return pointer to underlying Type
339 sp<const Type> getType() const {
352 * Generate a mipmap chain. This is only valid if the Type of the Allocation
506 * Creates an Allocation for use by scripts with a given Type
1196 class Type : public BaseObj { class in namespace:android::RSC
[all...]
/frameworks/rs/cpu_ref/linkloader/utils/
H A Dtraits.h22 template <typename Type>
27 Type element;
31 enum { size = sizeof(Type) };
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp815 const Type *inType = ain->getType();
822 const Type *outType = aout->getType();
936 const Type *inType = ain0->getType();
952 const Type *outType = aout->getType();
/frameworks/rs/driver/
H A DrsdAllocation.cpp304 const Type *type, uint8_t *ptr) {
534 const Type *newType, bool zeroNew) {
H A DrsdAllocation.h89 const android::renderscript::Type *newType, bool zeroNew);
H A DrsdRuntimeStubs.cpp722 const Type *t = a->getType();
753 const Type *t = a->getType();
791 const Type *t = a->getType();
844 const Type *t = ((Allocation*)a.p)->getType();
852 const Type *t = ((Allocation*)a.p)->getType();
860 const Type *t = ((Allocation*)a.p)->getType();
H A DrsdType.cpp36 bool rsdTypeInit(const Context *, const Type *t) {
40 void rsdTypeDestroy(const Context *rsc, const Type *t) {
44 const Type *t,
H A DrsdType.h24 const android::renderscript::Type *);
27 const android::renderscript::Type *);
30 const android::renderscript::Type *,
/frameworks/rs/driver/runtime/
H A Drs_structs.h216 * internal members of the C++ class Type owned by librs. Unfortunately,
229 typedef struct Type { struct
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java34 Type.Builder tb = new Type.Builder(rs, Element.U8(rs));
H A DMandelbrot.java31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs));

Completed in 1154 milliseconds

1234567891011>>