/frameworks/base/tools/aapt2/ |
H A D | Resource.h | 35 * to the 'type' in package:type/entry. 63 StringPiece16 toString(ResourceType type); 77 ResourceType type; member in struct:aapt::ResourceName 80 ResourceName() : type(ResourceType::kRaw) {} 95 ResourceType type; member in struct:aapt::ResourceNameRef 119 * TT: 8 bit type identifier. 0x00 is invalid. 256 package(p.toString()), type(t), entry(e.toString()) { 264 return std::tie(lhs.package, lhs.type, lhs.entry) 265 < std::tie(rhs.package, rhs.type, rh [all...] |
H A D | ResourceUtils.cpp | 66 StringPiece16 type; local 68 if (!extractResourceName(str.substr(offset, str.size() - offset), &package, &type, &entry)) { 72 const ResourceType* parsedType = parseResourceType(type); 83 outRef->type = *parsedType; 119 if (create && name.type != ResourceType::kId) { 151 StringPiece16 type; local 154 &package, &type, &entry)) { 158 if (!type.empty() && type != u"attr") { 168 outRef->type 437 androidTypeToAttributeTypeMask(uint16_t type) argument [all...] |
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener.cpp | 236 // Serialize the types. We do this now so that our type and key strings 302 bool flattenConfig(const ResourceTableType* type, const ConfigDescription& config, argument 306 typeHeader->id = type->id.value(); 316 std::accumulate(type->entries.begin(), type->entries.end(), 0, maxAccum) + 1; 334 << ResourceNameRef(mPackage->name, type->type, flatEntry.entry->name) 345 for (auto& type : mPackage->types) { 346 if (type->type 360 collectAndSortEntries(ResourceTableType* type) argument 371 flattenTypeSpec(ResourceTableType* type, std::vector<ResourceEntry*>* sortedEntries, BigBuffer* buffer) argument [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 103 "\"<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>\" or a theme\n" 105 "\"<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>\"."); 408 const ResourceTableType* type, 411 for (const auto& entry : type->entries) { 417 if (package->id && type->id && entry->id) { 418 id = ResourceId(package->id.value(), type->id.value(), entry->id.value()); 437 ResourceNameRef resourceName(packageNameToGenerate, type->type, unmangledName); 444 if (type->type 406 addMembersToTypeClass(const StringPiece16& packageNameToGenerate, const ResourceTablePackage* package, const ResourceTableType* type, ClassDefinition* outTypeClassDef) argument [all...] |
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 78 mDiag->error(DiagMessage(mSource) << "unknown type '" << pbType.name() << "'"); 82 ResourceTableType* type = pkg->findOrCreateType(*resType); local 85 ResourceEntry* entry = type->findOrCreateEntry(util::utf8ToUtf16(pbEntry.name())); 108 if (type->symbolStatus.state != SymbolState::kPublic) { 109 // If the type has not been made public, do so now. 110 type->symbolStatus.state = SymbolState::kPublic; 112 type->id = static_cast<uint8_t>(pbType.id()); 116 if (type->symbolStatus.state == SymbolState::kUndefined) { 117 type->symbolStatus.state = SymbolState::kPrivate; 124 idIndex[resId] = ResourceNameRef(pkg->name, type [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Delegate.java | 335 * If the ResourceValue found is not of type {@link ResourceType#ARRAY}, the method logs an 336 * error and return null. However, if the ResourceValue found has type {@code 354 final ResourceType type = resValue.getResourceType(); 355 if (type != ResourceType.ARRAY) { 359 id, type == null ? "null" : type.getDisplayName()), 514 tmpValue.type == TypedValue.TYPE_DIMENSION) { 542 tmpValue.type == TypedValue.TYPE_DIMENSION) { 571 tmpValue.type == TypedValue.TYPE_DIMENSION) { 741 outValue.type 794 loadXmlResourceParser(Resources resources, int id, String type) argument 800 loadXmlResourceParser(Resources resources, String file, int id, int assetCookie, String type) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 68 * <p/>To use this bridge, simply instantiate an object of type {@link Bridge} and call 90 * Maps from id to resource type/name. This is for com.android.internal.R 100 * Reverse map compared to sRMap, resource type -> (resource name -> id). 106 // framework resources are defined as 0x01XX#### where XX is the resource type (layout, 107 // drawable, etc...). Using FF as the type allows for 255 resource types before we get a 289 Class<?> type = f.getType(); 290 if (type.isArray()) { 321 Class<?> type = field.getType(); 322 return isAcceptable && type == int.class || 323 (type 612 getResourceId(ResourceType type, String name) argument [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AbstractClassAdapter.java | 50 * Renames a type descriptor, e.g. "Lcom.package.MyClass;" 51 * If the type doesn't need to be renamed, returns the input string as-is. 62 * Renames an object type, e.g. "Lcom.package.MyClass;" or an array type that has an 64 * If the type doesn't need to be renamed, returns the internal name of the input type. 66 String renameType(Type type) { argument 67 if (type == null) { 71 if (type.getSort() == Type.OBJECT) { 72 String in = type 91 renameTypeAsType(Type type) argument 248 visitTypeInsn(int opcode, String type) argument 298 visitTryCatchBlock(Label start, Label end, Label handler, String type) argument [all...] |
H A D | DelegateMethodAdapter.java | 54 * the methods to be overridden here. The methods have the same return type. 55 * The argument type list is the same except the "this" reference is passed first 84 /** The original method descriptor (return type + argument types.) */ 153 * All the parameters must be passed and then the eventual return type returned. 222 outerType.getDescriptor()); // type of the field 247 // we pushed on the call stack. The return type remains unchanged. 368 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 370 mOrgWriter.visitTryCatchBlock(start, end, handler, type); 389 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 391 mOrgWriter.visitFrame(type, nLoca 453 visitTypeInsn(int opcode, String type) argument [all...] |
H A D | StubMethodAdapter.java | 28 * a stub depending on the return type. Original annotations are passed along unchanged. 37 /** The method return type. Can be null. */ 160 /* Pops the stack, depending on the return type. 285 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 287 mParentVisitor.visitTryCatchBlock(start, end, handler, type); 306 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 308 mParentVisitor.visitFrame(type, nLocal, local, nStack, stack); 370 public void visitTypeInsn(int opcode, String type) { argument 372 mParentVisitor.visitTypeInsn(opcode, type);
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | Operator.h | 100 Type type() const { return m_Type; } function in class:mcld::Operator
|
H A D | OutputSectDesc.h | 54 Type type() const { return m_Type; } function in struct:mcld::OutputSectDesc::Prolog
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64Relocator.cpp | 73 Relocation::Type type = pRelocation.type(); local 75 if ((type < 0x100 || type > 1032) && 76 (type != 0x0) && 77 (type != R_AARCH64_REWRITE_INSN)) { 80 assert(ApplyFunctions.find(type) != ApplyFunctions.end()); 81 return ApplyFunctions[type].func(pRelocation, *this); 111 if (ResolveInfo::ThreadLocal == pSym.type()) 140 (ResolveInfo::Type)pSym.type(), [all...] |
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 52 int type; member in struct:android::special_dir 107 if (opt_backupAll || SKIP_PATHS[i].type == SPECIAL_NO_BACKUP) { 236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) argument 239 if (!write_int32(fh, type)) return 0; 438 static int read_header(FILE* fh, int* type, char** path, struct stat* st) argument 440 *type = read_int32(fh, -1); 441 if (*type == TYPE_END) { 445 if (*type < 0) { 446 fprintf(stderr, "bad token %d in restore file\n", *type); 537 int type; local [all...] |
/frameworks/native/include/android/ |
H A D | sensor.h | 216 int32_t type; member in struct:__anon1322 228 int32_t type; member in struct:ASensorEvent 261 * {@link ASensorManager} is an opaque type to manage sensors and 281 * {@link ASensorEventQueue} is an opaque type that provides access to 299 * {@link ASensor} is an opaque type that provides information about 321 * {@link ASensorRef} is a type for constant pointers to {@link ASensor}. 365 * Returns the default sensor for the given type, or NULL if no sensor 366 * of that type exists. 368 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type); 371 * Returns the default sensor with the given type an [all...] |
/frameworks/native/include/input/ |
H A D | InputTransport.h | 54 uint32_t type; member in struct:android::InputMessage::Header
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 23 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 25 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 27 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 29 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 31 GL_API void GL_APIENTRY glPointSizePointerOESBounds(GLenum type, 33 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type, 35 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type, 39 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, argument 41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 45 static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, argument [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DropdownChipLayouter.java | 38 * The type of adapter that is requesting a chip layout. 52 * {@link RecipientEntry#ENTRY_TYPE_PERMISSION_REQUEST} type. 101 * @param type The adapter type that is requesting the bind. 107 AdapterType type, String constraint) { 108 return bindView(convertView, parent, entry, position, type, constraint, null); 118 AdapterType type, String constraint, StateListDrawable deleteDrawable) { 126 final View itemView = reuseOrInflateView(convertView, parent, type); 130 // Hide some information depending on the adapter type. 131 switch (type) { 106 bindView(View convertView, ViewGroup parent, RecipientEntry entry, int position, AdapterType type, String constraint) argument 117 bindView(View convertView, ViewGroup parent, RecipientEntry entry, int position, AdapterType type, String constraint, StateListDrawable deleteDrawable) argument 202 newView(AdapterType type) argument 209 reuseOrInflateView(View convertView, ViewGroup parent, AdapterType type) argument 242 bindIconToView(boolean showImage, RecipientEntry entry, ImageView view, AdapterType type) argument 358 getItemLayoutResId(AdapterType type) argument 376 getAlternateItemLayoutResId(AdapterType type) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 113 * @param type The media type, e.g. {@code "audio"}. 118 public Media newMedia(String type, int port, int portCount, argument 120 Media media = new Media(type, port, portCount, protocol); 191 * Returns the bandwidth limit of the given type or {@code -1} if it is not 194 public int getBandwidth(String type) { argument 195 return mFields.getBandwidth(type); 199 * Sets the bandwith limit for the given type. The field will be removed if 202 public void setBandwidth(String type, int value) { argument 203 mFields.setBandwidth(type, valu 244 Media(String type, int port, int portCount, String protocol) argument 334 getRtpmap(int type) argument 342 getFmtp(int type) argument 352 setRtpPayload(int type, String rtpmap, String fmtp) argument 364 removeRtpPayload(int type) argument 470 getBandwidth(String type) argument 485 setBandwidth(String type, int value) argument [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.cpp | 194 JNIObject<jobject> JNIHelper::getObjectField(jobject obj, const char *name, const char *type) argument 197 jfieldID field = mEnv->GetFieldID(cls, name, type); 206 JNIObject<jobjectArray> JNIHelper::getArrayField(jobject obj, const char *name, const char *type) argument 209 jfieldID field = mEnv->GetFieldID(cls, name, type); 294 JNIObject<jobject> JNIHelper::getObjectArrayField(jobject obj, const char *name, const char *type, argument 298 jfieldID field = mEnv->GetFieldID(cls, name, type); 473 void JNIHelper::setObjectField(jobject obj, const char *name, const char *type, jobject value) argument 481 jfieldID field = mEnv->GetFieldID(cls, name, type);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardApplicationStatus.java | 115 public AppType AppTypeFromRILInt(int type) { argument 118 switch(type) { 127 loge("AppTypeFromRILInt: bad RIL_AppType: " + type + " use APPTYPE_UNKNOWN");
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 183 public static String getPhoneTypeString(Integer type) { argument 184 return sKnownPhoneTypesMap_ItoS.get(type); 188 * Returns Interger when the given types can be parsed as known type. Returns String object 196 int type = -1; 213 if (typeStringUpperCase.startsWith("X-") && type < 0) { 225 // 1. If a type isn't specified yet, we'll choose the new type candidate. 226 // 2. If the current type is default one (OTHER) or custom one, we'll 240 || type < 0 241 || type [all...] |
/frameworks/rs/api/ |
H A D | GenerateStubsWhiteList.cpp | 59 * substitution for the provided type name, as would be done (mostly) by a 64 const auto type = types.find(typeName); local 65 if (type != types.end()) { 66 for (TypeSpecification* spec : type->second->getSpecifications()) { 92 /* Expand the typedefs found in 'type' into their equivalents and tokenize 96 list<string> expandTypedefs(const string type, unsigned int apiLevel, int intSize, string& vectorSize) { argument 98 istringstream stream(type); 110 /* Get the new vector size. This is for the case of the type being for example 183 /* Mangle the type name that's represented by the vector size and list of tokens. 189 * See http://mentorembedded.github.io/cxx-abi/abi.html#mangle.type fo [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 81 ALOGE("64 bit integer source does not match allocation type %i", dt); 89 ALOGE("32 bit integer source does not match allocation type %i", dt); 97 ALOGE("16 bit integer source does not match allocation type %i", dt); 105 ALOGE("8 bit integer source does not match allocation type %i", dt); 113 ALOGE("32 bit float source does not match allocation type %i", dt); 121 ALOGE("64 bit float source does not match allocation type %i", dt); 138 ALOGE("Object source does not match allocation type %i", dt); 162 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Source must be exactly one usage type."); 424 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type, argument 428 id = RS::dispatch->AllocationCreateTyped(rs->getContext(), type 437 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mipmaps, uint32_t usage, void *pointer) argument 452 createTyped(sp<RS> rs, sp<const Type> type, uint32_t usage) argument [all...] |
/frameworks/rs/driver/ |
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); 407 // This tells us the correct texture type
|