Home
last modified time | relevance | path

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

123

/development/ndk/tools/
Dheaders-diff-bionic-vs-ndk.py36 self.root = platforms_root
40 def scan_dir(self, root): argument
43 for filename in os.listdir(root):
44 if os.path.isfile(os.path.join(root, filename)):
48 def scan_includes(self, root): argument
51 includes_root = os.path.join(root, 'include')
65 def scan_archs_includes(self, root): argument
68 includes['common'] = self.scan_includes(root)
71 arch_root = os.path.join(root, arch)
78 platform_root = os.path.join(self.root, platform)
[all …]
/development/tools/checkstyle/gitlint/
Dgit.py25 root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'],
28 return root.decode('utf-8')
36 root = subprocess.check_output(['git', 'rev-parse', 'HEAD'],
39 return root.decode('utf-8')
52 def modified_files(root, tracked_only=False, commit=None): argument
65 assert os.path.isabs(root), "Root has to be absolute, got: %s" % root
68 return _modified_files_with_commit(root, commit)
85 return dict((os.path.join(root, _remove_filename_quotes(filename)), mode)
89 def _modified_files_with_commit(root, commit): argument
102 return dict((os.path.join(root, _remove_filename_quotes(filename)),
/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/scripts/
Dgdbclient.py28 def get_gdbserver_path(root, arch): argument
31 return path.format(root, arch, "64", "64")
33 return path.format(root, arch, "", "")
61 def dump_var(root, variable): argument
63 "BUILD_SYSTEM={}/build/core".format(root),
65 "{}/build/core/config.mk".format(root),
71 os.environ['PWD'] = root
72 make_output = subprocess.check_output(make_args, cwd=root)
77 def verify_device(root, props): argument
79 target_device = dump_var(root, "TARGET_DEVICE")
[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/idegen/
DREADME18 From the project's root directory...
45 From the project's root directory...
51 3) Import the project root directory into your Eclipse workspace. If you
58 project root) that should be excluded from the IDE configuration. We
62 "excluded-paths" file in the project's root directory. For example, you
66 Controlling source root ordering (Eclipse)
69 create a file named "path-precedence" in your project's root directory.
70 Each line in the file is a regular expression that matches a source root
71 path (relative to the project's root directory). If a given source root's
73 source root will come earlier in the generated configuration. If a source
[all …]
/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/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/settings/
DSettingsExampleFragment.java54 private PreferenceFragment buildPreferenceFragment(int preferenceResId, String root) { in buildPreferenceFragment() argument
58 args.putString("root", root); in buildPreferenceFragment()
67 String root = getArguments().getString("root", null); in onCreatePreferences() local
69 if (root == null) { in onCreatePreferences()
72 setPreferencesFromResource(prefResId, root); in onCreatePreferences()
/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/tools/checkstyle/
Dcheckstyle.py103 root = git.repository_root()
104 untracked_files = git.modified_files(root, False)
160 root = xml.dom.minidom.parseString(stdout)
161 for file_element in root.getElementsByTagName('file'):
219 root = git.repository_root()
220 pending_files = git.modified_files(root, True)
225 modified_files = git.modified_files(root, True, commit)
Dtests.py45 def mock_modified_files_good(root, tracked_only=False, commit=None): argument
51 def mock_modified_files_uncommitted(root, tracked_only=False, commit=None): argument
59 def mock_modified_files_untracked(root, tracked_only=False, commit=None): argument
67 def mock_modified_files_non_java(root, tracked_only=False, commit=None): argument
/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/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentContextMenuSupport.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/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/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
DCustomTitleView.java62 View root = LayoutInflater.from(context).inflate(R.layout.custom_titleview, this); in CustomTitleView() local
63 mTitleView = (TextView) root.findViewById(R.id.title_tv); in CustomTitleView()
64 mBadgeView = (ImageView)root.findViewById(R.id.title_badge_iv); in CustomTitleView()
/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/ndk/platforms/android-3/include/linux/
Drbtree.h41 #define RB_EMPTY_ROOT(root) ((root)->rb_node == NULL) argument
/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/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/ndk/platforms/android-21/include/linux/
Dnfs_mount.h50 struct nfs3_fh root; member
Dadfs_fs.h39 __le32 root; member
Dcramfs_fs.h57 struct cramfs_inode root; member
/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|

123