Searched refs:roots (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDeviceRecord.java27 public final MtpRoot[] roots; field in class:MtpDeviceRecord
32 MtpRoot[] roots, @Nullable int[] operationsSupported,
37 this.roots = roots;
31 MtpDeviceRecord(int deviceId, String name, @Nullable String deviceKey, boolean opened, MtpRoot[] roots, @Nullable int[] operationsSupported, @Nullable int[] eventsSupported) argument
H A DMtpManager.java254 final ArrayList<MtpRoot> roots = new ArrayList<>();
260 roots.add(new MtpRoot(device.getDeviceId(), info));
262 return roots.toArray(new MtpRoot[roots.size()]);
270 MtpRoot[] roots;
275 roots = getRoots(device.getDeviceId());
278 // If we failed to fetch roots for the device, we still returns device model
279 // with an empty set of roots so that the device is shown DocumentsUI as long as
281 roots = new MtpRoot[0];
289 roots
[all...]
H A DMapper.java88 * @param roots List of root information.
89 * @return If roots are added or removed from the database.
93 String parentDocumentId, int[] operationsSupported, MtpRoot[] roots)
98 final ContentValues[] valuesList = new ContentValues[roots.length];
99 final ContentValues[] extraValuesList = new ContentValues[roots.length];
100 for (int i = 0; i < roots.length; i++) {
108 roots[i]);
92 putStorageDocuments( String parentDocumentId, int[] operationsSupported, MtpRoot[] roots) argument
H A DRootScanner.java71 * Notifies a change of the roots list via ContentResolver.
115 * Runnable to scan roots and update the database information.
155 // Update roots.
164 documentId, device.operationsSupported, device.roots)) {
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestUtil.java123 if (device.roots.length == 0) {
H A DTestMtpManager.java100 device.deviceId, device.name, device.deviceKey, true, device.roots,
115 device.roots, device.operationsSupported, device.eventsSupported));
H A DMtpManagerTest.java121 storageId = record.roots[0].mStorageId;
H A DMtpDocumentsProviderTest.java950 private String[] setupRoots(int deviceId, MtpRoot[] roots) argument
955 roots, OPERATIONS_SUPPORTED, null));
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DDataBindingUtil.java178 static <T extends ViewDataBinding> T bind(DataBindingComponent bindingComponent, View[] roots, argument
180 return (T) sMapper.getDataBinder(bindingComponent, roots, layoutId);
H A DViewDataBinding.java961 * Walks the view hierarchy under roots and pulls out tagged Views, includes, and views with
966 * @param roots The root Views of the view hierarchy to walk. This is used with merge tags.
975 protected static Object[] mapBindings(DataBindingComponent bindingComponent, View[] roots, argument
978 for (int i = 0; i < roots.length; i++) {
979 mapBindings(bindingComponent, roots[i], bindings, includes, viewsWithIds, true);
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1717 * Temporary data structure used to build the list of roots
1765 final ArrayDeque<Node> roots = findRoots(rules);
1769 while ((node = roots.pollLast()) != null) {
1783 roots.add(dependent);
1795 * Finds the roots of the graph. A root is a node with no dependency and
1808 // Find roots can be invoked several times, so make sure to clear
1843 final ArrayDeque<Node> roots = mRoots;
1844 roots.clear();
1846 // Finds all the roots in the graph: all nodes with no dependencies
1849 if (node.dependencies.size() == 0) roots
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java7071 // No need to check mStopped, the roots will check if they were actually stopped.
7492 final ArrayList<ViewRootImpl> roots =
7495 for (int rootNum = 0; rootNum < roots.size(); rootNum++) {
7496 final View rootView = roots.get(rootNum).getView();
7514 final ArrayList<ViewRootImpl> roots =
7516 for (int rootNum = 0; rootNum < roots.size(); rootNum++) {
7517 final View rootView = roots.get(rootNum).getView();
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 3228 milliseconds