/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | DensityActivity.java | 52 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/ |
D | line_endings.c | 62 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/ |
D | capture_sf_trace.sh | 53 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/ |
D | proto-loader.js | 27 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/ |
D | README | 20 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/ |
D | gdbclient.py | 29 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 …]
|
D | boardconfig_usage_analysis.py | 53 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/ |
D | PreferencesFromCode.java | 41 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/ |
D | RuntimePermissionsFragment.java | 33 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/ |
D | utils.py | 46 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))
|
D | check_gpl_license.py | 79 root = xml_tree.parse(self._manifest_file).getroot() 80 return root.findall('project')
|
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/ |
D | RmTypeDefsTest.java | 206 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/ |
D | repo_diff_trees.py | 40 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/ |
D | FragmentContextMenu.java | 53 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/ |
D | CameraPreviewFragment.java | 78 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/ |
D | native_test.py | 157 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/ |
D | system_image_diff.py | 35 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/ |
D | mono.rs | 22 void root(const uchar4 *v_in, uchar4 *v_out) {
|
/development/sdk/ |
D | sdk.properties | 2 # This file is copied in the root folder of each platform component.
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 1278 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/ |
D | adb_utils.py | 24 def root(serial_num=None): function
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | levels.rs | 28 void root(const uchar4 *in, uchar4 *out, uint32_t x, uint32_t y) {
|
/development/tools/findunused/ |
D | find_unused_resources.rb | 35 def findResDirectories(root) argument 37 Find.find(root) do |path|
|
/development/vndk/tools/definition-tool/assets/visual/ |
D | dep-graph.js | 201 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/ |
D | adb_mounter.py | 72 adb_utils.root(self._serial_num)
|