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

123

/packages/apps/Camera2/src/com/android/camera/widget/
H A DIndicatorIconController.java65 public IndicatorIconController(AppController controller, View root) { argument
69 mFlashIndicator = (ImageView) root.findViewById(R.id.flash_indicator);
75 mHdrIndicator = (ImageView) root.findViewById(R.id.hdr_indicator);
83 mPanoIndicator = (ImageView) root.findViewById(R.id.pano_indicator);
88 mCountdownTimerIndicator = (ImageView) root.findViewById(R.id.countdown_timer_indicator);
92 mExposureIndicatorN2 = (ImageView) root.findViewById(R.id.exposure_n2_indicator);
93 mExposureIndicatorN1 = (ImageView) root.findViewById(R.id.exposure_n1_indicator);
94 mExposureIndicatorP1 = (ImageView) root.findViewById(R.id.exposure_p1_indicator);
95 mExposureIndicatorP2 = (ImageView) root.findViewById(R.id.exposure_p2_indicator);
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DStressProvider.java51 // Empty root.
81 // Map from a root document id to children document ids.
134 for (StubRoot root : mRoots.values()) {
135 includeRoot(result, root);
178 private void includeRoot(MatrixCursor result, StubRoot root) { argument
180 row.add(Root.COLUMN_ROOT_ID, root.id);
182 row.add(Root.COLUMN_TITLE, root.id);
183 row.add(Root.COLUMN_DOCUMENT_ID, root.documentId);
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DActionHandler.java56 void openSettings(RootInfo root); argument
59 * Drops documents on a root.
61 boolean dropOn(DragEvent event, RootInfo root); argument
64 * Attempts to eject the identified root. Returns a boolean answer to listener.
66 void ejectRoot(RootInfo root, BooleanConsumer listener); argument
69 * Attempts to fetch the DocumentInfo for the supplied root. Returns the DocumentInfo to the
73 void getRootDocument(RootInfo root, int timeout, Consumer<DocumentInfo> callback); argument
90 void openRoot(RootInfo root); argument
100 void pasteIntoFolder(RootInfo root); argument
H A DOpenExternalDirectoryActivity.java163 if (DEBUG) Log.d(TAG, "root access requested on primary volume");
180 final String root, directory;
182 root = volumeRoot.getAbsolutePath();
185 root = file.getParent();
205 if (isRightVolume(volume, root, userId)) {
209 if (DEBUG) Log.d(TAG, "Converting " + root + " to " + internalRoot);
285 private static boolean isRightVolume(VolumeInfo volume, String root, int userId) { argument
293 + "\n\troot: " + root
297 return isMounted && root.equals(path);
345 boolean isRoot, File root, Fil
344 getIntentForExistingPermission(OpenExternalDirectoryActivity activity, boolean isRoot, File root, File file) argument
[all...]
H A DDragAndDropManager.java72 * @param root the root in which documents being dragged are
80 RootInfo root,
88 * @param root the root in which the document is
92 boolean canSpringOpen(RootInfo root, DocumentInfo doc); argument
106 * @param destRoot the root of the destination document.
121 * Drops items onto the a root.
125 * @param destRoot the target root
126 * @param actions {@link ActionHandler} used to load root documen
77 startDrag( View v, List<DocumentInfo> srcs, RootInfo root, List<Uri> invalidDest, SelectionDetails selectionDetails, IconHelper iconHelper, @Nullable DocumentInfo parent) argument
226 startDrag( View v, List<DocumentInfo> srcs, RootInfo root, List<Uri> invalidDest, SelectionDetails selectionDetails, IconHelper iconHelper, @Nullable DocumentInfo parent) argument
297 canSpringOpen(RootInfo root, DocumentInfo doc) argument
493 isValidDestination(RootInfo root, Uri dstUri) argument
[all...]
H A DBaseActivity.java294 public void onRootPicked(RootInfo root) { argument
295 // Clicking on the current root removes search
298 // Skip refreshing if root nor directory didn't change
299 if (root.equals(getCurrentRoot()) && mState.stack.size() == 1) {
306 // Set summary header's visibility. Only recents and downloads root may have summary in
310 root.isRecents() || root.isDownloads() ? View.VISIBLE : View.INVISIBLE);
312 // Clear entire backstack and start in new root
313 mState.stack.changeRoot(root);
318 if (mProviders.isRecentsRoot(root)) {
[all...]
H A DMenuManager.java200 public void updateRootContextMenu(Menu menu, RootInfo root, DocumentInfo docInfo) { argument
206 updateEject(eject, root);
207 updatePasteInto(pasteInto, root, docInfo);
208 updateOpenInNewWindow(openInNewWindow, root);
209 updateSettings(settings, root);
234 protected void updateSettings(MenuItem settings, RootInfo root) { argument
238 protected void updateEject(MenuItem eject, RootInfo root) { argument
260 MenuItem openInNewWindow, RootInfo root) {
304 protected void updatePasteInto(MenuItem pasteInto, RootInfo root, DocumentInfo docInfo) { argument
259 updateOpenInNewWindow( MenuItem openInNewWindow, RootInfo root) argument
H A DAbstractActionHandler.java147 public void ejectRoot(RootInfo root, BooleanConsumer listener) { argument
150 root.authority,
151 root.rootId,
152 listener).executeOnExecutor(ProviderExecutor.forAuthority(root.authority));
182 public void getRootDocument(RootInfo root, int timeout, Consumer<DocumentInfo> callback) { argument
184 root,
190 task.executeOnExecutor(mExecutors.lookup(root.authority));
243 public void openSettings(RootInfo root) { argument
258 public boolean dropOn(DragEvent event, RootInfo root) { argument
263 public void pasteIntoFolder(RootInfo root) { argument
605 onRootPicked(RootInfo root) argument
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DDocumentStack.java66 public DocumentStack(RootInfo root, DocumentInfo... docs) { argument
72 mRoot = root;
79 public DocumentStack(RootInfo root, List<DocumentInfo> docs) { argument
81 mRoot = root;
144 if (DEBUG) Log.d(TAG, "Popping docs to root folder.");
151 public void changeRoot(RootInfo root) { argument
152 if (DEBUG) Log.d(TAG, "Root changed to: " + root);
154 mRoot = root;
193 + "root=" + mRoot
206 for (RootInfo root
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
H A DActionHandler.java119 public boolean dropOn(DragEvent event, RootInfo root) { argument
120 if (!root.supportsCreate() || root.isLibrary()) {
131 clipData, localState, root, this, mDialogs::showFileOperationStatus);
144 public void openSettings(RootInfo root) { argument
147 intent.setDataAndType(root.getUri(), DocumentsContract.Root.MIME_TYPE_ITEM);
152 public void pasteIntoFolder(RootInfo root) { argument
154 root,
156 (DocumentInfo doc) -> pasteIntoFolder(root, doc));
159 private void pasteIntoFolder(RootInfo root, argument
184 openRoot(RootInfo root) argument
[all...]
H A DMenuManager.java141 protected void updateSettings(MenuItem settings, RootInfo root) { argument
143 settings.setEnabled(root.hasSettings());
147 protected void updateEject(MenuItem eject, RootInfo root) { argument
148 eject.setVisible(root.supportsEject());
149 eject.setEnabled(!root.ejecting);
186 protected void updateOpenInNewWindow(MenuItem openInNewWindow, RootInfo root) { argument
225 protected void updatePasteInto(MenuItem pasteInto, RootInfo root, DocumentInfo docInfo) { argument
227 pasteInto.setEnabled(root.supportsCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DActionHandler.java229 public void openRoot(RootInfo root) { argument
230 Metrics.logRootVisited(mActivity, Metrics.PICKER_SCOPE, root);
231 mActivity.onRootPicked(root);
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DRootsFragment.java171 // If a read-only root, no need to see if top level is writable (it's not)
172 if (!(item instanceof RootItem) || !((RootItem) item).root.supportsCreate()) {
262 for (final RootInfo root : roots) {
263 final RootItem item = new RootItem(root, mActionHandler);
266 if (root.isHome() && !Shared.shouldShowDocumentsRoot(activity)) {
268 } else if (root.isLibrary()) {
352 final RootInfo root = ((BaseActivity) getActivity()).getCurrentRoot();
356 final RootInfo testRoot = ((RootItem) item).root;
357 if (Objects.equals(testRoot, root)) {
401 ejectClicked(ejectIcon, rootItem.root, mActionHandle
434 ejectClicked(View ejectIcon, RootInfo root, ActionHandler actionHandler) argument
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
H A DDocumentsProviderHelper.java80 throw new IllegalArgumentException("Can't find matching root for id=" + documentId);
82 throw new RuntimeException("Can't load root for id=" + documentId , e);
106 public Uri createDocument(RootInfo root, String mimeType, String name) { argument
107 return createDocument(root.documentId, mimeType, name);
134 public Uri createFolder(RootInfo root, String name) { argument
135 return createDocument(root, Document.MIME_TYPE_DIR, name);
170 public void assertChildCount(RootInfo root, int expected) throws Exception { argument
171 assertChildCount(root.documentId, expected);
189 public void assertHasFile(RootInfo root, String name) throws Exception { argument
190 assertHasFile(root
208 assertHasDirectory(RootInfo root, String name) argument
226 assertDoesNotExist(RootInfo root, String name) argument
304 createVirtualFile( RootInfo root, String path, String mimeType, byte[] content, String... streamTypes) argument
[all...]
H A DTestActivity.java143 public final void onRootPicked(RootInfo root) { argument
144 rootPicked.accept(root);
/packages/apps/Settings/src/com/android/settings/location/
H A DLocationSettings.java176 PreferenceScreen root = getPreferenceScreen();
177 if (root != null) {
178 root.removeAll();
181 root = getPreferenceScreen();
183 setupManagedProfileCategory(root);
184 mLocationMode = root.findPreference(KEY_LOCATION_MODE);
203 preferenceController.displayPreference(root);
206 (PreferenceCategory) root.findPreference(KEY_RECENT_LOCATION_REQUESTS);
238 addLocationServices(activity, root, lockdownOnLocationAccess);
241 return root;
244 setupManagedProfileCategory(PreferenceScreen root) argument
295 addLocationServices(Context context, PreferenceScreen root, boolean lockdownOnLocationAccess) argument
[all...]
/packages/apps/Settings/src/com/android/settings/notification/
H A DWorkSoundPreferenceController.java182 private DefaultRingtonePreference initWorkPreference(PreferenceGroup root, String key) { argument
184 (DefaultRingtonePreference) root.findPreference(key);
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
H A DProvidersCache.java110 // Special root for recents
152 // Nothing else about the root should ever change.
284 final RootInfo root = RootInfo.fromRootsCursor(authority, cursor);
285 roots.add(root);
289 // We didn't load every root from the provider. Don't put it to
319 RootInfo root = forceRefresh ? null : getRootLocked(authority, rootId);
320 if (root == null) {
323 root = getRootLocked(authority, rootId);
325 return root;
338 for (RootInfo root
351 isRecentsRoot(RootInfo root) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadCache.java81 public DownloadCache(GalleryApp application, File root, long capacity) { argument
82 mRoot = Utils.checkNotNull(root);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java148 mCurrentFolder to root folder */
172 mCurrentFolder = new BluetoothMapFolderElement("root", null);//This will be the root element
186 tmpFolder = mCurrentFolder.addFolder("telecom"); // root/telecom
191 tmpFolder = tmpFolder.addFolder("msg"); // root/telecom/msg
212 * @param root
214 private void addBaseFolders(BluetoothMapFolderElement root) { argument
215 root.addFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox
216 root
225 addSmsMmsFolders(BluetoothMapFolderElement root) argument
234 addImFolders(BluetoothMapFolderElement root) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DButtonManager.java117 * Load references to buttons under a root View.
118 * Call this after the root clears/reloads all of its children
121 public void load(View root) { argument
122 getButtonsReferences(root);
151 private void getButtonsReferences(View root) { argument
153 = (MultiToggleImageButton) root.findViewById(R.id.camera_toggle_button);
155 = (MultiToggleImageButton) root.findViewById(R.id.flash_toggle_button);
157 = (MultiToggleImageButton) root.findViewById(R.id.hdr_plus_toggle_button);
159 = (MultiToggleImageButton) root.findViewById(R.id.grid_lines_toggle_button);
161 = (ImageButton) root
[all...]
/packages/apps/Dialer/java/com/android/dialershared/bubble/
H A DBubble.java601 ViewGroup root = viewHolder.getRoot();
602 windowManager.addView(root, windowParams);
603 root.getViewTreeObserver()
608 root.getViewTreeObserver().removeOnPreDrawListener(this);
690 private final WindowRoot root; field in class:Bubble.ViewHolder
702 // Window root is not in the layout file so that the inflater has a view to inflate into
703 this.root = new WindowRoot(context);
704 LayoutInflater inflater = LayoutInflater.from(root.getContext());
705 View contentView = inflater.inflate(R.layout.bubble_base, root, true);
716 root
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLView.java86 GLRoot root = getGLRoot();
87 if (root == null) throw new IllegalStateException();
91 root.registerLaunchedAnimation(mAnimation);
115 public void attachToRoot(GLRoot root) { argument
117 onAttachToRoot(root);
151 // If this is added after we have a root, tell the component.
206 GLRoot root = getGLRoot();
207 if (root != null) root.requestRender();
219 GLRoot root
431 onAttachToRoot(GLRoot root) argument
[all...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPrivateVolumeSettings.java527 private Intent getIntentForStorage(String authority, String root) { argument
530 DocumentsContract.buildRootUri(authority, root),
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dpointer.h382 \param root Root value of a DOM subtree to be resolved. It can be any value other than document root.
387 ValueType& Create(ValueType& root, typename ValueType::AllocatorType& allocator, bool* alreadyExist = 0) const { argument
389 ValueType* v = &root;
454 \param root Root value of a DOM sub-tree to be resolved. It can be any value other than document root.
457 ValueType* Get(ValueType& root) const {
459 ValueType* v = &root;
484 \param root Root value of a DOM sub-tree to be resolved. It can be any value other than document root
504 GetWithDefault(ValueType& root, const ValueType& defaultValue, typename ValueType::AllocatorType& allocator) const argument
511 GetWithDefault(ValueType& root, const Ch* defaultValue, typename ValueType::AllocatorType& allocator) const argument
519 GetWithDefault(ValueType& root, const std::basic_string<Ch>& defaultValue, typename ValueType::AllocatorType& allocator) const argument
532 GetWithDefault(ValueType& root, T defaultValue, typename ValueType::AllocatorType& allocator) const argument
581 Set(ValueType& root, ValueType& value, typename ValueType::AllocatorType& allocator) const argument
586 Set(ValueType& root, const ValueType& value, typename ValueType::AllocatorType& allocator) const argument
591 Set(ValueType& root, const Ch* value, typename ValueType::AllocatorType& allocator) const argument
597 Set(ValueType& root, const std::basic_string<Ch>& value, typename ValueType::AllocatorType& allocator) const argument
608 Set(ValueType& root, T value, typename ValueType::AllocatorType& allocator) const argument
663 Swap(ValueType& root, ValueType& value, typename ValueType::AllocatorType& allocator) const argument
1020 CreateValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, typename T::AllocatorType& a) argument
1025 CreateValueByPointer(T& root, const CharType(&source)[N], typename T::AllocatorType& a) argument
1044 GetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer) argument
1049 GetValueByPointer(const T& root, const GenericPointer<typename T::ValueType>& pointer) argument
1054 GetValueByPointer(T& root, const CharType (&source)[N]) argument
1059 GetValueByPointer(const T& root, const CharType(&source)[N]) argument
1066 GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T::ValueType& defaultValue, typename T::AllocatorType& a) argument
1071 GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T::Ch* defaultValue, typename T::AllocatorType& a) argument
1077 GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const std::basic_string<typename T::Ch>& defaultValue, typename T::AllocatorType& a) argument
1084 GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, T2 defaultValue, typename T::AllocatorType& a) argument
1089 GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const typename T::ValueType& defaultValue, typename T::AllocatorType& a) argument
1094 GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const typename T::Ch* defaultValue, typename T::AllocatorType& a) argument
1100 GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const std::basic_string<typename T::Ch>& defaultValue, typename T::AllocatorType& a) argument
1107 GetValueByPointerWithDefault(T& root, const CharType(&source)[N], T2 defaultValue, typename T::AllocatorType& a) argument
1162 SetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, typename T::ValueType& value, typename T::AllocatorType& a) argument
1167 SetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T::ValueType& value, typename T::AllocatorType& a) argument
1172 SetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T::Ch* value, typename T::AllocatorType& a) argument
1178 SetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, const std::basic_string<typename T::Ch>& value, typename T::AllocatorType& a) argument
1185 SetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, T2 value, typename T::AllocatorType& a) argument
1190 SetValueByPointer(T& root, const CharType(&source)[N], typename T::ValueType& value, typename T::AllocatorType& a) argument
1195 SetValueByPointer(T& root, const CharType(&source)[N], const typename T::ValueType& value, typename T::AllocatorType& a) argument
1200 SetValueByPointer(T& root, const CharType(&source)[N], const typename T::Ch* value, typename T::AllocatorType& a) argument
1206 SetValueByPointer(T& root, const CharType(&source)[N], const std::basic_string<typename T::Ch>& value, typename T::AllocatorType& a) argument
1213 SetValueByPointer(T& root, const CharType(&source)[N], T2 value, typename T::AllocatorType& a) argument
1278 SwapValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, typename T::ValueType& value, typename T::AllocatorType& a) argument
1283 SwapValueByPointer(T& root, const CharType(&source)[N], typename T::ValueType& value, typename T::AllocatorType& a) argument
1300 EraseValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer) argument
1305 EraseValueByPointer(T& root, const CharType(&source)[N]) argument
[all...]

Completed in 453 milliseconds

123