Home
last modified time | relevance | path

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

123

/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/scripts/
Dgdbclient.py31 def get_gdbserver_path(root, arch): argument
34 return path.format(root, arch, "64")
36 return path.format(root, arch, "")
82 def verify_device(root, device): argument
167 def generate_vscode_script(gdbpath, root, sysroot, binary_name, port, dalvik_gdb_script, solib_sear… argument
175 "cwd": root,
189 "text": "-environment-directory {}".format(root),
212 def generate_gdb_script(root, sysroot, binary_name, port, dalvik_gdb_script, solib_search_path, con… argument
217 gdb_commands += "directory '{}'\n".format(root)
253 root = os.environ["ANDROID_BUILD_TOP"]
[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/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/wmtrace/layers_trace.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/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.py69 def join_realpath(root, *args): argument
70 return os.path.realpath(os.path.join(root, *args))
132 for root, _, files in os.walk(path):
135 abspath = os.path.abspath(os.path.join(root, file_name))
/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/compare_failed_tests/
Dcompare_failed_tests.py35 def get_test_info(root): argument
42 node = root
102 root = tree.getroot()
105 test_result['info'] = get_test_info(root)
110 for module in root.iter('Module'):
/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/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/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/tools/repo_diff/service/repodiff/static/
Ddocker_git_config2 cookiefile = /root/.gitcookies
/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.py46 for root, dirs, files in os.walk(system_prefix, topdown=True):
49 if not os.path.islink(os.path.join(root, file)):
50 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/gsi/gsi_util/gsi_util/utils/
Dadb_utils.py24 def root(serial_num=None): function
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset_auto.py55 root, ext = os.path.splitext(eligible_list_path)
56 return root + '-properties' + ext
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1501 root, ext = os.path.splitext(tag_file_path)
1502 return root + '-properties' + ext
1621 def scan_elf_files(root, mount_point=None, unzip_files=True): argument
1625 root_prefix_len = len(root) + 1
1632 for base, dirnames, filenames in os.walk(root):
1633 if base == root and 'apex' in dirnames:
1635 for path, elf in scan_apex_files(os.path.join(root, 'apex'),
2282 def _compile_path_matcher(root, subdirs): argument
2283 dirs = [os.path.normpath(os.path.join(root, i)) for i in subdirs]
2288 def add_executables_in_dir(self, partition_name, partition, root, argument
[all …]
/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())

123