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

12

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSynchronizedHandler.java28 public SynchronizedHandler(GLRoot root) { argument
29 mRoot = Utils.checkNotNull(root);
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...]
H A DPhotoView.java325 public MyHandler(GLRoot root) { argument
326 super(root);
487 GLRoot root = getGLRoot();
488 int displayRotation = root.getDisplayRotation();
489 int compensation = root.getCompensation();
1652 GLRoot root = getGLRoot();
1653 if(root == null) return false;
1654 root.lockRenderThread();
1658 root.unlockRenderThread();
1816 public PhotoFallbackEffect buildFallbackEffect(GLView root, GLCanva argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/
H A DAbstractOneCamera.java60 * The directory created is [root]/[folderName]/SSSS_YYYYMMDD_HHMMSS_XXX,
64 * @param root the root into which we put a session-specific sub-directory.
65 * @param folderName the sub-folder within 'root' where the data should be
70 protected static String makeDebugDir(File root, String folderName) { argument
71 if (root == null) {
74 if (!root.exists() || !root.isDirectory()) {
76 + root.getAbsolutePath());
96 File destFolder = new File(new File(root, folderNam
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTextureUploader.java35 public TextureUploader(GLRoot root) { argument
36 mGLRoot = root;
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
H A DGalleryWidgetMigrator.java125 File root = Environment.getExternalStorageDirectory();
127 updatePath(new File(root, "DCIM"), entries, dbHelper, oldExtPath);
129 if (!entries.isEmpty()) updatePath(root, entries, dbHelper, oldExtPath);
131 private static void updatePath(File root, HashMap<Integer, Entry> entries, argument
133 File[] files = root.listFiles();
/packages/apps/Messaging/src/com/android/messaging/util/
H A DFileUtil.java74 /** Delete everything below and including root */
75 public static void removeFileOrDirectory(File root) { argument
76 removeFileOrDirectoryExcept(root, null);
79 /** Delete everything below and including root except for the given file */
80 public static void removeFileOrDirectoryExcept(File root, File exclude) { argument
81 if (root.exists()) {
82 if (root.isDirectory()) {
83 for (File file : root.listFiles()) {
88 root.delete();
89 } else if (root
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DShowAdminSupportDetailsDialog.java86 private void initializeDialogViews(View root, ComponentName admin, int userId) { argument
103 ((ImageView) root.findViewById(R.id.admin_support_icon)).setImageDrawable(
109 setAdminSupportDetails(this, root, new EnforcedAdmin(admin, userId), true);
112 public static void setAdminSupportDetails(final Activity activity, View root, argument
135 TextView textView = (TextView) root.findViewById(R.id.admin_support_msg);
141 root.findViewById(R.id.admins_policies_list).setOnClickListener(
/packages/experimental/TestBack/src/foo/bar/testback/
H A DTestBackService.java93 AccessibilityNodeInfo root = source;
95 AccessibilityNodeInfo parent = root.getParent();
98 } else if (parent.equals(root)) {
99 Log.i(LOG_TAG, "Node is own parent:" + root);
101 root = parent;
103 dumpTree(root, new ArraySet<AccessibilityNodeInfo>());
106 private void dumpTree(AccessibilityNodeInfo root, Set<AccessibilityNodeInfo> visited) { argument
107 if (root == null) {
111 if (!visited.add(root)) {
112 Log.i(LOG_TAG, "Cycle detected to node:" + root);
[all...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndSubtypeEnabler.java78 final PreferenceScreen root = getPreferenceManager().createPreferenceScreen(getActivity());
84 addInputMethodSubtypePreferences(imi, root);
87 setPreferenceScreen(root);
159 final PreferenceScreen root) {
168 root.addPreference(keyboardSettingsCategory);
184 root.addPreference(activeInputMethodsCategory);
158 addInputMethodSubtypePreferences(final InputMethodInfo imi, final PreferenceScreen root) argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DWaitFragment.java84 private View getContent(ViewGroup root) { argument
90 view = mInflater.inflate(R.layout.wait_for_manual_sync, root, false);
96 view = mInflater.inflate(R.layout.loading_messages, root, false);
98 view = mInflater.inflate(R.layout.wait_default, root, false);
/packages/providers/CalendarProvider/
H A Dmaketests.py72 root = dom.documentElement variable
74 entries = root.getElementsByTagName("entry")
/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/TvSettings/Settings/src/com/android/tv/settings/util/
H A DTransitionImageAnimation.java86 public TransitionImageAnimation(ViewGroup root) { argument
87 mRoot = root;
176 * add source transition and create initial view in root
/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/Settings/src/com/android/settings/location/
H A DLocationSettings.java181 PreferenceScreen root = getPreferenceScreen();
182 if (root != null) {
183 root.removeAll();
186 root = getPreferenceScreen();
188 setupManagedProfileCategory(root);
189 mLocationMode = root.findPreference(KEY_LOCATION_MODE);
203 (PreferenceCategory) root.findPreference(KEY_RECENT_LOCATION_REQUESTS);
241 addLocationServices(activity, root, lockdownOnLocationAccess);
244 return root;
247 private void setupManagedProfileCategory(PreferenceScreen root) { argument
298 addLocationServices(Context context, PreferenceScreen root, boolean lockdownOnLocationAccess) argument
[all...]
/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/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...]
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DPagedListView.java109 .inflate(R.layout.car_paged_recycler_view, this /*root*/, true /*attachToRoot*/);
505 private int getLeft(View root) { argument
506 if (root == null) {
509 View view = findTextView(root);
511 view = root;
514 while (view != null && view != root) {
521 private TextView findTextView(View root) { argument
522 if (root == null) {
525 if (root instanceof TextView) {
526 return (TextView) root;
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DUtilities.java370 * @param ancestor The root view to make the coordinates relative to.
407 public static float mapCoordInSelfToDescendent(View descendant, View root, argument
414 while(v != root) {
418 ancestorChain.add(root);
/packages/apps/Settings/src/com/android/settings/fingerprint/
H A DFingerprintSettings.java338 PreferenceScreen root = getPreferenceScreen();
339 if (root != null) {
340 root.removeAll();
343 root = getPreferenceScreen();
344 addFingerprintItemPreferences(root);
345 setPreferenceScreen(root);
346 return root;
349 private void addFingerprintItemPreferences(PreferenceGroup root) { argument
350 root.removeAll();
355 FingerprintPreference pref = new FingerprintPreference(root
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndbdic.c103 NJ_UINT8 *root, NJ_UINT8 *node_mid,
552 NJ_UINT8 *root, *now, *node, *node_mid; local
585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle);
588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle);
611 node = root;
741 (root != node_mid)) {
742 now = root;
1541 NJ_UINT8 *root, *now, *node, *node_mid; local
1587 root = NODE_AREA_TOP_ADDR(loctset->loct.handle);
1590 node_mid = root
1975 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node, NJ_UINT8 *now, NJ_UINT16 idx_no, NJ_CHAR *yomi, NJ_UINT16 yomilen, NJ_UINT8 * root, NJ_UINT8 * node_mid, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT8 * data_top, NJ_INT16 ytbl_cnt, NJ_UINT16 y, NJ_UINT8 * ytbl_top, NJ_CACHE_INFO * storebuf, NJ_UINT8 ** con_node, NJ_UINT32 * data_offset) argument
[all...]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
H A Dcontacts2_1108.sql107 CREATE TABLE 'search_index_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx));
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 856 milliseconds

12