/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 131 * Sets the source to be a virtual descendant of the given <code>root</code>. 132 * If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root 141 * @param root The root of the virtual subtree. 144 public void setSource(@Nullable View root, int virtualDescendantId) { argument 149 if (root != null) { 150 important = root.isImportantForAccessibility(); 151 rootViewId = root.getAccessibilityViewId(); 152 mSourceWindowId = root.getAccessibilityWindowId();
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 121 BrowserRoot root; field in class:MediaBrowserService.ConnectionRecord 229 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints); 233 if (connection.root == null) { 234 Log.i(TAG, "No root for client " + pkg + " from service " 247 callbacks.onConnect(connection.root.getRootId(), 248 mSession, connection.root.getExtras()); 367 * Called to get the root information for browsing by a particular client. 370 * to access browse media information before returning the root id; it 381 * root id for browsing, or null if none. The contents of this 493 connection.callbacks.onConnect(connection.root [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | DiffUtil.java | 575 Snake root = new Snake(); 576 root.x = 0; 577 root.y = 0; 578 root.removal = false; 579 root.size = 0; 580 root.reverse = false; 581 mSnakes.add(0, root);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SignalClusterView.java | 620 ViewGroup root = (ViewGroup) LayoutInflater.from(context) 622 setViews(root); 626 public void setViews(ViewGroup root) { argument 627 mMobileGroup = root; 628 mMobile = root.findViewById(R.id.mobile_signal); 629 mMobileType = root.findViewById(R.id.mobile_type); 630 mMobileRoaming = root.findViewById(R.id.mobile_roaming); 631 mMobileRoamingSpace = root.findViewById(R.id.mobile_roaming_space); 632 mMobileActivityIn = root.findViewById(R.id.mobile_in); 633 mMobileActivityOut = root [all...] |
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | TransitionTest.java | 67 ViewGroup root = activity.getRoot(); 68 mScenes[0] = Scene.getSceneForLayout(root, R.layout.support_scene0, activity); 69 mScenes[1] = Scene.getSceneForLayout(root, R.layout.support_scene1, activity); 124 ViewGroup root = activity.getRoot(); 126 .inflate(R.layout.support_scene0, root, false); 127 root.addView(container);
|
H A D | BaseTransitionTest.java | 48 mRoot = (LinearLayout) rule.getActivity().findViewById(R.id.root);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
H A D | SupportPreferencesUtil.java | 205 @NonNull XmlPullParser parser, @Nullable ViewGroup root) { 293 if (root != null) { 294 root.addView(scrollView); 204 inflatePreference(@onNull BridgeContext bridgeContext, @NonNull XmlPullParser parser, @Nullable ViewGroup root) argument
|
/frameworks/av/media/libaudioprocessing/tests/ |
H A D | mixer_to_wav_tests.sh | 48 adb root && adb wait-for-device remount
|
/frameworks/base/tools/aapt2/compile/ |
H A D | InlineXmlFormatParser_test.cpp | 65 xml::Element* el = doc->root.get(); 89 el = extracted_doc->root.get(); 117 xml::Element* el = doc->root.get(); 135 ASSERT_THAT(extracted_doc_text->root, NotNull()); 136 EXPECT_THAT(extracted_doc_text->root->name, StrEq("View2")); 140 ASSERT_THAT(extracted_doc_drawable->root, NotNull()); 141 EXPECT_THAT(extracted_doc_drawable->root->name, StrEq("vector")); 155 <root/> 203 ASSERT_THAT(doc->root, NotNull()); 204 EXPECT_THAT(doc->root [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | InputBuilder.cpp | 98 m_Root = m_pCurrentTree->root();
|
/frameworks/rs/perf-test-scripts/ |
H A D | set-cpu-freq | 35 # switch to root 36 if [[ "`adb shell id | tr -d '\r' | awk -F'[()]' '{print $2}'`" != "root" ]]; then 37 adb root
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | GuidedStepFragment.java | 939 // for Activity root, we don't need enter transition, use activity transition 1062 GuidedStepRootLayout root = (GuidedStepRootLayout) inflater.inflate( 1065 root.setFocusOutStart(isFocusOutStartAllowed()); 1066 root.setFocusOutEnd(isFocusOutEndAllowed()); 1068 ViewGroup guidanceContainer = (ViewGroup) root.findViewById(R.id.content_fragment); 1069 ViewGroup actionContainer = (ViewGroup) root.findViewById(R.id.action_fragment); 1159 View actionsRoot = root.findViewById(R.id.action_fragment_root); 1169 View backgroundView = onCreateBackgroundView(inflater, root, savedInstanceState); 1171 FrameLayout backgroundViewRoot = (FrameLayout)root.findViewById( 1176 return root; [all...] |
H A D | GuidedStepSupportFragment.java | 934 // for Activity root, we don't need enter transition, use activity transition 1057 GuidedStepRootLayout root = (GuidedStepRootLayout) inflater.inflate( 1060 root.setFocusOutStart(isFocusOutStartAllowed()); 1061 root.setFocusOutEnd(isFocusOutEndAllowed()); 1063 ViewGroup guidanceContainer = (ViewGroup) root.findViewById(R.id.content_fragment); 1064 ViewGroup actionContainer = (ViewGroup) root.findViewById(R.id.action_fragment); 1154 View actionsRoot = root.findViewById(R.id.action_fragment_root); 1164 View backgroundView = onCreateBackgroundView(inflater, root, savedInstanceState); 1166 FrameLayout backgroundViewRoot = (FrameLayout)root.findViewById( 1171 return root; [all...] |
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 492 * @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) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 98 public MenuView getMenuView(ViewGroup root) { argument 101 com.android.internal.R.layout.expanded_menu_layout, root, false);
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorageManager.java | 131 // null for root objects 312 // The root object of each storage isn't in this map since they all have ObjectId 0. 316 // A cache of the root MtpObject for each storage, keyed by storage id. 387 * Sets the special subdirectories, which are the subdirectories of root storage that queries 388 * are restricted to. Must be done before any root storages are accessed. 403 MtpObject root = new MtpObject(storage.getPath(), storageId, null, true); 404 mRoots.put(storageId, root); 434 for (MtpObject root : mRoots.values()) { 435 if (path.startsWith(root.getName())) { 436 obj = root; [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpDatabase.java | 65 * documents to the database. (All explanations are same for root documents) 214 * Queries root documents information. 439 * Deletes a document, and its root information if the document is a root document. 774 * Gets {@link ContentValues} for the given root. 779 * @param root Root to be converted {@link ContentValues}. 786 MtpRoot root) { 788 values.put(COLUMN_DEVICE_ID, root.mDeviceId); 789 values.put(COLUMN_STORAGE_ID, root.mStorageId); 795 values.put(Document.COLUMN_DISPLAY_NAME, root 781 getStorageDocumentValues( ContentValues values, ContentValues extraValues, String parentDocumentId, int[] operationsSupported, MtpRoot root) argument [all...] |
/frameworks/base/tests/JankBench/scripts/ |
H A D | collect.py | 95 adbutil.root(serial) 103 adbutil.root(serial)
|
/frameworks/base/tools/aapt2/ |
H A D | DominatorTree_test.cpp | 35 DominatorTree::Node* root) override { 36 for (auto& child : root->children()) {
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlCompatVersioner.cpp | 110 cloned_doc->root = doc->root->CloneElement([&](const xml::Element& el, xml::Element* out_el) {
|
/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.cpp | 31 double root = sqrt((h*h) + (8*l*h)); local 32 return (double(-h) + root) / 2.0;
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
H A D | PpsMoParser.java | 343 XMLNode root = null; 345 root = xmlParser.parse(xmlString); 349 if (root == null) { 353 // Verify root node is a "MgmtTree" node. 354 if (root.getTag() != TAG_MANAGEMENT_TREE) { 361 for (XMLNode child : root.getChildren()) { 508 * <NodeName>root</NodeName> 525 * [root] --- [child1, value1] 529 * @param node XMLNode pointed to the root of a XML tree 530 * @return PPSNode pointing to the root o 604 parsePpsInstance(PPSNode root) argument [all...] |
/frameworks/layoutlib/rename_font/ |
H A D | build_font.py | 110 root = tree.getroot() 111 for name in root.iter('name'):
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/ |
H A D | RecyclerItemAdapterTest.java | 83 ItemHierarchy root = adapter.getRootItemHierarchy(); 84 assertSame("Root item hierarchy should be mItemGroup", mItemGroup, root);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | colorcube.rs | 37 uchar4 RS_KERNEL root(uchar4 in) {
|