/frameworks/base/core/jni/android/graphics/ |
H A D | MinikinUtils.cpp | 80 float MinikinUtils::hOffsetForTextAlign(Paint* paint, const Layout& layout, const SkPath& path) { argument 92 SkPathMeasure measure(path, false);
|
/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 56 static void ReadFile(const char* path, String8& s) { argument 57 int fd = open(path, O_RDONLY);
|
H A D | android_util_FileObserver.cpp | 79 jstring path = NULL; local 83 path = env->NewStringUTF(event->name); 86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 91 if (path != NULL) 93 env->DeleteLocalRef(path); 113 const char* path = env->GetStringUTFChars(pathString, NULL); local 115 res = inotify_add_watch(fd, path, mask); 117 env->ReleaseStringUTFChars(pathString, path);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 38 // DRM scheme such as account id, path or multiple path's 65 * @param path The trigger data. 68 public DrmInfo(int infoType, String path, String mimeType) { argument 72 mData = DrmUtils.readBytes(path); 74 // As the given path is invalid,
|
H A D | DrmUtils.java | 38 /* package */ static byte[] readBytes(String path) throws IOException { argument 39 File file = new File(path); 63 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 67 if (null != path && null != data) { 69 outputStream = new FileOutputStream(path); 77 /* package */ static void removeFile(String path) throws IOException { argument 78 File file = new File(path);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | FontFamily.java | 61 public boolean addFont(String path) { argument 62 return nAddFont(mNativePtr, path); 65 public boolean addFontWeightStyle(String path, int weight, boolean style) { argument 66 return nAddFontWeightStyle(mNativePtr, path, weight, style); 69 public boolean addFontFromAsset(AssetManager mgr, String path) { argument 70 return nAddFontFromAsset(mNativePtr, mgr, path); 75 private static native boolean nAddFont(long nativeFamily, String path); argument 76 private static native boolean nAddFontWeightStyle(long nativeFamily, String path, argument 79 String path); 78 nAddFontFromAsset(long nativeFamily, AssetManager mgr, String path) argument
|
/frameworks/base/libs/hwui/ |
H A D | ResourceCache.cpp | 276 SkPath* path = (SkPath*) resource; local 278 Caches::getInstance().pathCache.removeDeferred(path); 280 delete path;
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 76 * @param packagePath absolute path to the package to be copied. Can be 83 * @return Returns the new cache path where the resource has been copied 121 * @param packagePath absolute path to the package to be copied. Can be 147 * @param packagePath absolute path to the package to be copied. Can be 207 public long calculateDirectorySize(String path) throws RemoteException { 210 final File dir = Environment.maybeTranslateEmulatedPathToInternal(new File(path)); 220 public long[] getFileSystemStats(String path) { 224 final StructStatVfs stat = Os.statvfs(path); 234 public void clearDirectory(String path) throws RemoteException { 237 final File directory = new File(path); 296 eraseFiles(File path) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | CertBlacklister.java | 57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { argument 61 mPath = path;
|
/frameworks/base/test-runner/src/junit/runner/ |
H A D | TestCaseClassLoader.java | 25 /** scanned class path */ 39 * Constructs a TestCaseLoader. It scans the class path 43 this(System.getProperty("java.class.path")); 47 * Constructs a TestCaseLoader. It scans the class path 56 String separator= System.getProperty("path.separator"); 113 String path= (String) fPathItems.elementAt(i); 115 if (isJar(path)) { 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, Strin argument 157 loadJarData(String path, String fileName) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HwTests.java | 46 String path = intent.getStringExtra("com.android.test.hwui.Path"); 48 if (path == null) { 49 path = ""; 52 setListAdapter(new SimpleAdapter(this, getData(path), 131 protected Intent browseIntent(String path) { argument 134 result.putExtra(EXTRA_PATH, path);
|
H A D | ScaledTextActivity.java | 81 Path path = new Path(); 82 buildPath(path); 83 return path; 86 private static void buildPath(Path path) { argument 87 path.moveTo(0.0f, 0.0f); 88 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 89 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 90 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
|
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...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncView.java | 75 public void loadA3DFile(String path) { argument 76 mRender.loadA3DFile(path);
|
H A D | FBOTestView.java | 75 public void loadA3DFile(String path) { argument 76 mRender.loadA3DFile(path);
|
/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/compile/mclinker/include/mcld/Support/ |
H A D | Directory.h | 46 /// constructor - a directory whose path is pPath 72 /// path - the path of the directory 73 const Path& path() const function in class:mcld::sys::fs::Directory 135 Path* path(); 136 const Path* path() const;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | CommandAction.cpp | 31 pBuilder.createNode<InputTree::Positional>(path().stem().native(), path()); 46 const sys::fs::Path* path = NULL; local 47 // find out the real path of the namespec. 54 path = m_SearchDirs.find(namespec(), Input::Archive); 59 path = m_SearchDirs.find(namespec(), Input::DynObj); 64 path = m_SearchDirs.find(namespec(), Input::Archive); 67 if (NULL == path) { 72 pBuilder.createNode<InputTree::Positional>(namespec(), *path); local 85 pBuilder.createNode<InputTree::Positional>("bitcode", path(), Inpu [all...] |
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxy.java | 39 void setDataSource(String path) throws IllegalStateException, IOException; argument
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 43 * Creates all directories along the fully qualified path of the given file. 45 * @param[in] path A reference to the fully qualified path of a file. 50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { argument 52 size_t partialPathLength = strlen(path); 59 if (path[i] == '/' && i > 0) { 66 partialPath[i] = path[i];
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 76 file.path = filename; 109 const char *path, const char *mimeType, 111 ALOGV("processFile '%s'.", path); 115 MediaScanResult result = processFileInternal(path, mimeType, client); 121 const char *path, const char * /* mimeType */, 123 const char *extension = strrchr(path, '.'); 142 return HandleMIDI(path, &client); 147 int fd = open(path, O_RDONLY | O_LARGEFILE); 151 status = mRetriever->setDataSource(NULL /* httpService */, path); 108 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument 120 processFileInternal( const char *path, const char * , MediaScannerClient &client) argument
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.h | 81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 114 void addEditObject(MtpObjectHandle handle, MtpString& path,
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 72 String8 path; member in struct:android::BootAnimation::Animation::Part
|
/frameworks/base/cmds/idmap/ |
H A D | create.cpp | 32 int open_idmap(const char *path) argument 34 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644)); 36 ALOGD("error: open %s: %s\n", path, strerror(errno)); 40 ALOGD("error: fchmod %s: %s\n", path, strerror(errno)); 44 ALOGD("error: flock %s: %s\n", path, strerror(errno)); 52 unlink(path);
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 48 public PathKeyframes(Path path) { argument 49 this(path, 0.5f); 52 public PathKeyframes(Path path, float error) { argument 53 if (path == null || path.isEmpty()) { 54 throw new IllegalArgumentException("The path must not be null or empty"); 56 mKeyframeData = path.approximate(error);
|