Home
last modified time | relevance | path

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

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DDensityActivity.java52 LinearLayout root = new LinearLayout(this); in onCreate() local
53 root.setOrientation(LinearLayout.VERTICAL); in onCreate()
59 addLabelToRoot(root, "Prescaled bitmap in drawable"); in onCreate()
60 addChildToRoot(root, layout); in onCreate()
66 addLabelToRoot(root, "Autoscaled bitmap in drawable"); in onCreate()
67 addChildToRoot(root, layout); in onCreate()
73 addLabelToRoot(root, "Prescaled resource drawable"); in onCreate()
74 addChildToRoot(root, layout); in onCreate()
77 addLabelToRoot(root, "Inflated layout"); in onCreate()
78 addChildToRoot(root, layout); in onCreate()
[all …]
/development/tools/line_endings/
Dline_endings.c62 Node* root = malloc(sizeof(Node)); in main() local
63 Node* node = root; in main()
93 while (root) { in main()
94 ssize_t amt2 = strlen(root->buf); in main()
96 ssize_t amt = write(fd, root->buf, amt2); in main()
102 node = root; in main()
103 root = root->next; in main()
/development/tools/winscope/
Dcapture_sf_trace.sh53 adb shell su root service call SurfaceFlinger 1025 i32 1 >/dev/null
59 adb shell su root service call SurfaceFlinger 1025 i32 0 >/dev/null
68 adb shell su root setenforce 0 2>/dev/null >/dev/null
75 adb exec-out su root cat /data/misc/trace/layerstrace.pb >"$outfile"
/development/tools/winscope/loaders/
Dproto-loader.js27 var root = new protobuf.Root();
32 root.resolvePath = function pbjsResolvePath(origin, target) {
54 root.loadSync(self.resourcePath).resolveAll();
56 var result = JSON.stringify(root, null, 2);
/development/tools/idegen/
DREADME20 From the project's root directory...
47 From the project's root directory...
53 3) Import the project root directory into your Eclipse workspace. If you
60 project root) that should be excluded from the IDE configuration. We
64 "excluded-paths" file in the project's root directory. For example, you
68 Controlling source root ordering (Eclipse)
71 create a file named "path-precedence" in your project's root directory.
72 Each line in the file is a regular expression that matches a source root
73 path (relative to the project's root directory). If a given source root's
75 source root will come earlier in the generated configuration. If a source
[all …]
/development/scripts/
Dgdbclient.py29 def get_gdbserver_path(root, arch): argument
32 return path.format(root, arch, "64", "64")
34 return path.format(root, arch, "", "")
71 def verify_device(root, device): argument
160 root = os.environ["ANDROID_BUILD_TOP"]
173 gdb_commands += "directory '{}'\n".format(root)
177 dalvik_gdb_script = os.path.join(root, "development", "scripts", "gdb",
227 root = os.environ["ANDROID_BUILD_TOP"]
231 verify_device(root, device)
250 gdbserver_local_path = get_gdbserver_path(root, arch)
[all …]
Dboardconfig_usage_analysis.py53 for root, dirs, files in os.walk(os.path.join(TOP, folder), topdown=True):
57 ret.append(os.path.join(root, file))
/development/samples/ApiDemos/src/com/example/android/apis/preference/
DPreferencesFromCode.java41 PreferenceScreen root = getPreferenceManager().createPreferenceScreen(this); in onCreate() local
42 setPreferenceScreen(root); in onCreate()
43 populatePreferenceHierarchy(root); in onCreate()
46 private void populatePreferenceHierarchy(PreferenceScreen root) { in populatePreferenceHierarchy() argument
50 root.addPreference(inlinePrefCat); in populatePreferenceHierarchy()
69 root.addPreference(dialogBasedPrefCat); in populatePreferenceHierarchy()
92 root.addPreference(launchPrefCat); in populatePreferenceHierarchy()
129 root.addPreference(prefAttrsCat); in populatePreferenceHierarchy()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DRuntimePermissionsFragment.java33 View root = inflater.inflate(R.layout.fragment_main, null); in onCreateView() local
45 root.findViewById(R.id.button_contacts).setVisibility(View.GONE); in onCreateView()
49 return root; in onCreateView()
/development/vndk/snapshot/
Dutils.py46 def join_realpath(root, *args): argument
47 return os.path.realpath(os.path.join(root, *args))
109 for root, _, files in os.walk(path):
112 abspath = os.path.abspath(os.path.join(root, file_name))
Dcheck_gpl_license.py79 root = xml_tree.parse(self._manifest_file).getroot()
80 return root.findall('project')
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java206 String getDirectoryContents(File root) { in getDirectoryContents() argument
208 list(sb, root, "", 0, "testDir"); in getDirectoryContents()
254 private static void deleteDir(File root) { in deleteDir() argument
255 if (root.exists()) { in deleteDir()
256 File[] files = root.listFiles(); in deleteDir()
266 root.delete(); in deleteDir()
/development/tools/repo_diff/
Drepo_diff_trees.py40 root = tree.getroot()
42 for project in root.findall('project'):
149 for root in downstream_root_commits:
150 if root in upstream_root_commits:
151 upstream_project_list = upstream_root_commits[root]
327 for root in find_root_commits_in_path(path):
328 root_list = root_commits.get(root, [])
333 root_commits[root] = root_list
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentContextMenu.java53 View root = inflater.inflate(R.layout.fragment_context_menu, container, false); in onCreateView() local
54 registerForContextMenu(root.findViewById(R.id.long_press)); in onCreateView()
55 return root; in onCreateView()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreviewFragment.java78 View root = inflater.inflate(R.layout.fragment_camera, null); in onCreateView() local
86 FrameLayout preview = (FrameLayout) root.findViewById(R.id.camera_preview); in onCreateView()
89 return root; in onCreateView()
/development/testrunner/test_defs/
Dnative_test.py157 for root, dirs, files in os.walk(path):
160 return os.path.join(root, f)
162 found = self._FindFileRecursively(os.path.join(root, d), match)
/development/vndk/tools/
Dsystem_image_diff.py35 for root, dirs, files in os.walk(system_prefix, topdown=True):
38 if not os.path.islink(os.path.join(root, file)):
39 system_files.append(os.path.join(root[system_prefix_len:], file))
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
Dmono.rs22 void root(const uchar4 *v_in, uchar4 *v_out) {
/development/sdk/
Dsdk.properties2 # This file is copied in the root folder of each platform component.
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1278 root, ext = os.path.splitext(tag_file_path)
1279 return root + '-properties' + ext
1294 def scan_accessible_files(root): argument
1295 for base, dirs, files in os.walk(root):
1302 def scan_elf_files(root): argument
1303 for path in scan_accessible_files(root):
1310 def scan_elf_dump_files(root): argument
1311 for path in scan_accessible_files(root):
1871 def _compile_path_matcher(root, subdirs): argument
1872 dirs = [os.path.normpath(os.path.join(root, i)) for i in subdirs]
[all …]
/development/gsi/gsi_util/gsi_util/utils/
Dadb_utils.py24 def root(serial_num=None): function
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
Dlevels.rs28 void root(const uchar4 *in, uchar4 *out, uint32_t x, uint32_t y) {
/development/tools/findunused/
Dfind_unused_resources.rb35 def findResDirectories(root) argument
37 Find.find(root) do |path|
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js201 let root = tagHierarchy(depDumps).sum(function(d) { return 1; });
202 cluster(root);
204 let libsDepData = libsDepends(root.leaves());
213 node = node.data(root.leaves())
/development/gsi/gsi_util/gsi_util/mounters/
Dadb_mounter.py72 adb_utils.root(self._serial_num)

12