Searched refs:ResourceType (Results 26 - 50 of 50) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java29 import com.android.resources.ResourceType;
620 idValue = Bridge.getResourceId(ResourceType.ID, idName);
622 idValue = mContext.getLayoutlibCallback().getResourceId(ResourceType.ID, idName);
629 return mContext.getFrameworkResourceValue(ResourceType.ID, idName, defValue);
631 return mContext.getProjectResourceValue(ResourceType.ID, idName, defValue);
876 ResourceValue attr = res.getProjectResource(ResourceType.ATTR, mNames[index]);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java30 import com.android.resources.ResourceType;
263 ResourceType type = resource.getResourceType();
264 if (type == null || type == ResourceType.COLOR) {
H A DFrameworkActionBarWrapper.java51 import static com.android.resources.ResourceType.MENU;
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp65 if (type->type != ResourceType::kStyle) {
H A DXmlReferenceLinker.cpp90 Reference attrRef(ResourceNameRef(package, ResourceType::kAttr, attr.name));
H A DLink.cpp458 if (type->type != ResourceType::kRaw &&
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java33 import com.android.resources.ResourceType;
203 Pair<ResourceType, String> layoutInfo = Bridge.resolveResourceId(resource);
206 ResourceType.LAYOUT, layoutInfo.getSecond());
212 ResourceType.LAYOUT, layoutInfo.getSecond());
/frameworks/data-binding/compilerCommon/
H A DBindingExpression.g4458 : '@' (PackageName ':')? ResourceType '/' Identifier
466 ResourceType
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp444 if (type->type == ResourceType::kStyleable) {
504 if (type->type == ResourceType::kAttrPrivate) {
521 if (type->type == ResourceType::kAttr) {
523 ResourceTableType* privType = package->findType(ResourceType::kAttrPrivate);
533 if (type->type == ResourceType::kStyleable &&
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionLexer.java22 PackageName=55, ResourceType=56; field in class:BindingExpressionLexer
45 "JavaLetterOrDigit", "WS", "ResourceReference", "PackageName", "ResourceType"
63 "PackageName", "ResourceType"
H A DBindingExpressionParser.java22 PackageName=55, ResourceType=56; field in class:BindingExpressionParser
52 "PackageName", "ResourceType"
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java33 import com.android.resources.ResourceType;
328 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resId);
380 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id);
430 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT,
433 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT,
768 Pair<ResourceType, String> value = Bridge.resolveResourceId(defStyleRes);
775 if ((value.getFirst() == ResourceType.STYLE)) {
987 Pair<ResourceType, String> resolvedResource = Bridge.resolveResourceId(attr);
1013 Pair<ResourceType, String> info = Bridge.resolveResourceId(attr);
1056 public int getFrameworkResourceValue(ResourceType resTyp
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java28 import com.android.resources.ResourceType;
407 public Integer getId(ResourceType resType, String resName) {
H A DRenderSessionImpl.java49 import com.android.resources.ResourceType;
568 ResourceType.ANIMATOR, animationName);
570 animationId = Bridge.getResourceId(ResourceType.ANIMATOR, animationName);
574 ResourceType.ANIMATOR, animationName);
577 ResourceType.ANIMATOR, animationName);
1206 Pair<ResourceType, String> resource = layoutlibCallback.resolveResourceId(id);
H A DLayout.java35 import com.android.resources.ResourceType;
304 return Bridge.getResourceId(ResourceType.ID, ID_PREFIX + name);
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp32 static bool lessThanType(const std::unique_ptr<ResourceTableType>& lhs, ResourceType rhs) {
87 ResourceTableType* ResourceTablePackage::findType(ResourceType type) {
96 ResourceTableType* ResourceTablePackage::findOrCreateType(ResourceType type) {
H A DSdkConstants.cpp727 if (name.package != u"android" && name.type != ResourceType::kAttr) {
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp167 if (type->type == ResourceType::kMipmap) {
/frameworks/base/tools/aapt2/compile/
H A DCompile.cpp540 if (const ResourceType* type = parseResourceType(pathData.resourceDir)) {
541 if (*type != ResourceType::kRaw) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java27 import com.android.resources.ResourceType;
134 ResourceValue broken = resources.getFrameworkResource(ResourceType.DRAWABLE,
/frameworks/base/tools/aapt2/test/
H A DBuilders.h185 Reference(ResourceName{ {}, ResourceType::kId, name.toString()}),
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DMain.java41 import com.android.resources.ResourceType;
488 int id = resources.mLayoutlibCallback.getResourceId(ResourceType.STRING, "app_name");
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp346 if (type->type == ResourceType::kStyleable) {
/frameworks/base/tools/aapt2/proto/
H A DTableProtoDeserializer.cpp76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name()));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 459 milliseconds

12