Searched defs:root (Results 1 - 25 of 120) sorted by relevance

12345

/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DAssignableFrom.java23 private final Class root; field in class:AssignableFrom
25 AssignableFrom(Class root) { argument
26 this.root = root;
30 return root.isAssignableFrom(testMethod.getEnclosingClass());
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
37 return inflater.inflate(R.layout.print_progress_fragment, root, false);
H A DPrintErrorFragment.java56 public View onCreateView(LayoutInflater inflater, ViewGroup root, argument
58 return inflater.inflate(R.layout.print_error_fragment, root, false);
/frameworks/compile/mclinker/unittests/
H A DPathTest.cpp41 std::string root(TOPDIR);
42 root += "/test/lit.cfg";
43 m_pTestee->assign(root);
47 m_pTestee = new Path(root);
52 const std::string root = "/luck"; local
53 m_pTestee->assign(root);
57 m_pTestee = new Path(root);
62 const std::string root = "../././.."; local
63 m_pTestee->assign(root);
67 m_pTestee = new Path(root);
73 const std::string root = "/luck"; local
84 const std::string root = "aaa/bbb/../../ccc/"; local
98 const std::string root = "aa/"; local
111 const std::string root = "aa/"; local
[all...]
/frameworks/minikin/include/minikin/
H A DHyphenator.h57 Trie root; member in class:android::Hyphenator
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityRecordCompatJellyBean.java27 public static void setSource(Object record, View root, int virtualDescendantId) { argument
28 ((AccessibilityRecord) record).setSource(root, virtualDescendantId);
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java42 public void draw(ViewGroup root, Canvas c, View content) { argument
48 final int width = root.getWidth();
49 final int height = root.getHeight();
55 final int childCount = root.getChildCount();
57 final View child = root.getChildAt(i);
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java60 public static View inflatePreference(Context context, XmlPullParser parser, ViewGroup root) { argument
65 ListView preferenceView = createContainerView(context, root);
70 private static ListView createContainerView(Context context, ViewGroup root) { argument
79 inflater.inflate(mLayoutResId, root, true);
81 return (ListView) root.findViewById(android.R.id.list);
/frameworks/base/tools/preload/
H A DWritePreloadedClassFile.java49 Root root = Root.fromFile(rootFile);
52 for (LoadedClass loadedClass : root.loadedClasses.values()) {
80 for (LoadedClass loadedClass : root.loadedClasses.values()) {
98 for (Proc proc : root.processes.values()) {
118 addAllClassesFrom("zygote", root, toPreload);
130 root.toFile(rootFile);
133 private static void addAllClassesFrom(String processName, Root root, argument
135 for (Proc proc : root.processes.values()) {
/frameworks/support/v4/api22/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi22.java35 public static void setTraversalBefore(Object info, View root, int virtualDescendantId) { argument
36 ((AccessibilityNodeInfo) info).setTraversalBefore(root, virtualDescendantId);
47 public static void setTraversalAfter(Object info, View root, int virtualDescendantId) { argument
48 ((AccessibilityNodeInfo) info).setTraversalAfter(root, virtualDescendantId);
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellybeanMr1.java28 public static void setLabelFor(Object info, View root, int virtualDescendantId) { argument
29 ((AccessibilityNodeInfo) info).setLabelFor(root, virtualDescendantId);
40 public static void setLabeledBy(Object info, View root, int virtualDescendantId) { argument
41 ((AccessibilityNodeInfo) info).setLabeledBy(root, virtualDescendantId);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java47 * @param root The root accessibility node.
52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, argument
61 dumpWindowToFile(root,
69 * @param root The root accessibility node.
75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, argument
77 if (root == null) {
89 dumpNodeRec(root, serializer, 0, width, height);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearch.java102 private Button addShort(LinearLayout root, String label, boolean atBottom) { argument
126 root.addView(ll);
130 root.addView(ll);
H A DVerticalFocusSearch.java113 * @param root The layout to add the button to.
118 private Button addSkinny(LinearLayout root, String label, boolean atRight) { argument
142 root.addView(ll);
146 root.addView(ll);
H A DVerticalFocusSearchTest.java49 View findNextFocus(ViewGroup root, View focused, int direction); argument
55 public View findNextFocus(ViewGroup root, View focused, int direction) { argument
57 .findNextFocus(root, focused, direction);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java40 public RootInfo root; field in class:DocumentStack
43 if (size() == 1 && root != null) {
44 return root.title;
57 for (RootInfo root : matchingRoots) {
58 if (root.equals(this.root)) {
59 this.root = root;
63 throw new FileNotFoundException("Failed to find matching root for " + root);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailItemView.java80 ViewGroup root) {
83 R.layout.qs_user_detail_item, root, false);
79 convertOrInflate(Context context, View convertView, ViewGroup root) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java45 public static float mapCoordInDescendentToSelf(View descendant, View root, argument
52 while(v != root && v != null) {
56 ancestorChain.add(root);
80 /** Maps a coordinate in the root to a descendent. */
81 public static float mapCoordInSelfToDescendent(View descendant, View root, argument
88 while(v != root) {
92 ancestorChain.add(root);
/frameworks/base/tools/aapt2/
H A DFiles.cpp64 std::vector<std::string> listFiles(const StringPiece& root) { argument
65 DIR* dir = opendir(root.data());
67 Logger::error(Source{ root.toString() })
H A DXmlFlattener_test.cpp57 std::unique_ptr<Node> root = inflate(&input, &logger); local
58 if (!root) {
63 if (!flattenAndLink(Source{ "test.xml" }, root.get(), std::u16string(u"android"),
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DDataBindingUtil.java76 * a set of LayoutParams values for root of the returned hierarchy
80 * the correct subclass of LayoutParams for the root view in the XML.
101 * a set of LayoutParams values for root of the returned hierarchy
105 * the correct subclass of LayoutParams for the root view in the XML.
136 * Returns the binding for the given layout root or creates a binding if one
141 * when it is known that <code>root</code> has not yet been bound.
143 * @param root The root View of the inflated binding layout.
144 * @return A ViewDataBinding for the given root View. If one already exists, the
146 * @throws IllegalArgumentException when root i
150 bind(View root) argument
169 bind(View root, DataBindingComponent bindingComponent) argument
194 bind(DataBindingComponent bindingComponent, View root, int layoutId) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c237 if ((0x40000000l >> shift) + root <= value) \
239 value -= (0x40000000l >> shift) + root; \
240 root = (root >> 1) | (0x40000000l >> shift); \
242 root = root >> 1; \
245 Word32 rsqrt(Word32 value, /*!< Operand to square root (0.0 ... 1) */
248 Word32 root = 0; local
266 if (root < value)
267 ++root;
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp126 void ConfigParsingUtils::loadHwModule(cnode *root, HwModuleCollection &hwModules, argument
134 sp<HwModule> module = new HwModule(root->name);
136 node = config_find(root, DEVICES_TAG);
148 node = config_find(root, OUTPUTS_TAG);
160 node = config_find(root, INPUTS_TAG);
172 loadGlobalConfig(root, module, availableInputDevices, availableOutputDevices,
181 void ConfigParsingUtils::loadHwModules(cnode *root, HwModuleCollection &hwModules, argument
187 cnode *node = config_find(root, AUDIO_HW_MODULE_TAG);
202 void ConfigParsingUtils::loadGlobalConfig(cnode *root, const sp<HwModule>& module, argument
208 cnode *node = config_find(root, GLOBAL_CONFIG_TA
262 cnode *root; local
[all...]
H A DHwModule.cpp47 status_t HwModule::loadInput(cnode *root) argument
49 cnode *node = root->first_child;
51 sp<IOProfile> profile = new IOProfile(String8(root->name), AUDIO_PORT_ROLE_SINK);
94 status_t HwModule::loadOutput(cnode *root) argument
96 cnode *node = root->first_child;
98 sp<IOProfile> profile = new IOProfile(String8(root->name), AUDIO_PORT_ROLE_SOURCE);
140 status_t HwModule::loadDevice(cnode *root) argument
142 cnode *node = root->first_child;
158 deviceDesc->mTag = String8(root->name);
160 node = root
[all...]
/frameworks/base/core/java/android/util/
H A DJsonWriter.java492 * @param root true if the value is a new array or object, the two values
495 private void beforeValue(boolean root) throws IOException { argument
498 if (!lenient && !root) {

Completed in 2065 milliseconds

12345