Searched defs:root (Results 26 - 50 of 120) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPresenter.java65 * @param root Intended parent of the MenuView.
68 public MenuView getMenuView(ViewGroup root); argument
H A DBaseMenuPresenter.java68 public MenuView getMenuView(ViewGroup root) { argument
70 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false);
H A DListMenuPresenter.java96 public MenuView getMenuView(ViewGroup root) { argument
99 com.android.internal.R.layout.expanded_menu_layout, root, false);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java83 public DirectoryLoader(Context context, int type, RootInfo root, DocumentInfo doc, Uri uri, argument
85 super(context, ProviderExecutor.forAuthority(root.authority));
87 mRoot = root;
H A DRootsCache.java103 // Special root for recents
263 final RootInfo root = RootInfo.fromRootsCursor(authority, cursor);
264 roots.add(root);
282 RootInfo root = getRootLocked(authority, rootId);
283 if (root == null) {
286 root = getRootLocked(authority, rootId);
288 return root;
301 for (RootInfo root : mRoots.get(authority)) {
302 if (Objects.equals(root.rootId, rootId)) {
303 return root;
309 isIconUniqueBlocking(RootInfo root) argument
331 isRecentsRoot(RootInfo root) argument
[all...]
H A DRootsFragment.java154 final RootInfo root = ((BaseActivity) getActivity()).getCurrentRoot();
158 final RootInfo testRoot = ((RootItem) item).root;
159 if (Objects.equals(testRoot, root)) {
180 activity.onRootPicked(((RootItem) item).root);
185 throw new IllegalStateException("Unknown root: " + item);
223 public final RootInfo root; field in class:RootsFragment.RootItem
225 public RootItem(RootInfo root) { argument
227 this.root = root;
237 icon.setImageDrawable(root
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java107 public static RemoteInputView inflate(Context context, ViewGroup root, argument
110 LayoutInflater.from(context).inflate(R.layout.remote_input, root, false);
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java82 LinearLayout root = new LinearLayout(this);
83 root.setOrientation(LinearLayout.VERTICAL);
89 addLabelToRoot(root, "Prescaled bitmap in drawable");
90 addChildToRoot(root, layout);
96 addLabelToRoot(root, "Autoscaled bitmap in drawable");
97 addChildToRoot(root, layout);
103 addLabelToRoot(root, "Prescaled resource drawable");
104 addChildToRoot(root, layout);
107 addLabelToRoot(root, "Inflated layout");
108 addChildToRoot(root, layou
152 addLabelToRoot(LinearLayout root, String text) argument
159 addChildToRoot(LinearLayout root, LinearLayout layout) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java43 LinearLayout root = createContainer();
44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"),
46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"),
48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT);
50 setContentView(root);
53 private Button createButton(final LinearLayout root) { argument
59 for (int i = 0; i < root.getChildCount(); i++) {
60 View child = root.getChildAt(i);
71 private void addChild(LinearLayout root, Vie argument
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java134 void buildTextRects(AssistStructure.ViewNode root, int matrixStackIndex, argument
136 if (root.getVisibility() != View.VISIBLE) {
149 matrix.preTranslate(root.getLeft(), root.getTop());
150 int left = parentLeft + root.getLeft();
151 int top = parentTop + root.getTop();
152 Matrix transform = root.getTransformation();
156 if (root.getText() != null || root.getContentDescription() != null) {
157 TextEntry te = new TextEntry(root, parentLef
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java165 public View inflate(int resource, ViewGroup root) { argument
196 return inflate(bridgeParser, root);
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp31 double root = sqrt((h*h) + (8*l*h)); local
32 return (double(-h) + root) / 2.0;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DConfigBuilder.java87 private static WifiConfiguration parse(MIMEContainer root, Context context) argument
90 if (root.getMimeContainers() == null) {
99 for (MIMEContainer subContainer : root.getMimeContainers()) {
/frameworks/support/tests/java/android/support/v4/provider/
H A DDocumentFileTest.java43 private File root; field in class:DocumentFileTest
70 root = Environment.getExternalStorageDirectory();
71 rootFoo = new File(root, FOO);
72 rootMeow = new File(root, MEOW);
81 final File tmp = new File(root, "bark.pdf");
111 test.exec(DocumentFile.fromFile(root));
143 test.exec(DocumentFile.fromFile(root));
174 test.exec(DocumentFile.fromFile(root));
199 test.exec(DocumentFile.fromFile(root));
243 test.exec(DocumentFile.fromFile(root));
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java32 public static void setSource(Object info, View root, int virtualDescendantId) { argument
33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId);
56 public static Object obtain(View root, int virtualDescendantId) { argument
57 return AccessibilityNodeInfo.obtain(root, virtualDescendantId);
68 public static void setParent(Object info, View root, int virtualDescendantId) { argument
69 ((AccessibilityNodeInfo) info).setParent(root, virtualDescendantId);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPresenter.java70 * @param root Intended parent of the MenuView.
73 public MenuView getMenuView(ViewGroup root); argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceInflater.java109 * @param root Optional parent of the generated hierarchy.
110 * @return The root of the inflated hierarchy. If root was supplied,
111 * this is the root item; otherwise it is the root of the inflated
114 public Preference inflate(int resource, @Nullable PreferenceGroup root) { argument
117 return inflate(parser, root);
134 * @param root Optional to be the parent of the generated hierarchy (if
136 * provides a set of values for root of the returned
138 * @return The root o
142 inflate(XmlPullParser parser, @Nullable PreferenceGroup root) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DDeviceDescriptor.cpp62 void DeviceDescriptor::loadGains(cnode *root) argument
64 AudioPort::loadGains(root);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp438 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) argument
446 param = config_find(root, PARAM_TAG);
447 value = config_find(root, VALUE_TAG);
450 param = root->first_child;
464 ALOGW("loadEffectParameter() invalid parameter description %s", root->name);
502 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) argument
504 cnode *node = root->first_child;
519 cnode *root,
522 cnode *node = root->first_child;
524 ALOGW("loadInputSource() empty element %s", root
518 loadEffectConfig( cnode *root, const Vector <EffectDesc *>& effects) argument
556 loadInputEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
583 loadStreamEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
610 loadEffect(cnode *root) argument
624 loadEffects(cnode *root, Vector <EffectDesc *>& effects) argument
646 cnode *root; local
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java50 /** Operation on view root, first parameter in packet should be one of VURT_* constants */
140 return createFailChunk(ERR_INVALID_OP, "Unknown view root operation: " + op);
206 private View getTargetView(View root, ByteBuffer in) { argument
217 return ViewDebug.findView(root, viewName);
226 * TODO: Currently this only returns views starting at the root, need to fix so that
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java215 * @param root Optional parent of the generated hierarchy.
216 * @return The root of the inflated hierarchy. If root was supplied,
217 * this is the root item; otherwise it is the root of the inflated
220 public T inflate(@XmlRes int resource, P root) { argument
221 return inflate(resource, root, root != null);
235 * @param root Optional parent of the generated hierarchy.
236 * @return The root o
240 inflate(XmlPullParser parser, P root) argument
260 inflate(@mlRes int resource, P root, boolean attachToRoot) argument
291 inflate(XmlPullParser parser, P root, boolean attachToRoot) argument
[all...]
/frameworks/base/core/java/android/view/
H A DFocusFinder.java57 * Find the next view to take focus in root's descendants, starting from the view
59 * @param root Contains focused. Cannot be null.
64 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
65 return findNextFocus(root, focused, null, direction);
69 * Find the next view to take focus in root's descendants, searching from
70 * a particular rectangle in root's coordinates.
71 * @param root Contains focusedRect. Cannot be null.
76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
78 return findNextFocus(root, null, mFocusedRect, direction);
81 private View findNextFocus(ViewGroup root, Vie argument
102 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument
113 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
170 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
191 setFocusBottomRight(ViewGroup root, Rect focusedRect) argument
197 setFocusTopLeft(ViewGroup root, Rect focusedRect) argument
203 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
513 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
615 setRoot(ViewGroup root) argument
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.h151 sp<XMLNode> root; member in struct:XMLNode::ParseState
/frameworks/base/tools/aapt2/
H A DManifestMerger.cpp17 static xml::Element* findManifest(xml::Node* root) { argument
18 if (!root) {
22 while (root->type == xml::NodeType::kNamespace) {
23 if (root->children.empty()) {
26 root = root->children[0].get();
29 if (root && root->type == xml::NodeType::kElement) {
30 xml::Element* el = static_cast<xml::Element*>(root);
78 std::unique_ptr<xml::Node> root) {
77 setAppManifest(const Source& source, const std::u16string& package, std::unique_ptr<xml::Node> root) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DMain.java125 // Test if workingDir is android checkout root.
136 // Test if currentDir is platform/frameworks/base/tools/layoutlib. That is, root should be
146 private static String getPlatformDirFromRoot(File root) { argument
147 if (!root.isDirectory()) {
150 File out = new File(root, "out");

Completed in 833 milliseconds

12345