/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextOnPathActivity.java | 45 Path path = new Path(); 46 buildPath(path); 47 return path; 50 private static void buildPath(Path path) { argument 51 path.moveTo(0.0f, 0.0f); 52 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 53 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 54 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); 58 Path path = new Path(); 59 buildStraightPath(path); 63 buildStraightPath(Path path) argument [all...] |
H A D | TextPathActivity.java | 61 Path path = new Path(); 64 drawTextAsPath(canvas, "Hello", path); 67 drawTextAsPath(canvas, "OpenGL", path); 70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument 72 mHugePaint.getTextPath(text, 0, count, 0, 0, path); 73 path.close(); 74 canvas.drawPath(path, mHugePaint);
|
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
H A D | LowStorageTest.java | 51 File path = Environment.getDataDirectory(); 52 StatFs stat = new StatFs(path.getPath()); 79 File path = Environment.getDataDirectory(); 80 StatFs stat = new StatFs(path.getPath()); 121 File path = Environment.getDataDirectory(); 122 StatFs stat = new StatFs(path.getPath());
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
H A D | MusicProvider.java | 88 String path = MUSIC_URL.substring(0, slashPos + 1); 104 source = path + source; 108 image = path + image;
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncRS.java | 160 public void loadA3DFile(String path) { argument 161 FileA3D model = FileA3D.createFromFile(mRS, path); 163 initTextAllocation(path);
|
H A D | FBOSyncView.java | 75 public void loadA3DFile(String path) { argument 76 mRender.loadA3DFile(path);
|
H A D | FBOTestRS.java | 159 public void loadA3DFile(String path) { argument 160 FileA3D model = FileA3D.createFromFile(mRS, path); 162 initTextAllocation(path);
|
H A D | FBOTestView.java | 75 public void loadA3DFile(String path) { argument 76 mRender.loadA3DFile(path);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 158 public void loadA3DFile(String path) { argument 159 FileA3D model = FileA3D.createFromFile(mRS, path); 161 initTextAllocation(path);
|
H A D | SimpleModelView.java | 102 public void loadA3DFile(String path) { argument 103 mRender.loadA3DFile(path);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 128 public static boolean isSDCardPath(String path) { argument 129 int sdCardIndex = path.indexOf("sdcard/"); 134 sdCardIndex = path.indexOf("mnt/sdcard/");
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TestAppRS.java | 118 void loadModel(String path) { argument 121 mSceneManager.loadModel(path, mLoadedCallback);
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | VectorDrawableTest.java | 45 String path = intent.getStringExtra("com.android.test.hwui.Path"); 47 if (path == null) { 48 path = ""; 51 setListAdapter(new SimpleAdapter(this, getData(path), 130 protected Intent browseIntent(String path) { argument 133 result.putExtra(EXTRA_PATH, path);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 36 * Pass in just the filename, not the full path. 49 return false; // reject path sep chars 66 static bool isHidden(const char *root, const char *path) argument 81 if (strcmp(path, ".") == 0 || strcmp(path, "..") == 0) { 100 fullPath.appendPath(path); 103 int plen = strlen(path); 128 ignore = strncasecmp(token, path + plen - n, n) == 0; 132 ignore = strncasecmp(token, path, n - 1) == 0; 134 ignore = strcasecmp(token, path) 637 makeDir(const String8& path) argument 979 addResource(const String8& leafName, const String8& path, const sp<AaptFile>& file, const String8& resType) argument [all...] |
H A D | AaptAssets.h | 184 // a full path to a file on the filesystem that holds its data. 213 AaptGroup(const String8& leaf, const String8& path) argument 214 : mLeaf(leaf), mPath(path) { } 219 // Returns the relative path after the AaptGroupEntry dirs. 246 AaptDir(const String8& leaf, const String8& path) argument 247 : mLeaf(leaf), mPath(path) { } 538 const String8& path,
|
H A D | ApkBuilder.cpp | 59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { argument 63 return mSplits.editItemAt(i)->addEntry(path, file); 109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { argument 110 if (!mFiles.insert(OutputEntry(path, file)).second) {
|
H A D | ApkBuilder.h | 52 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file); 72 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file);
|
H A D | CacheUpdater.h | 35 // Make sure all the directories along this path exist 36 virtual void ensureDirectoriesExist(String8 path) = 0; 39 virtual void deleteFile(String8 path) = 0; 57 // Make sure all the directories along this path exist 58 virtual void ensureDirectoriesExist(String8 path) argument 60 // Check to see if we're dealing with a fully qualified path 67 // If something in the path doesn't exist, then walk the path backwards 69 if (stat(path.string(),&s) == -1) { 71 existsPath = path; 94 deleteFile(String8 path) argument [all...] |
H A D | DirectoryWalker.h | 28 virtual bool openDir(String8 path) = 0; 29 virtual bool openDir(const char* path) = 0; 44 // Base path 57 virtual bool openDir(String8 path) { argument 58 mBasePath = path; 67 virtual bool openDir(const char* path) { argument 68 String8 p(path);
|
H A D | FileFinder.cpp | 80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, argument 86 String8 ext(path.getPathExtension()); 94 fileStore.add(path,stats->st_mtime);
|
H A D | FileFinder.h | 35 /* findFiles takes a path, a Vector of extensions, and a destination KeyedVector 36 * and places path/modification date key/values pointing to 39 * path is a valid system path 42 * compares the end of the path string so if the "." 49 * matching files encountered in subdirectories of path 62 * checkAndAddFile looks at a single file path and stat combo 71 * is added to the KeyedVector with the path as the key and the modification 75 static void checkAndAddFile(String8 path, const struct stat* stats,
|
H A D | Main.cpp | 27 * This operates in-place on the path string. 29 void convertPath(char *path) { argument 30 if (path != NULL && OS_PATH_SEPARATOR != '/') { 31 for (; *path; path++) { 32 if (*path == '/') { 33 *path = OS_PATH_SEPARATOR; 113 " -k junk path of file(s) added\n" 125 " -M specify full path to AndroidManifest.xml to include in zip\n"
|
H A D | OutputSet.h | 30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) argument 31 : mPath(path), mFile(file) {}
|
H A D | Package.cpp | 386 const char* path = pathName.string(); local 387 if (strcasecmp(path + pos, str) == 0) {
|
H A D | Resource.cpp | 455 static int validateAttr(const String8& path, const ResTable& table, argument 471 path.string(), parser.getLineNumber(), 487 path.string(), parser.getLineNumber(), 496 path.string(), parser.getLineNumber(), 502 path.string(), parser.getLineNumber(), 508 path.string(), parser.getLineNumber(), 527 path.string(), parser.getLineNumber(), 535 path.string(), parser.getLineNumber(), 541 path.string(), parser.getLineNumber(), 549 path 556 checkForIds(const String8& path, ResXMLParser& parser) argument [all...] |