Home
last modified time | relevance | path

Searched refs:dirs (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutDirectionsTest.java40 private static Directions dirs(int ... dirs) { in dirs() method in StaticLayoutDirectionsTest
41 return new Directions(dirs); in dirs()
89 dirs(0, 1, 1, LVL1_1),
91 dirs(0, 2, 2, LVL1_1),
92 dirs(0, 1, 2, LVL2_1, 1, LVL1_1),
93 dirs(0, 1, 1, LVL1_1, 2, 1),
94 dirs(0, 1, 3, LVL1_1, 2, LVL2_1, 1, LVL1_1),
95 dirs(0, 1, 4, LVL2_1, 3, LVL1_1, 2, LVL2_1, 1, LVL1_1),
99 dirs(0, LVL1_1, 1, LVL2_1),
100 dirs(0, LVL1_1, 1, LVL2_1),
[all …]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java130 final ArrayList<File> dirs = new ArrayList<File>();
132 dirs.add(rootDir);
133 while (!dirs.isEmpty()) {
134 File dir = dirs.remove(0);
138 if (f.isDirectory()) dirs.add(f);
/frameworks/base/core/java/android/text/
DLayout.java950 Directions dirs = getLineDirections(line); in isLevelBoundary() local
951 if (dirs == DIRS_ALL_LEFT_TO_RIGHT || dirs == DIRS_ALL_RIGHT_TO_LEFT) { in isLevelBoundary()
955 int[] runs = dirs.mDirections; in isLevelBoundary()
980 Directions dirs = getLineDirections(line); in isRtlCharAt() local
981 if (dirs == DIRS_ALL_LEFT_TO_RIGHT) { in isRtlCharAt()
984 if (dirs == DIRS_ALL_RIGHT_TO_LEFT) { in isRtlCharAt()
987 int[] runs = dirs.mDirections; in isRtlCharAt()
1009 Directions dirs = getLineDirections(line); in getRunRange() local
1010 if (dirs == DIRS_ALL_LEFT_TO_RIGHT || dirs == DIRS_ALL_RIGHT_TO_LEFT) { in getRunRange()
1013 int[] runs = dirs.mDirections; in getRunRange()
[all …]
DDynamicLayout.java461 final Directions[] dirs = new Directions[] { DIRS_ALL_LEFT_TO_RIGHT }; in generate() local
476 mObjects.insertAt(0, dirs); in generate()
/frameworks/base/core/java/android/app/
DContextImpl.java698 final File[] dirs = getExternalFilesDirs(type); in getExternalFilesDir() local
699 return (dirs != null && dirs.length > 0) ? dirs[0] : null; in getExternalFilesDir()
705 File[] dirs = Environment.buildExternalStorageAppFilesDirs(getPackageName()); in getExternalFilesDirs() local
707 dirs = Environment.buildPaths(dirs, type); in getExternalFilesDirs()
709 return ensureExternalDirsExistOrFilter(dirs); in getExternalFilesDirs()
716 final File[] dirs = getObbDirs(); in getObbDir() local
717 return (dirs != null && dirs.length > 0) ? dirs[0] : null; in getObbDir()
723 File[] dirs = Environment.buildExternalStorageAppObbDirs(getPackageName()); in getObbDirs() local
724 return ensureExternalDirsExistOrFilter(dirs); in getObbDirs()
751 final File[] dirs = getExternalCacheDirs(); in getExternalCacheDir() local
[all …]
/frameworks/base/cmds/idmap2/idmap2/
DScan.cpp80 Result<std::unique_ptr<std::vector<std::string>>> FindApkFiles(const std::vector<std::string>& dirs, in FindApkFiles() argument
82 SYSTRACE << "FindApkFiles " << dirs << " " << recursive; in FindApkFiles()
90 for (const auto& dir : dirs) { in FindApkFiles()
/frameworks/base/tools/aapt2/test/
DFixture.cpp90 std::string dirs = path.substr(0, (&*pos - path.data())); in WriteFile() local
91 file::mkdirs(dirs); in WriteFile()
/frameworks/base/libs/androidfw/
DApkAssets.cpp227 std::set<std::string> dirs; in ForEachFile() local
239 dirs.insert(std::move(dir)); in ForEachFile()
248 for (const std::string& dir : dirs) { in ForEachFile()
DAssetManager.cpp1208 Vector<String8> dirs; in scanAndMergeZipLocked() local
1283 size_t N = dirs.size(); in scanAndMergeZipLocked()
1286 if (subdirName == dirs[j]) { in scanAndMergeZipLocked()
1291 dirs.add(subdirName); in scanAndMergeZipLocked()
1304 for (int i = 0; i < (int) dirs.size(); i++) { in scanAndMergeZipLocked()
1305 info.set(dirs[i], kFileTypeDirectory); in scanAndMergeZipLocked()
/frameworks/compile/mclinker/unittests/
Dtest3.txt63 # When you use `make setup-dirs' or `make taz' you should always redefine
146 set -e ; dirs="$(DEVO_SUPPORT) $(SUPPORT_FILES) $(TOOL)" ; \
147 for d in $$dirs ; do \
185 # Take out texinfo from configurable dirs
/frameworks/base/core/java/android/os/
DFileUtils.java843 public static boolean contains(File[] dirs, File file) { in contains() argument
844 for (File dir : dirs) { in contains()
853 public static boolean contains(Collection<File> dirs, File file) { in contains() argument
854 for (File dir : dirs) { in contains()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java2211 final String[] dirs = directories.toArray(new String[directories.size()]); in dumpAll() local
2212 Arrays.sort(dirs); in dumpAll()
2213 for (String dir : dirs) { in dumpAll()
/frameworks/base/tools/aapt/
DResource.cpp452 const Vector<sp<AaptDir> >& dirs = ass->resDirs(); in collect_files() local
453 int N = dirs.size(); in collect_files()
456 const sp<AaptDir>& d = dirs.itemAt(i); in collect_files()
3248 const Vector<sp<AaptDir> >& dirs = assets->resDirs(); in writeProguardForLayouts() local
3249 const size_t K = dirs.size(); in writeProguardForLayouts()
3251 const sp<AaptDir>& d = dirs.itemAt(k); in writeProguardForLayouts()
/frameworks/compile/mclinker/tools/mcld/
DOptions.td428 HelpText<"Only search lib dirs explicitly specified on cmdline">;