Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 97) sorted by relevance

1234

/packages/experimental/TestBack/src/foo/bar/testback/
DTestBackService.java93 AccessibilityNodeInfo root = source; in dumpWindow() local
95 AccessibilityNodeInfo parent = root.getParent(); in dumpWindow()
98 } else if (parent.equals(root)) { in dumpWindow()
99 Log.i(LOG_TAG, "Node is own parent:" + root); in dumpWindow()
101 root = parent; in dumpWindow()
103 dumpTree(root, new ArraySet<AccessibilityNodeInfo>()); in dumpWindow()
106 private void dumpTree(AccessibilityNodeInfo root, Set<AccessibilityNodeInfo> visited) { in dumpTree() argument
107 if (root == null) { in dumpTree()
111 if (!visited.add(root)) { in dumpTree()
112 Log.i(LOG_TAG, "Cycle detected to node:" + root); in dumpTree()
[all …]
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java173 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local
174 if (root != null) { in createPreferenceHierarchy()
175 root.removeAll(); in createPreferenceHierarchy()
178 root = getPreferenceScreen(); in createPreferenceHierarchy()
180 setupManagedProfileCategory(root); in createPreferenceHierarchy()
181 mLocationMode = root.findPreference(KEY_LOCATION_MODE); in createPreferenceHierarchy()
195 (PreferenceCategory) root.findPreference(KEY_RECENT_LOCATION_REQUESTS); in createPreferenceHierarchy()
217 addLocationServices(activity, root, lockdownOnLocationAccess); in createPreferenceHierarchy()
220 return root; in createPreferenceHierarchy()
223 private void setupManagedProfileCategory(PreferenceScreen root) { in setupManagedProfileCategory() argument
[all …]
DLocationMode.java62 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local
63 if (root != null) { in createPreferenceHierarchy()
64 root.removeAll(); in createPreferenceHierarchy()
67 root = getPreferenceScreen(); in createPreferenceHierarchy()
69 mHighAccuracy = (RadioButtonPreference) root.findPreference(KEY_HIGH_ACCURACY); in createPreferenceHierarchy()
70 mBatterySaving = (RadioButtonPreference) root.findPreference(KEY_BATTERY_SAVING); in createPreferenceHierarchy()
71 mSensorsOnly = (RadioButtonPreference) root.findPreference(KEY_SENSORS_ONLY); in createPreferenceHierarchy()
77 return root; in createPreferenceHierarchy()
DScanningSettings.java47 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local
48 if (root != null) { in createPreferenceHierarchy()
49 root.removeAll(); in createPreferenceHierarchy()
52 root = getPreferenceScreen(); in createPreferenceHierarchy()
54 return root; in createPreferenceHierarchy()
/packages/apps/Settings/src/com/android/settings/
DSecuritySettings.java198 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local
199 if (root != null) { in createPreferenceHierarchy()
200 root.removeAll(); in createPreferenceHierarchy()
203 root = getPreferenceScreen(); in createPreferenceHierarchy()
235 root.findPreference(KEY_SECURITY_CATEGORY); in createPreferenceHierarchy()
242 mLockAfter = (ListPreference) root.findPreference(KEY_LOCK_AFTER_TIMEOUT); in createPreferenceHierarchy()
249 mVisiblePattern = (SwitchPreference) root.findPreference(KEY_VISIBLE_PATTERN); in createPreferenceHierarchy()
252 mPowerButtonInstantlyLocks = (SwitchPreference) root.findPreference( in createPreferenceHierarchy()
254 Preference trustAgentPreference = root.findPreference(KEY_TRUST_AGENT); in createPreferenceHierarchy()
273 root.removePreference(root.findPreference(KEY_SIM_LOCK)); in createPreferenceHierarchy()
[all …]
DHighlightingFragment.java100 private View findViewForKey(View root, String key) { in findViewForKey() argument
101 if (checkTag(root, key)) { in findViewForKey()
102 return root; in findViewForKey()
104 if (root instanceof ViewGroup) { in findViewForKey()
105 final ViewGroup group = (ViewGroup) root; in findViewForKey()
DScreenPinningSettings.java174 PreferenceScreen root = getPreferenceScreen(); in updateDisplay() local
175 if (root != null) { in updateDisplay()
176 root.removeAll(); in updateDisplay()
180 root = getPreferenceScreen(); in updateDisplay()
182 mUseScreenLock = (SwitchPreference) root.findPreference(KEY_USE_SCREEN_LOCK); in updateDisplay()
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java121 public void load(View root) { in load() argument
122 getButtonsReferences(root); in load()
151 private void getButtonsReferences(View root) { in getButtonsReferences() argument
153 = (MultiToggleImageButton) root.findViewById(R.id.camera_toggle_button); in getButtonsReferences()
155 = (MultiToggleImageButton) root.findViewById(R.id.flash_toggle_button); in getButtonsReferences()
157 = (MultiToggleImageButton) root.findViewById(R.id.hdr_plus_toggle_button); in getButtonsReferences()
159 = (MultiToggleImageButton) root.findViewById(R.id.grid_lines_toggle_button); in getButtonsReferences()
161 = (ImageButton) root.findViewById(R.id.cancel_button); in getButtonsReferences()
163 = (ImageButton) root.findViewById(R.id.done_button); in getButtonsReferences()
165 = (ImageButton) root.findViewById(R.id.retake_button); in getButtonsReferences()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java86 GLRoot root = getGLRoot(); in startAnimation() local
87 if (root == null) throw new IllegalStateException(); in startAnimation()
91 root.registerLaunchedAnimation(mAnimation); in startAnimation()
115 public void attachToRoot(GLRoot root) { in attachToRoot() argument
117 onAttachToRoot(root); in attachToRoot()
206 GLRoot root = getGLRoot(); in invalidate() local
207 if (root != null) root.requestRender(); in invalidate()
219 GLRoot root = getGLRoot(); in requestLayout() local
220 if (root != null) root.requestLayoutContentPane(); in requestLayout()
431 protected void onAttachToRoot(GLRoot root) { in onAttachToRoot() argument
[all …]
DPhotoView.java325 public MyHandler(GLRoot root) { in MyHandler() argument
326 super(root); in MyHandler()
487 GLRoot root = getGLRoot(); in onLayout() local
488 int displayRotation = root.getDisplayRotation(); in onLayout()
489 int compensation = root.getCompensation(); in onLayout()
1652 GLRoot root = getGLRoot(); in switchWithCaptureAnimation() local
1653 if(root == null) return false; in switchWithCaptureAnimation()
1654 root.lockRenderThread(); in switchWithCaptureAnimation()
1658 root.unlockRenderThread(); in switchWithCaptureAnimation()
1816 public PhotoFallbackEffect buildFallbackEffect(GLView root, GLCanvas canvas) { in buildFallbackEffect() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DFileUtil.java71 public static void removeFileOrDirectory(File root) { in removeFileOrDirectory() argument
72 removeFileOrDirectoryExcept(root, null); in removeFileOrDirectory()
76 public static void removeFileOrDirectoryExcept(File root, File exclude) { in removeFileOrDirectoryExcept() argument
77 if (root.exists()) { in removeFileOrDirectoryExcept()
78 if (root.isDirectory()) { in removeFileOrDirectoryExcept()
79 for (File file : root.listFiles()) { in removeFileOrDirectoryExcept()
84 root.delete(); in removeFileOrDirectoryExcept()
85 } else if (root.isFile()) { in removeFileOrDirectoryExcept()
86 root.delete(); in removeFileOrDirectoryExcept()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java261 View root = mInflater.inflate(R.layout.running_service_details_service, in addServiceDetailsView() local
263 mAllDetails.addView(root); in addServiceDetailsView()
264 detail.mRootView = root; in addServiceDetailsView()
266 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addServiceDetailsView()
270 root.findViewById(R.id.service).setVisibility(View.GONE); in addServiceDetailsView()
278 TextView description = (TextView)root.findViewById(R.id.comp_description); in addServiceDetailsView()
279 detail.mStopButton = (Button)root.findViewById(R.id.left_button); in addServiceDetailsView()
280 detail.mReportButton = (Button)root.findViewById(R.id.right_button); in addServiceDetailsView()
287 root.findViewById(R.id.control_buttons_panel).setVisibility(View.GONE); in addServiceDetailsView()
337 View root = mInflater.inflate(R.layout.running_service_details_process, in addProcessDetailsView() local
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java65 public IndicatorIconController(AppController controller, View root) { in IndicatorIconController() argument
69 mFlashIndicator = (ImageView) root.findViewById(R.id.flash_indicator); in IndicatorIconController()
75 mHdrIndicator = (ImageView) root.findViewById(R.id.hdr_indicator); in IndicatorIconController()
83 mPanoIndicator = (ImageView) root.findViewById(R.id.pano_indicator); in IndicatorIconController()
88 mCountdownTimerIndicator = (ImageView) root.findViewById(R.id.countdown_timer_indicator); in IndicatorIconController()
92 mExposureIndicatorN2 = (ImageView) root.findViewById(R.id.exposure_n2_indicator); in IndicatorIconController()
93 mExposureIndicatorN1 = (ImageView) root.findViewById(R.id.exposure_n1_indicator); in IndicatorIconController()
94 mExposureIndicatorP1 = (ImageView) root.findViewById(R.id.exposure_p1_indicator); in IndicatorIconController()
95 mExposureIndicatorP2 = (ImageView) root.findViewById(R.id.exposure_p2_indicator); in IndicatorIconController()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintSettings.java328 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local
329 if (root != null) { in createPreferenceHierarchy()
330 root.removeAll(); in createPreferenceHierarchy()
333 root = getPreferenceScreen(); in createPreferenceHierarchy()
334 addFingerprintItemPreferences(root); in createPreferenceHierarchy()
335 return root; in createPreferenceHierarchy()
338 private void addFingerprintItemPreferences(PreferenceGroup root) { in addFingerprintItemPreferences() argument
339 root.removeAll(); in addFingerprintItemPreferences()
344 FingerprintPreference pref = new FingerprintPreference(root.getContext()); in addFingerprintItemPreferences()
349 root.addPreference(pref); in addFingerprintItemPreferences()
[all …]
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java276 View root = getView(); in ensureGrid() local
277 if (root == null) { in ensureGrid()
280 if (root instanceof GridView) { in ensureGrid()
281 mGrid = (GridView) root; in ensureGrid()
283 View empty = root.findViewById(android.R.id.empty); in ensureGrid()
287 mProgressContainer = root.findViewById(R.id.progressContainer); in ensureGrid()
288 mGridContainer = root.findViewById(R.id.gridContainer); in ensureGrid()
289 View rawGridView = root.findViewById(android.R.id.list); in ensureGrid()
/packages/apps/Settings/
Dwrap_alpha.py6 for root, dirs, files in os.walk('.'):
7 if "res/drawable-" not in root: continue
14 os.rename(os.path.join(root, before), os.path.join(root, after))
17 for root, dirs, files in os.walk('.'):
18 if "res/drawable-" not in root: continue
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java213 private void addBaseFolders(BluetoothMapFolderElement root) { in addBaseFolders() argument
214 root.addFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox in addBaseFolders()
215 root.addFolder(BluetoothMapContract.FOLDER_NAME_OUTBOX); in addBaseFolders()
216 root.addFolder(BluetoothMapContract.FOLDER_NAME_SENT); in addBaseFolders()
217 root.addFolder(BluetoothMapContract.FOLDER_NAME_DELETED); in addBaseFolders()
224 private void addSmsMmsFolders(BluetoothMapFolderElement root) { in addSmsMmsFolders() argument
225 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox in addSmsMmsFolders()
226 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_OUTBOX); in addSmsMmsFolders()
227 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_SENT); in addSmsMmsFolders()
228 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_DELETED); in addSmsMmsFolders()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/
DAbstractOneCamera.java70 protected static String makeDebugDir(File root, String folderName) { in makeDebugDir() argument
71 if (root == null) { in makeDebugDir()
74 if (!root.exists() || !root.isDirectory()) { in makeDebugDir()
76 + root.getAbsolutePath()); in makeDebugDir()
96 File destFolder = new File(new File(root, folderName), burstFolderName); in makeDebugDir()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java111 View root = mFragment.getView(); in ensureList() local
112 if (root == null) { in ensureList()
115 if (root instanceof ScrollAdapterView) { in ensureList()
116 mScrollAdapterView = (ScrollAdapterView) root; in ensureList()
119 mScrollAdapterView = (ScrollAdapterView) root.findViewById(R.id.list); in ensureList()
123 mSelectorView = root.findViewById(R.id.selector); in ensureList()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModePrioritySettings.java52 final PreferenceScreen root = getPreferenceScreen(); in onCreate() local
54 mReminders = (SwitchPreference) root.findPreference(KEY_REMINDERS); in onCreate()
69 mEvents = (SwitchPreference) root.findPreference(KEY_EVENTS); in onCreate()
84 mMessages = (DropDownPreference) root.findPreference(KEY_MESSAGES); in onCreate()
107 mCalls = (DropDownPreference) root.findPreference(KEY_CALLS); in onCreate()
130 mRepeatCallers = (SwitchPreference) root.findPreference(KEY_REPEAT_CALLERS); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAbstractGalleryActivity.java259 GLRoot root = getGLRoot(); in onBackPressed() local
260 root.lockRenderThread(); in onBackPressed()
264 root.unlockRenderThread(); in onBackPressed()
277 GLRoot root = getGLRoot(); in onOptionsItemSelected() local
278 root.lockRenderThread(); in onOptionsItemSelected()
282 root.unlockRenderThread(); in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnabler.java78 final PreferenceScreen root = getPreferenceManager().createPreferenceScreen(getActivity()); in onCreate() local
84 addInputMethodSubtypePreferences(imi, root); in onCreate()
87 setPreferenceScreen(root); in onCreate()
161 final PreferenceScreen root) { in addInputMethodSubtypePreferences() argument
169 root.addPreference(keyboardSettingsCategory); in addInputMethodSubtypePreferences()
183 root.addPreference(activeInputMethodsCategory); in addInputMethodSubtypePreferences()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEngineSettingsFragment.java113 final PreferenceScreen root = getPreferenceScreen(); in onCreate() local
114 mLocalePreference = (ListPreference) root.findPreference(KEY_ENGINE_LOCALE); in onCreate()
116 mEngineSettingsPreference = root.findPreference(KEY_ENGINE_SETTINGS); in onCreate()
118 mInstallVoicesPreference = root.findPreference(KEY_INSTALL_DATA); in onCreate()
121 root.setTitle(getEngineLabel()); in onCreate()
122 root.setKey(getEngineName()); in onCreate()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c103 NJ_UINT8 *root, NJ_UINT8 *node_mid,
552 NJ_UINT8 *root, *now, *node, *node_mid; in search_node() local
585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node()
588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node()
611 node = root; in search_node()
741 (root != node_mid)) { in search_node()
742 now = root; in search_node()
1541 NJ_UINT8 *root, *now, *node, *node_mid; in search_node2() local
1587 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node2()
1590 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node2()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java125 File root = Environment.getExternalStorageDirectory(); in migrateLocalEntries() local
127 updatePath(new File(root, "DCIM"), entries, dbHelper, oldExtPath); in migrateLocalEntries()
129 if (!entries.isEmpty()) updatePath(root, entries, dbHelper, oldExtPath); in migrateLocalEntries()
131 private static void updatePath(File root, HashMap<Integer, Entry> entries, in updatePath() argument
133 File[] files = root.listFiles(); in updatePath()

1234