Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 53) 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/winscope/
Dtrace.sh56 adb shell su root service call SurfaceFlinger 1020 i32 1 >/dev/null
57 adb shell su root service call SurfaceFlinger 1025 i32 1 >/dev/null
65 adb shell su root service call SurfaceFlinger 1020 i32 0 >/dev/null
66 adb shell su root service call SurfaceFlinger 1025 i32 0 >/dev/null
78 adb exec-out su root cat /data/misc/wmtrace/transaction_trace.pb >"$outfileTrans"
79 adb exec-out su root cat /data/misc/wmtrace/layers_trace.pb >"$outfileSurf"
/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.py37 def read_toolchain_config(root): argument
42 config_path = os.path.join(root, 'build', 'soong', 'cc', 'config',
57 def get_gdbserver_path(root, arch): argument
60 return path.format(root, arch, "64")
62 return path.format(root, arch, "")
65 def get_lldb_server_path(root, clang_base, clang_version, arch): argument
72 return os.path.join(root, clang_base, "linux-x86",
123 def verify_device(root, device): argument
256 def generate_vscode_script(gdbpath, root, sysroot, binary_name, port, dalvik_gdb_script, solib_sear… argument
264 "cwd": root,
[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/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/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DInlineContentClipView.java162 private void clipDescendantInlineContentViews(@Nullable View root) { in clipDescendantInlineContentViews() argument
163 if (root == null) { in clipDescendantInlineContentViews()
167 if (root instanceof InlineContentView) { in clipDescendantInlineContentViews()
168 final InlineContentView inlineContentView = (InlineContentView) root; in clipDescendantInlineContentViews()
176 if (root instanceof ViewGroup) { in clipDescendantInlineContentViews()
177 final ViewGroup rootGroup = (ViewGroup) root; in clipDescendantInlineContentViews()
/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/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.py1565 root, ext = os.path.splitext(tag_file_path)
1566 return root + '-properties' + ext
1707 def scan_elf_files(root, mount_point=None, unzip_files=True): argument
1711 root_prefix_len = len(root) + 1
1718 for base, dirnames, filenames in os.walk(root):
1719 if base == root and 'apex' in dirnames:
1721 for path, elf in scan_apex_files(os.path.join(root, 'apex'),
2370 def _compile_path_matcher(root, subdirs): argument
2371 dirs = [os.path.normpath(os.path.join(root, i)) for i in subdirs]
2376 def add_executables_in_dir(self, partition_name, partition, root, argument
[all …]
/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/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
Dmono.rscript22 void root(const uchar4 *v_in, uchar4 *v_out) {

123