Searched refs:root (Results 276 - 300 of 378) sorted by relevance

<<111213141516

/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java208 * @param root The root node of the TTML document.
212 public static String extractText(TtmlNode root, long startUs, long endUs) { argument
214 extractText(root, startUs, endUs, text, false);
241 * @param root The root node of the TTML document.
245 public static String extractTtmlFragment(TtmlNode root, long startUs, long endUs) { argument
247 extractTtmlFragment(root, startUs, endUs, fragment);
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java119 * to the media browser service when connecting and retrieving the root id
294 * Gets the root id.
296 * Note that the root id may become invalid or change when the
579 final String root, final MediaSession.Token session, final Bundle extra) {
594 mRootId = root;
1090 public void onConnect(String root, MediaSession.Token session, argument
1094 mediaBrowser.onServiceConnected(this, root, session, extras);
578 onServiceConnected(final IMediaBrowserServiceCallbacks callback, final String root, final MediaSession.Token session, final Bundle extra) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyView.java196 public static SmartReplyView inflate(Context context, ViewGroup root) { argument
198 LayoutInflater.from(context).inflate(R.layout.smart_reply_view, root, false);
202 Button inflateReplyButton(Context context, ViewGroup root, int replyIndex, argument
206 R.layout.smart_reply_button, root, false);
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp85 xml::Element* el = xml::FindRootElement(res->root.get());
87 diag->Error(DiagMessage(res->file.source) << "no root tag defined");
92 diag->Error(DiagMessage(res->file.source) << "no <manifest> root tag defined");
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.cpp95 Element* el = doc->root.get();
98 source_diag.Error(DiagMessage() << "no root XML tag found");
114 error_msg << "unexpected root element ";
/frameworks/rs/
H A DrsScript.h95 int (* root)(); member in struct:android::renderscript::Script::Hal::DriverInfo
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DMenuPopup.java102 public MenuView getMenuView(ViewGroup root) { argument
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java46 /** Operation on view root, first parameter in packet should be one of VURT_* constants */
133 return createFailChunk(ERR_INVALID_OP, "Unknown view root operation: " + op);
193 private View getTargetView(View root, ByteBuffer in) { argument
204 return ViewDebug.findView(root, viewName);
213 * TODO: Currently this only returns views starting at the root, need to fix so that
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h145 iterator root() { return iterator(&(BinaryTreeBase<Input>::m_Root.node)); } function in class:mcld::BinaryTree
147 const_iterator root() const { function in class:mcld::BinaryTree
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DRemoteInputView.java160 public static RemoteInputView inflate(Context context, ViewGroup root) { argument
162 R.layout.abc_slice_remote_input, root, false);
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DLayoutBinderWriter.kt501 superParam = "root[0]"
504 superParam = "root"
509 nl("public $className(android.databinding.DataBindingComponent bindingComponent, $parameterType root) {") {
510 tab("this(bindingComponent, $superParam, mapBindings(bindingComponent, root, $bindingCount, sIncludes, sViewsWithIds));")
513 nl("private $className(android.databinding.DataBindingComponent bindingComponent, $parameterType root, Object[] bindings) {") {
522 nl("public $baseClassName(android.databinding.DataBindingComponent bindingComponent, $parameterType root) {") {
524 tab("final Object[] bindings = mapBindings(bindingComponent, root, $bindingCount, sIncludes, sViewsWithIds);")
552 tagValue = "root.getResources().getString($packageName.R.string.$resourceId)"
562 tab("setRootTag(root);")
1202 block("public static $baseClassName inflate(android.view.LayoutInflater inflater, android.view.ViewGroup root, boolea
[all...]
/frameworks/rs/script_api/
H A Drs_math.spec83 2 divided by the square root of pi, as a 32 bit float.
155 The inverse of the square root of 2, as a 32 bit float.
163 The square root of 2, as a 32 bit float.
452 summary: Cube root
454 Returns the cube root.
1155 summary: Reciprocal of a square root computed to 16 bit precision
1171 summary: Square root computed to 16 bit precision
1173 Returns the approximate square root of a value.
2110 summary: Approximate cube root
2112 Returns the approximate cubic root
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp49 sp<XMLNode> root = XMLNode::parse(target); local
50 if (root == NULL) {
54 return compileXmlFile(bundle, assets, resourceName, root, target, table, options);
65 sp<XMLNode> root = XMLNode::parse(target); local
66 if (root == NULL) {
70 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options);
76 const sp<XMLNode>& root,
81 if (table->versionForCompat(bundle, resourceName, target, root)) {
93 root->removeWhitespace(true, NULL);
95 root
73 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<XMLNode>& root, const sp<AaptFile>& target, ResourceTable* table, int options) argument
4772 versionForCompat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument
4842 modifyForCompat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument
5078 processBundleFormat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument
[all...]
H A DXMLNode.cpp558 sp<XMLNode> root = XMLNode::parse(file); local
559 if (root == NULL) {
562 root->removeWhitespace(stripAll, cDataTags);
566 root->print();
569 status_t err = root->flatten(rsc, !keepComments, false);
625 if (state.root == NULL) {
629 return state.root;
1227 st->root = node;
1250 st->root = node;
/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser.cpp298 Element* root = doc->root.get(); local
299 if (root == nullptr) {
300 diag->Error(DiagMessage() << "Could not find the root element in the XML document");
304 std::string& xml_ns = root->namespace_uri;
307 diag->Error(DiagMessage() << "Unknown namespace found on root element: " << xml_ns);
313 root->Accept(&visitor);
/frameworks/minikin/tools/
H A Dmk_hyb_file.py133 self.root = Node()
134 self.root.str = '<root>'
135 self.node_list = [self.root]
183 t = self.root
231 result = [self.root]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DRenderTestBase.java157 // Test if workingDir is android checkout root.
180 // Test if currentDir is platform/frameworks/layoutlib. That is, root should be
190 private static String getPlatformDirFromRoot(File root) { argument
191 if (!root.isDirectory()) {
194 File out = new File(root, "out");
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DSearchFragment.java299 View root = inflater.inflate(R.layout.lb_search_fragment, container, false);
301 FrameLayout searchFrame = (FrameLayout) root.findViewById(R.id.lb_search_frame);
368 return root;
H A DSearchSupportFragment.java294 View root = inflater.inflate(R.layout.lb_search_fragment, container, false);
296 FrameLayout searchFrame = (FrameLayout) root.findViewById(R.id.lb_search_frame);
363 return root;
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp85 const char* root = getenv("ANDROID_DATA"); local
86 LOG_ALWAYS_FATAL_IF(root == NULL, "ANDROID_DATA not set");
87 String8 path(root);
363 const char* root = getenv("ANDROID_ROOT"); local
364 LOG_ALWAYS_FATAL_IF(root == NULL, "ANDROID_ROOT not set");
366 String8 path(root);
961 * Pass in "" for the root dir.
1019 * Pass in "" for the root dir.
1640 * gets to prepend the asset root directory.
/frameworks/base/tools/aapt2/cmd/
H A DUtil.cpp228 doc->root = std::move(manifest_el);
320 const xml::Element* manifest_el = xml_res.root.get();
328 diag->Error(DiagMessage(xml_res.file.source) << "root tag must be <manifest>");
/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener.cpp373 if (!resource->root) {
376 return Flatten(context, resource->root.get());
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h42 m_pNode = m_pNode->right; // should be root
72 m_pNode = m_pNode->right; // should be root
244 * \brief BinaryTreeBase gives root node and memory management.
258 /// TreeImpl - TreeImpl records the root node and the number of nodes
279 /// summon - change the final edges of pClient to our root
297 // - the pointer of root
402 iterator root() { return iterator(&(BinaryTreeBase<DataType>::m_Root.node)); } function in class:mcld::BinaryTree
404 const_iterator root() const { function in class:mcld::BinaryTree
/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp102 // add root archive to ArchiveMemberMap
104 pArchive.inputs().root(),
143 /// @param pArchiveRoot - the archive root that holds the strtab (extended
347 /// @param pArchiveRoot - the archive root
420 // add root archive to ArchiveMemberMap
422 pArchive.inputs().root(),
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DSimpleCompilationTest.java71 result.resultContainsText("All tasks runnable from root project"));
342 assertEquals("Merge shouldn't support includes as root. Error message was '" + result.error,
381 File root = new File(testFolder, "app/build/intermediates/classes/debug/");
382 URL[] urls = new URL[] {root.toURL()};

Completed in 806 milliseconds

<<111213141516