/frameworks/base/tools/aapt2/ |
H A D | XmlFlattener.cpp | 509 bool flatten(Node* root, const std::u16string& defaultPackage, BigBuffer* outBuffer) { argument 522 root->accept(&flattener); 532 Maybe<size_t> flattenAndLink(const Source& source, Node* root, argument 554 root->accept(&flattener);
|
H A D | Main.cpp | 75 * Collect files from 'root', filtering out any files that do not 78 bool walkTree(const Source& root, const FileFilter& filter, argument 82 for (const std::string& dirName : listFiles(root.path)) { 83 std::string dir = root.path; 366 std::unique_ptr<xml::Node> root = xml::inflate(&in, &logger); local 367 if (!root) { 373 root->accept(&idCollector); 376 if (!xml::flatten(root.get(), options.appInfo.package, &outBuffer)) { 427 std::unique_ptr<xml::Node> root = xml::inflate(data, dataLen, &logger); local 428 if (!root) { 533 std::unique_ptr<xml::Node> root = xml::inflate(&in, &logger); local [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
H A D | NavigationMenuPresenter.java | 96 public MenuView getMenuView(ViewGroup root) { argument 99 R.layout.design_navigation_menu, root, false);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuPopupHelper.java | 256 public MenuView getMenuView(ViewGroup root) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuPresenter.java | 185 public MenuView getMenuView(ViewGroup root) { argument 186 MenuView result = super.getMenuView(root);
|
H A D | Toolbar.java | 1963 public MenuView getMenuView(ViewGroup root) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 457 public static View findView(View root, String parameter) { argument 464 View view = root.getRootView(); 470 final int id = root.getResources().getIdentifier(parameter, null, null); 471 return root.getRootView().findViewById(id); 477 private static void invalidate(View root, String parameter) { argument 478 final View view = findView(root, parameter); 484 private static void requestLayout(View root, String parameter) { argument 485 final View view = findView(root, parameter); 487 root.post(new Runnable() { 495 private static void profile(View root, OutputStrea argument 526 profileViewAndChildren(final View view, BufferedWriter out, boolean root) argument 657 captureLayers(View root, final DataOutputStream clientStream) argument 729 outputDisplayList(View root, String parameter) argument 735 outputDisplayList(View root, View target) argument 739 capture(View root, final OutputStream clientStream, String parameter) argument 747 capture(View root, final OutputStream clientStream, View captureView) argument 807 dump(View root, boolean skipChildren, boolean includeProperties, OutputStream clientStream) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 123 * Sets the source to be a virtual descendant of the given <code>root</code>. 124 * If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root 133 * @param root The root of the virtual subtree. 136 public void setSource(View root, int virtualDescendantId) { argument 141 if (root != null) { 144 important = root.isImportantForAccessibility(); 145 mSourceNode = root.createAccessibilityNodeInfo(); 147 AccessibilityNodeProvider provider = root.getAccessibilityNodeProvider(); 153 mSourceWindowId = root [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuPresenter.java | 222 public MenuView getMenuView(ViewGroup root) { argument 224 MenuView result = super.getMenuView(root);
|
H A D | DatePicker.java | 1119 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument 1120 View target = root.findViewById(viewId);
|
H A D | RemoteViews.java | 240 public abstract void apply(View root, ViewGroup rootParent, argument 348 public void apply(View root, ViewGroup rootParent, OnClickHandler handler) { argument 349 final View view = root.findViewById(viewId); 354 final View emptyView = root.findViewById(emptyViewId); 383 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument 384 final View target = root.findViewById(viewId); 392 if (target == root) { 458 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument 459 final View target = root.findViewById(viewId); 554 public void apply(View root, ViewGrou argument 617 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 690 apply(View root, ViewGroup rootParent, final OnClickHandler handler) argument 854 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 916 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1034 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1286 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1367 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1497 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1556 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1602 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument 1658 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument [all...] |
H A D | Toolbar.java | 1946 public MenuView getMenuView(ViewGroup root) { argument
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 1369 public static void addToTrie(TrieNode root, String str, String value) { argument 1372 root = root.getOrCreateChild(str.charAt(index++)); 1374 root.setValue(value); 1381 private static boolean matches(TrieNode root, String str) { argument 1384 root = root.getChild(str.charAt(index++)); 1385 if (root == null) { 1387 } else if (root.exists()) { 1399 TrieNode root, AbstractMessageParse 1398 longestMatch( TrieNode root, AbstractMessageParser p, int start) argument 1408 longestMatch( TrieNode root, AbstractMessageParser p, int start, boolean smiley) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 208 * @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/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | BaseActivity.java | 103 final RootInfo root = getCurrentRoot(); 105 // If we're browsing a specific root, and that root went away, then we 107 if (state.action == State.ACTION_BROWSE && root != null) { 108 if (mRoots.getRootBlocking(root.authority, root.rootId) == null) { 128 final RootInfo root = getCurrentRoot(); 139 mSearchManager.update(root); 161 void onRootPicked(RootInfo root) { argument 164 // Clear entire backstack and start in new root 508 PickRootTask(RootInfo root) argument 710 update(RootInfo root) argument [all...] |
H A D | DirectoryFragment.java | 133 private static final String EXTRA_ROOT = "root"; 142 public static void showNormal(FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) { argument 143 show(fm, TYPE_NORMAL, root, doc, null, anim); 146 public static void showSearch(FragmentManager fm, RootInfo root, String query, int anim) { argument 147 show(fm, TYPE_SEARCH, root, null, query, anim); 154 private static void show(FragmentManager fm, int type, RootInfo root, DocumentInfo doc, argument 158 args.putParcelable(EXTRA_ROOT, root); 183 private static String buildStateKey(RootInfo root, DocumentInfo doc) { argument 185 builder.append(root != null ? root [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SignalClusterView.java | 495 ViewGroup root = (ViewGroup) LayoutInflater.from(context) 497 setViews(root); 501 public void setViews(ViewGroup root) { argument 502 mMobileGroup = root; 503 mMobile = (ImageView) root.findViewById(R.id.mobile_signal); 504 mMobileDark = (ImageView) root.findViewById(R.id.mobile_signal_dark); 505 mMobileType = (ImageView) root.findViewById(R.id.mobile_type);
|
/frameworks/data-binding/library/src/main/java/android/databinding/ |
H A D | ViewDataBinding.java | 56 * Prefix for android:tag on Views with binding. The root View and include tags will not have 184 * The root View that this Binding is associated with. 218 protected ViewDataBinding(DataBindingComponent bindingComponent, View root, int localFieldCount) { argument 221 this.mRoot = root; 408 * binding is for a merge layout file, this will return the first root in the merge tag. 543 * Walks the view hierarchy under root and pulls out tagged Views, includes, and views with 548 * @param root The root of the view hierarchy to walk. 557 protected static Object[] mapBindings(DataBindingComponent bindingComponent, View root, argument 560 mapBindings(bindingComponent, root, binding [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | MOManager.java | 337 private static void buildHomeSPTree(HomeSP homeSP, OMAConstructed root, int spInstance) argument 339 OMANode providerSubNode = root.addChild(getInstanceString(spInstance), null, null, null);
|
/frameworks/rs/ |
H A D | rsFont.cpp | 757 const char * root = getenv("ANDROID_ROOT"); local 758 rsAssert(strlen(root) < 256); 759 strcpy(fullPath, root);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 1605 public MenuView getMenuView(ViewGroup root) { argument
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 97 const char* root = getenv("ANDROID_DATA"); local 98 LOG_ALWAYS_FATAL_IF(root == NULL, "ANDROID_DATA not set"); 99 String8 path(root); 337 const char* root = getenv("ANDROID_ROOT"); local 338 LOG_ALWAYS_FATAL_IF(root == NULL, "ANDROID_ROOT not set"); 340 String8 path(root); 1204 * Pass in "" for the root dir. 1267 * Pass in "" for the root dir. 1832 * To be consistent, we want entries for the root directory. If 1833 * we're the root, ad [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 65 static bool isHidden(const char *root, const char *path) argument 98 String8 fullPath(root); 907 String8 root, remain(filePath), partialPath; local 909 root = remain.walkPath(&remain); 910 partialPath.appendPath(root); 912 const String8 rootStr(root); 980 // place at root of zip.
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 492 public Object obtain(View root, int virtualDescendantId); argument 494 public void setSource(Object info, View root, int virtualDescendantId); argument 503 public boolean removeChild(Object info, View root, int virtualDescendantId); argument 516 public void setParent(Object info, View root, int virtualDescendantId); argument 581 public void setTraversalBefore(Object info, View root, int virtualDescendantId); argument 584 public void setTraversalAfter(Object info, View root, int virtualDescendantId); argument 590 public void setLabelFor(Object info, View root, int virtualDescendantId); argument 593 public void setLabeledBy(Object info, View root, int virtualDescendantId); argument 633 public Object obtain(View root, int virtualDescendantId) { argument 683 public boolean removeChild(Object info, View root, in argument 923 setSource(Object info, View root, int virtualDescendantId) argument 948 setParent(Object info, View root, int virtualDescendantId) argument 1071 setTraversalBefore(Object info, View root, int virtualDescendantId) argument 1084 setTraversalAfter(Object info, View root, int virtualDescendantId) argument 1110 setLabelFor(Object info, View root, int virtualDescendantId) argument 1123 setLabeledBy(Object info, View root, int virtualDescendantId) argument 1459 obtain(View root, int virtualDescendantId) argument 1479 setSource(Object info, View root, int virtualDescendantId) argument 1519 setParent(Object info, View root, int virtualDescendantId) argument 1532 setLabelFor(Object info, View root, int virtualDescendantId) argument 1547 setLabeledBy(Object info, View root, int virtualDescendantId) argument 1839 removeChild(Object info, View root, int virtualDescendantId) argument 1856 setTraversalBefore(Object info, View root, int virtualDescendantId) argument 1871 setTraversalAfter(Object info, View root, int virtualDescendantId) argument 2282 obtain(View root, int virtualDescendantId) argument 2335 setSource(View root, int virtualDescendantId) argument 2436 addChild(View root, int virtualDescendantId) argument 2468 removeChild(View root, int virtualDescendantId) argument 2663 setParent(View root, int virtualDescendantId) argument 3332 setLabelFor(View root, int virtualDescendantId) argument 3380 setLabeledBy(View root, int virtualDescendantId) argument 3616 setTraversalBefore(View root, int virtualDescendantId) argument 3672 setTraversalAfter(View root, int virtualDescendantId) argument [all...] |
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 241 ViewNode root = win.mRoot; 243 if (DEBUG_PARCEL_TREE) Log.d(TAG, "Writing initial root view " + root); 244 writeView(root, out, pwriter, 0); 403 WindowNode(AssistStructure assist, ViewRootImpl root) { argument 404 View view = root.getView(); 411 mTitle = root.getTitle(); 412 mDisplayId = root.getDisplayId(); 415 if ((root.getWindowFlags()& WindowManager.LayoutParams.FLAG_SECURE) != 0) { 492 * Returns the {@link ViewNode} containing the root conten [all...] |