/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 464 SLresult audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) { argument 466 SL_LOGV("type %d", type); 469 switch(type) { 494 // stream type needs to be set before the object is realized 575 SL_LOGE("Unsupported sink locator type 0x%x", (unsigned)sinkLocatorType); 586 * returns the Android object type if the locator type combinations for the source and sinks 595 AndroidObjectType type = INVALID_TYPE; local 618 type [all...] |
H A D | android_Effect.cpp | 257 &ibb->mBassBoostDescriptor.type)) 276 if (!android_fx_initEffectObj(sessionId, ieq->mEqEffect, &ieq->mEqDescriptor.type)) { 326 &ivi->mVirtualizerDescriptor.type)) { 361 ipr->mPresetReverbEffect, &ipr->mPresetReverbDescriptor.type)) { 396 ier->mEnvironmentalReverbEffect, &ier->mEnvironmentalReverbDescriptor.type)) { 617 const effect_uuid_t *type) { 620 effect = new android::AudioEffect(type, EFFECT_UUID_NULL, 656 (0 == memcmp(effectId, &descriptor.type, sizeof(effect_uuid_t)))) { 759 NULL, // not using type to create effect 616 android_fx_initEffectObj(int sessionId, android::sp<android::AudioEffect>& effect, const effect_uuid_t *type) argument
|
H A D | android_sles_conversions.h | 24 static inline SLuint32 android_to_sles_streamType(int type) { argument 25 return (SLuint32) type; 38 static inline int sles_to_android_streamType(SLuint32 type) { argument 39 return (int)type;
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 47 /* Play an audio URIs on the given stream type */ 48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument 139 /* Set the Android audio stream type on the player */ 141 SL_ANDROID_KEY_STREAM_TYPE, &type, sizeof(SLint32)); 143 fprintf(stderr, "invalid stream type %d\n", type); 192 /* Get the stream type during playback */ 199 fprintf(stderr, "ERROR: size for stream type is %u, should be %u\n", 205 if (currentType != type) { 206 fprintf(stderr, "ERROR: stream type i [all...] |
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 135 unsigned type = sfinfo_in.format & SF_FORMAT_TYPEMASK; local 136 switch (type) { 140 fprintf(stderr, "%s: unsupported type 0x%X\n", path_in, type);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 178 * @param class type 181 public <T> UiSelector className(Class<T> type) { argument 182 return buildSelector(SELECTOR_CLASS, type.getName());
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 61 * copy it to the slave memory store. Both type checked and unchecked copies are provided. 116 * No mipmaps will be generated and the type generated from the 123 * type of the allocation will contain a full mipmap chain. On 129 * The type of the allocation will be the same as MIPMAP_NONE. 152 * Get the element of the type of the Allocation. 216 "32 bit integer source does not match allocation type " + mType.mElement.mType); 225 "16 bit integer source does not match allocation type " + mType.mElement.mType); 234 "8 bit integer source does not match allocation type " + mType.mElement.mType); 242 "32 bit float source does not match allocation type " + mType.mElement.mType); 254 "Object source does not match allocation type " 905 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument 928 createTyped(RenderScript rs, Type type, int usage) argument 942 createTyped(RenderScript rs, Type type) argument [all...] |
H A D | RenderScript.java | 152 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); argument 153 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { argument 155 return rsnElementCreate(mContext, type, kind, norm, vecSize); 185 native int rsnAllocationCreateTyped(int con, int type, int mip, int usage, int pointer); argument 186 synchronized int nAllocationCreateTyped(int type, int mip, int usage, int pointer) { argument 188 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); 190 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 191 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 193 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 195 native int rsnAllocationCubeCreateFromBitmap(int con, int type, in argument 196 nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) argument 200 rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp) argument 201 nAllocationCreateBitmapRef(int type, Bitmap bmp) argument [all...] |
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 243 nElementCreate(JNIEnv *_env, jobject _this, RsContext con, jint type, jint kind, jboolean norm, jint size) argument 245 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", con, type, kind, norm, size); 246 return (jint)rsElementCreate(con, (RsDataType)type, (RsDataKind)kind, norm, size); 318 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage, jint pointer) argument 320 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)", con, (RsElement)type, mips, usage, (void *)pointer); 321 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage, (uint32_t)pointer); 352 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 359 id = (jint)rsAllocationCreateFromBitmap(con, (RsType)type, 368 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdAllocation.cpp | 68 const Type *type, uint8_t *ptr) { 72 drv->lod[0].dimX = type->getDimX(); 73 drv->lod[0].dimY = type->getDimY(); 75 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes(); 76 drv->lodCount = type->getLODCount(); 77 drv->faceCount = type->getDimFaces(); 91 drv->lod[lod].stride = tx * type->getElementSizeBytes(); 161 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes()); 272 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); 324 const uint32_t eSize = alloc->mHal.state.type 67 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsAllocation.cpp | 25 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument 34 setType(type); 38 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument 40 Allocation *a = new Allocation(rsc, type, usages, mc, ptr); 42 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { 52 const Type *type = mHal.state.type; local 53 mHal.state.dimensionX = type->getDimX(); 54 mHal.state.dimensionY = type->getDimY(); 55 mHal.state.dimensionZ = type 221 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument 330 Type *type = Type::createFromStream(rsc, stream); local [all...] |
H A D | rsAllocation.h | 47 const Type * type; member in struct:android::renderscript::Allocation::Hal::State 83 const Type * getType() const {return mHal.state.type;} 144 mHal.state.type = t; 152 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
|
H A D | rsScriptGroup.cpp | 182 const Type ** type, size_t typeSize) { 202 l->mType = type[ct]; 338 const RsType * type, size_t typeSize) { 346 (const Type **) type, typeSize); 177 create(Context *rsc, ScriptKernelID ** kernels, size_t kernelsSize, ScriptKernelID ** src, size_t srcSize, ScriptKernelID ** dstK, size_t dstKSize, ScriptFieldID ** dstF, size_t dstFSize, const Type ** type, size_t typeSize) argument 333 rsi_ScriptGroupCreate(Context *rsc, RsScriptKernelID * kernels, size_t kernelsSize, RsScriptKernelID * src, size_t srcSize, RsScriptKernelID * dstK, size_t dstKSize, RsScriptFieldID * dstF, size_t dstFSize, const RsType * type, size_t typeSize) argument
|
H A D | rsType.cpp | 179 ALOGE("type loading skipped due to invalid class id\n"); 196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); local 198 return type; 317 void rsaTypeGetNativeData(RsContext con, RsType type, uint32_t *typeData, uint32_t typeDataSize) { argument 321 Type *t = static_cast<Type *>(type);
|
H A D | spec.h | 15 int type; member in struct:__anon1596
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardExporterTests.java | 443 * Tests that vCard composer emits corresponding type param which we expect. 498 // Currently pager type has special logic... 622 .put(Phone.LABEL, "_AUTO_CELL"); // The old indicator for the type mobile. 960 // No determined way to express unknown type... 1042 private String getAndroidPropValue(final String mimeType, String value, Integer type) { argument 1043 return getAndroidPropValue(mimeType, value, type, null); 1047 Integer type, String label) { 1049 + (type != null ? type : "") + ";" 1046 getAndroidPropValue(final String mimeType, String value, Integer type, String label) argument
|
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 85 ALOGE("32 bit integer source does not match allocation type %i", dt); 93 ALOGE("16 bit integer source does not match allocation type %i", dt); 101 ALOGE("8 bit integer source does not match allocation type %i", dt); 109 ALOGE("32 bit float source does not match allocation type %i", dt); 126 ALOGE("Object source does not match allocation type %i", dt); 150 ALOGE("Source must be exactly one usage type."); 239 ALOGE("Array too small for allocation type."); 381 android::sp<Allocation> Allocation::createTyped(RenderScript *rs, sp<const Type> type, argument 383 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, 0); 388 return new Allocation(id, rs, type, usag 391 createTyped(RenderScript *rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage, void *pointer) argument 400 createTyped(RenderScript *rs, sp<const Type> type, uint32_t usage) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 121 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) { 131 alloc->mHal.state.type->getLODDimX(lod), 132 alloc->mHal.state.type->getLODDimY(lod), 136 alloc->mHal.state.type->getLODDimX(lod), 137 alloc->mHal.state.type->getLODDimY(lod), 212 rsAssert(!alloc->mHal.state.type->getDimY()); 213 rsAssert(!alloc->mHal.state.type->getDimZ()); 226 RSD_CALL_GL(glBufferData, drv->glTarget, alloc->mHal.state.type->getSizeBytes(), 233 const Type *type, uint8_t *ptr) { 237 drv->lod[0].dimX = type 232 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument [all...] |
H A D | rsdShader.cpp | 32 RsdShader::RsdShader(const Program *p, uint32_t type, argument 38 mType = type; 239 ALOGV("Loading shader type %x, ID %i", mType, mCurrentState->mShaderID); 405 // This tells us the correct texture type
|
H A D | rsdShaderCache.h | 75 uint32_t type; member in struct:RsdShaderCache::UniformQueryData
|
H A D | rsdVertexArray.cpp | 46 type = 0; 54 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument 58 this->type = type; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x", 76 mAttribs[idx].type, 112 mAttribs[ct].type,
|
H A D | rsdVertexArray.h | 38 uint32_t type; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, uint32_t offset, const char *name);
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument 37 setType(type); 41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument 43 Allocation *a = new Allocation(rsc, type, usages, mc, ptr); 45 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { 55 const Type *type = mHal.state.type; local 56 mHal.state.dimensionX = type->getDimX(); 57 mHal.state.dimensionY = type->getDimY(); 58 mHal.state.dimensionZ = type 240 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument 349 Type *type = Type::createFromStream(rsc, stream); local [all...] |
H A D | rsAllocation.h | 50 const Type * type; member in struct:android::renderscript::Allocation::Hal::State 86 const Type * getType() const {return mHal.state.type;} 153 mHal.state.type = t; 161 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
|
H A D | rsScriptGroup.cpp | 182 const Type ** type, size_t typeSize) { 202 l->mType = type[ct]; 338 const RsType * type, size_t typeSize) { 346 (const Type **) type, typeSize); 177 create(Context *rsc, ScriptKernelID ** kernels, size_t kernelsSize, ScriptKernelID ** src, size_t srcSize, ScriptKernelID ** dstK, size_t dstKSize, ScriptFieldID ** dstF, size_t dstFSize, const Type ** type, size_t typeSize) argument 333 rsi_ScriptGroupCreate(Context *rsc, RsScriptKernelID * kernels, size_t kernelsSize, RsScriptKernelID * src, size_t srcSize, RsScriptKernelID * dstK, size_t dstKSize, RsScriptFieldID * dstF, size_t dstFSize, const RsType * type, size_t typeSize) argument
|