Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/tools/aapt/
DCommand.cpp214 ResXMLTree tree; in doList() local
215 tree.setTo(manifestAsset->getBuffer(true), in doList()
217 printXMLBlock(&tree); in doList()
229 static ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) in indexOfAttribute() argument
231 size_t N = tree.getAttributeCount(); in indexOfAttribute()
233 if (tree.getAttributeNameResID(i) == attrRes) { in indexOfAttribute()
240 String8 getAttribute(const ResXMLTree& tree, const char* ns, in getAttribute() argument
243 ssize_t idx = tree.indexOfAttribute(ns, attr); in getAttribute()
248 if (tree.getAttributeValue(idx, &value) != NO_ERROR) { in getAttribute()
255 const uint16_t* str = tree.getAttributeStringValue(idx, &len); in getAttribute()
[all …]
DResource.cpp2060 ResXMLTree tree; in writeProguardForAndroidManifest() local
2085 err = parseXMLResource(assFile, &tree); in writeProguardForAndroidManifest()
2090 tree.restart(); in writeProguardForAndroidManifest()
2092 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in writeProguardForAndroidManifest()
2104 String8 tag(tree.getElementName(&len)); in writeProguardForAndroidManifest()
2112 pkg = getAttribute(tree, NULL, "package", NULL); in writeProguardForAndroidManifest()
2118 String8 agent = getAttribute(tree, "http://schemas.android.com/apk/res/android", in writeProguardForAndroidManifest()
2122 assFile->getPrintableSource(), tree.getLineNumber()); in writeProguardForAndroidManifest()
2134 String8 name = getAttribute(tree, "http://schemas.android.com/apk/res/android", in writeProguardForAndroidManifest()
2142 assFile->getPrintableSource(), tree.getLineNumber()); in writeProguardForAndroidManifest()
[all …]
DMain.h57 String8 getAttribute(const ResXMLTree& tree, const char* ns,
DResourceTable.cpp89 NOISY(ResXMLTree tree; in compileXmlFile()
90 tree.setTo(target->getData(), target->getSize()); in compileXmlFile()
91 printXMLBlock(&tree)); in compileXmlFile()
/frameworks/base/docs/html/guide/topics/manifest/
Dpermission-tree-element.jd1 page.title=<permission-tree>
8 <dd><pre class="stx">&lt;permission-tree android:<a href="#icon">icon</a>="<i>drawable resource</i>"
16 <dd>Declares the base name for a tree of permissions. The application takes
17 ownership of all names within the tree. It can dynamically add new permissions
18 to the tree by calling <code>{@link android.content.pm.PackageManager#addPermission PackageManager.…
36 <dd>An icon representing all the permissions in the tree. This attribute
48 <dd>The name that's at the base of the permission tree. It serves as
49 a prefix to all permission names in the tree. Java-style scoping should
Dpermission-group-element.jd62 …code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt…
Dpermission-element.jd133 …code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt…
Dmanifest-intro.jd79 …<a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree /&gt;</…
147 …code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt…
481 <code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt…
Dmanifest-element.jd31 …code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt…
/frameworks/base/docs/html/guide/topics/views/
Dintro.jd20 …rm, you define an Activity's UI using a tree of view and viewgroup nodes, as shown in the diagram …
22 <img src={@docRoot}images/viewgroup.png alt="An example of a tree of views and viewgroups" width="3…
24tree to the screen for rendering, your Activity calls its setContentView() method and passes a re…
Dui-xml.jd16 …declaring it in XML or programmatically. In both cases, your UI will be a tree structure that may …
37 … child elements of the root element, if needed. In the example below, the tree of XML elements eva…
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd12 draw the layout tree. Drawing is handled by walking the tree and rendering each View that
16 Because the tree is traversed in-order,
18 siblings drawn in the order they appear in the tree.
33 of the View tree. Each View pushes dimension specifications down the tree
82 MeasureSpecs are used to push requirements down the tree from parent to
Dindex.jd50 as shown in the diagram below. This hierarchy tree can be as simple or complex as you need it to be…
57 In order to attach the view hierarchy tree to the screen for rendering, your Activity must call the
60 receives this reference and uses it to invalidate, measure, and draw the tree. The root node of the…
65 the elements of your layout in-order (from the top of the hierarchy tree), instantiating the Views …
77 either a View or ViewGroup object (or descendant thereof). View objects are leaves in the tree,
78 ViewGroup objects are branches in the tree (see the View Hierarchy figure above).</p>
Ddeclaring-layout.jd144 …ew object may have an integer ID associated with it, to uniquely identify the View within the tree.
181 <p>An ID need not be unique throughout the entire tree, but it should be
182 unique within the part of the tree you are searching (which may often be the entire tree, so it's b…
Dui-events.jd276 the framework will take care of measuring, laying out, and drawing the tree
280 …<p class="note"><strong>Note:</strong> The entire View tree is single threaded. You must always be…
/frameworks/base/docs/html/guide/developing/debugging/
Ddebugging-ui.jd119 View objects within the context of the entire View tree. For each View object, the View
141 To highlight the nodes in the tree whose class or ID match a search string, enter the
167 view tree that is being displayed in Tree View.
242 speed of this View relative to other View objects in the tree. The three dots
250 the View objects in the tree. For example, a green dot for the measure time means
251 that this View has a faster measure time than 50% of the View objects in the tree.
255 the View objects in the tree. For example, a yellow dot for the layout time means
256 that this View has a slower layout time than 50% of the View objects in the tree.
259 Red: For this part of the render time, this View is the slowest one in the tree.
261 time to draw of all the View objects in the tree.
[all …]
Ddebugging-tracing.jd306 <p>The dmtracedump tool generates the call stack data as a tree diagram, with each call
/frameworks/base/docs/html/resources/articles/
Dlive-folders.jd170tree;h=refs/heads/cupcake;hb=cupcake">Contacts application</a> and of the <a href="http://android.…
Dlayout-tricks-reuse.jd33 tree;h=refs/heads/master;hb=master">the source code of the Home application</a>
Dlayout-tricks-merge.jd50 If you look closely at the resulting tree, you will notice that the
Dcreating-input-method.jd249 git;a=tree" title="LatinIME source code online">LatinIME source code</a>. The
Dindex.jd68 …L layouts in order to avoid unnecessary levels of hierarchy within an application's view tree.</dd>
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java1929 BasePermission tree = checkPermissionTreeLP(info.name); in addPermissionLocked() local
1934 bp = new BasePermission(info.name, tree.sourcePackage, in addPermissionLocked()
1942 && bp.perm.owner.equals(tree.perm.owner) in addPermissionLocked()
1943 && bp.uid == tree.uid in addPermissionLocked()
1949 bp.perm = new PackageParser.Permission(tree.perm.owner, in addPermissionLocked()
1951 bp.perm.info.packageName = tree.perm.info.packageName; in addPermissionLocked()
1952 bp.uid = tree.uid; in addPermissionLocked()
3811 p.tree ? mSettings.mPermissionTrees in scanPackageLI()
3824 BasePermission tree = findPermissionTreeLP(p.info.name); in scanPackageLI() local
3825 if (tree == null in scanPackageLI()
[all …]
/frameworks/base/docs/html/sdk/1.1_r1/
Dupgrading.jd98 …<li> Navigate down the tree and select <strong>Android Development Tools &lt;version&gt;</strong> …
/frameworks/base/include/utils/
DResourceTypes.h611 ResXMLParser(const ResXMLTree& tree);

12