Searched refs:root (Results 1 - 25 of 62) sorted by relevance

123

/packages/experimental/TestBack/src/foo/bar/testback/
H A DTestBackService.java48 AccessibilityNodeInfo root = getRootInActiveWindow();
49 if (root != null) {
50 AccessibilityNodeInfo focus = root.findFocus(
59 root.recycle();
64 AccessibilityNodeInfo root = getRootInActiveWindow();
65 if (root != null) {
66 AccessibilityNodeInfo focus = root.findFocus(
75 root.recycle();
80 AccessibilityNodeInfo root = getRootInActiveWindow();
81 if (root !
121 dumpIdResNames(AccessibilityNodeInfo root) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSynchronizedHandler.java28 public SynchronizedHandler(GLRoot root) { argument
29 mRoot = Utils.checkNotNull(root);
H A DPreparePageFadeoutTexture.java70 GLRoot root = activity.getGLRoot();
72 root.unlockRenderThread();
74 root.addOnGLIdleListener(task);
77 root.lockRenderThread();
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/location/
H A DLocationMode.java56 PreferenceScreen root = getPreferenceScreen();
57 if (root != null) {
58 root.removeAll();
61 root = getPreferenceScreen();
63 mHighAccuracy = (RadioButtonPreference) root.findPreference(KEY_HIGH_ACCURACY);
64 mBatterySaving = (RadioButtonPreference) root.findPreference(KEY_BATTERY_SAVING);
65 mSensorsOnly = (RadioButtonPreference) root.findPreference(KEY_SENSORS_ONLY);
71 return root;
H A DLocationSettings.java107 PreferenceScreen root = getPreferenceScreen();
108 if (root != null) {
109 root.removeAll();
112 root = getPreferenceScreen();
114 mLocationMode = root.findPreference(KEY_LOCATION_MODE);
128 (PreferenceCategory) root.findPreference(KEY_RECENT_LOCATION_REQUESTS);
142 addLocationServices(activity, root);
161 return root;
174 private void addLocationServices(Context context, PreferenceScreen root) { argument
176 (PreferenceCategory) root
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DOtherSettingIndicatorButton.java56 ViewGroup root = (ViewGroup) getRootView().findViewById(R.id.frame_layout);
59 R.layout.other_setting_popup, root, false);
62 root.addView(popup);
H A DIndicatorButton.java105 ViewGroup root = (ViewGroup) getRootView().findViewById(R.id.frame_layout);
110 R.layout.effect_setting_popup, root, false);
116 R.layout.basic_setting_popup, root, false);
121 root.addView(mPopup);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DUsbSettings.java62 PreferenceScreen root = getPreferenceScreen();
63 if (root != null) {
64 root.removeAll();
67 root = getPreferenceScreen();
69 mMtp = (CheckBoxPreference)root.findPreference(KEY_MTP);
70 mPtp = (CheckBoxPreference)root.findPreference(KEY_PTP);
78 return root;
/packages/apps/Browser/src/com/android/browser/preferences/
H A DWebViewPreview.java62 View root = super.onCreateView(parent);
63 WebView webView = (WebView) root.findViewById(R.id.webview);
73 return root;
/packages/apps/Settings/src/com/android/settings/
H A DSecuritySettings.java130 PreferenceScreen root = getPreferenceScreen();
131 if (root != null) {
132 root.removeAll();
135 root = getPreferenceScreen();
200 mLockAfter = (ListPreference) root.findPreference(KEY_LOCK_AFTER_TIMEOUT);
208 (CheckBoxPreference) root.findPreference(KEY_BIOMETRIC_WEAK_LIVELINESS);
211 mVisiblePattern = (CheckBoxPreference) root.findPreference(KEY_VISIBLE_PATTERN);
214 mPowerButtonInstantlyLocks = (CheckBoxPreference) root.findPreference(
222 root.findPreference(KEY_SECURITY_CATEGORY);
224 securityCategory.removePreference(root
[all...]
/packages/apps/Gallery2/src/com/android/photos/
H A DMultiSelectGridFragment.java276 View root = getView();
277 if (root == null) {
280 if (root instanceof GridView) {
281 mGrid = (GridView) root;
283 View empty = root.findViewById(android.R.id.empty);
287 mProgressContainer = root.findViewById(R.id.progressContainer);
288 mGridContainer = root.findViewById(R.id.gridContainer);
289 View rawGridView = root.findViewById(android.R.id.list);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DStorageManager.java169 * finds space in the given filesystem (input param: root) to accommodate # of bytes
173 private synchronized void findSpace(File root, long targetBytes, int destination) argument
185 // is there enough space in the file system of the given param 'root'.
186 long bytesAvailable = getAvailableBytesInFileSystemAtGivenRoot(root);
194 bytesAvailable = getAvailableBytesInFileSystemAtGivenRoot(root);
204 if (root.equals(mSystemCacheDir)) {
209 "space in the filesystem rooted at: " + root +
214 if (root.equals(mDownloadDataDir)) {
219 Log.w(Constants.TAG, "Downloads data dir: " + root +
231 "not enough free space in the filesystem rooted at: " + root
240 getAvailableBytesInDownloadsDataDir(File root) argument
256 getAvailableBytesInFileSystemAtGivenRoot(File root) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DWaitFragment.java88 private View getContent(ViewGroup root) { argument
94 view = mInflater.inflate(R.layout.wait_for_manual_sync, root, false);
100 view = mInflater.inflate(R.layout.wait_default, root, false);
102 view = mInflater.inflate(R.layout.wait_for_sync, root, false);
H A DFolderSelectorAdapter.java195 * special case the root node. If we don't find the parent node, then we pre-create one to fill
206 final TreeNode root = new TreeNode(null);
207 // Make double-sure we don't accidentally add the root node to the final list
208 root.mAddedToList = true;
211 nodeMap.put(Uri.EMPTY, root);
225 root.addChild(node);
242 stack.push(root);
246 // If parentNode is null then currentNode is the root node (not a real folder)
251 // If the wrapped object is null then the parent is the root
/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/Settings/src/com/android/settings/inputmethod/
H A DKeyboardLayoutPickerFragment.java131 PreferenceScreen root = getPreferenceManager().createPreferenceScreen(getActivity());
138 root.addPreference(pref);
141 return root;
/packages/services/Telephony/src/com/android/phone/sip/
H A DSipProfileDb.java109 File root = new File(mProfilesDirectory);
110 String[] dirs = root.list();
113 File f = new File(new File(root, dir), PROFILE_OBJ_FILE);
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DMagicSmokeSelector.java185 final View root = view.getRootView();
188 true, root.getWidth(), root.getHeight());
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAbstractGalleryActivity.java259 GLRoot root = getGLRoot();
260 root.lockRenderThread();
264 root.unlockRenderThread();
277 GLRoot root = getGLRoot();
278 root.lockRenderThread();
282 root.unlockRenderThread();
/packages/apps/Settings/src/com/android/settings/tts/
H A DTtsEngineSettingsFragment.java105 final PreferenceScreen root = getPreferenceScreen();
106 mLocalePreference = (ListPreference) root.findPreference(KEY_ENGINE_LOCALE);
108 mEngineSettingsPreference = root.findPreference(KEY_ENGINE_SETTINGS);
110 mInstallVoicesPreference = root.findPreference(KEY_INSTALL_DATA);
113 root.setTitle(getEngineLabel());
114 root.setKey(getEngineName());
/packages/apps/Gallery/src/com/android/camera/
H A DMovieView.java46 View rootView = findViewById(R.id.root);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DGrantActivity.java124 View root = inflater.inflate(R.layout.permissions_list, null);
128 ((ViewGroup)root.findViewById(R.id.privacylist)).addView(personalPermissions);
129 ((ViewGroup)root.findViewById(R.id.devicelist)).addView(devicePermissions);
131 return root;
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningServiceDetails.java259 View root = mInflater.inflate(R.layout.running_service_details_service,
261 mAllDetails.addView(root);
262 detail.mRootView = root;
264 detail.mViewHolder = new RunningProcessesView.ViewHolder(root);
268 root.findViewById(R.id.service).setVisibility(View.GONE);
276 TextView description = (TextView)root.findViewById(R.id.comp_description);
277 detail.mStopButton = (Button)root.findViewById(R.id.left_button);
278 detail.mReportButton = (Button)root.findViewById(R.id.right_button);
285 root.findViewById(R.id.control_buttons_panel).setVisibility(View.GONE);
335 View root
[all...]

Completed in 367 milliseconds

123