/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutDirectionsTest.java | 40 private static Directions dirs(int ... dirs) { in dirs() argument 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/ |
D | ObbBackupService.java | 130 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/ |
D | Layout.java | 950 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 …]
|
D | DynamicLayout.java | 461 final Directions[] dirs = new Directions[] { DIRS_ALL_LEFT_TO_RIGHT }; in generate() local 476 mObjects.insertAt(0, dirs); in generate()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Scan.cpp | 80 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/core/java/android/app/ |
D | ContextImpl.java | 706 final File[] dirs = getExternalFilesDirs(type); in getExternalFilesDir() local 707 return (dirs != null && dirs.length > 0) ? dirs[0] : null; in getExternalFilesDir() 713 File[] dirs = Environment.buildExternalStorageAppFilesDirs(getPackageName()); in getExternalFilesDirs() local 715 dirs = Environment.buildPaths(dirs, type); in getExternalFilesDirs() 717 return ensureExternalDirsExistOrFilter(dirs); in getExternalFilesDirs() 724 final File[] dirs = getObbDirs(); in getObbDir() local 725 return (dirs != null && dirs.length > 0) ? dirs[0] : null; in getObbDir() 731 File[] dirs = Environment.buildExternalStorageAppObbDirs(getPackageName()); in getObbDirs() local 732 return ensureExternalDirsExistOrFilter(dirs); in getObbDirs() 768 final File[] dirs = getExternalCacheDirs(); in getExternalCacheDir() local [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 90 std::string dirs = path.substr(0, (&*pos - path.data())); in WriteFile() local 91 file::mkdirs(dirs); in WriteFile()
|
/frameworks/base/libs/androidfw/ |
D | ApkAssets.cpp | 227 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()
|
D | AssetManager.cpp | 1208 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/ |
D | test3.txt | 63 # 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/ |
D | FileUtils.java | 843 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/ |
D | SQLiteDatabase.java | 2211 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/ |
D | Resource.cpp | 452 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/ |
D | Options.td | 428 HelpText<"Only search lib dirs explicitly specified on cmdline">;
|