Searched defs:path (Results 251 - 275 of 317) sorted by relevance

<<111213

/frameworks/base/libs/hwui/
H A DOpenGLRenderer.h186 virtual status_t drawPath(const SkPath* path, const SkPaint* paint);
189 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
346 SkPath* path = new SkPath(); local
347 mTempPaths.push_back(path);
348 return path;
636 * Draws the shape represented by the specified path texture.
678 * Renders the convex hull defined by the specified path as a strip of polygons.
680 * @param path The hull of the path to draw
683 status_t drawConvexPath(const SkPath& path, cons
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java688 public void setAuxiliaryOutputFile(String path) argument
708 * Sets the path of the output file to be produced. Call this after
711 * @param path The pathname to use.
715 public void setOutputFile(String path) throws IllegalStateException argument
718 mPath = path;
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp144 const char *path,
146 return mImpl->setDataSource(httpService, path, headers);
711 const char *path = env->GetStringUTFChars(pathObj, NULL); local
713 if (path == NULL) {
723 status_t err = extractor->setDataSource(httpService, path, &headers);
725 env->ReleaseStringUTFChars(pathObj, path);
726 path = NULL;
142 setDataSource( const sp<IMediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) argument
H A Dandroid_media_MediaPlayer.cpp188 JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path,
197 if (path == NULL) {
202 const char *tmp = env->GetStringUTFChars(path, NULL);
206 ALOGV("setDataSource: path %s", tmp);
209 env->ReleaseStringUTFChars(path, tmp);
187 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
H A Dandroid_mtp_MtpDatabase.cpp103 virtual MtpObjectHandle beginSendObject(const char* path,
110 virtual void endSendObject(const char* path,
210 // Needs to be long enough to hold a file path for getObjectFilePath()
228 MtpObjectHandle MyMtpDatabase::beginSendObject(const char* path, argument
235 jstring pathStr = env->NewStringUTF(path);
246 void MyMtpDatabase::endSendObject(const char* path, MtpObjectHandle handle, argument
249 jstring pathStr = env->NewStringUTF(path);
787 MtpString path; local
791 MtpResponseCode result = getObjectFilePath(handle, path, length, format);
827 ExifData *exifdata = exif_data_new_from_file(path);
849 MtpString path; local
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java180 throw new IllegalArgumentException("Bad root path: " + this.table);
192 throw new IllegalArgumentException("Bad root path: " + this.table);
218 throw new IllegalArgumentException("Bad root path: " + this.table);
342 public SettingsFileObserver(int userHandle, String path) { argument
343 super(path, FileObserver.CLOSE_WRITE |
347 mPath = path;
350 public void onEvent(int event, String path) { argument
681 * Fast path that avoids the use of chatty remoted Cursors.
732 // fast path: owner db & cache are immutable after onCreate() so we need not
863 // Fast path (ver
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevice.java116 // Active routing path. Physical address of the active source but not all the time, such as
750 final boolean isConnectedToArcPort(int path) { argument
752 return mService.isConnectedToArcPort(path);
783 void setActivePath(int path) { argument
785 mActiveRoutingPath = path;
787 mService.setActivePortId(pathToPortId(path));
792 * routing path connected to it directly or indirectly under the device hierarchy.
806 // We update active routing path instead, since we get the active port id from
807 // the active routing path.
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java131 public void onEvent(int event, String path) { argument
132 if (path == null) {
136 File changedFile = new File(mWallpaperDir, path);
/frameworks/native/cmds/atrace/
H A Datrace.cpp67 // The path to the enable file.
68 const char* path; member in struct:TracingCategory::__anon1162
205 static bool truncateFile(const char* path) argument
210 int traceFD = creat(path, 0);
212 fprintf(stderr, "error truncating %s: %s (%d)\n", path,
271 const char* path = category.sysfiles[i].path; local
273 if (path != NULL) {
275 if (!fileIsWritable(path)) {
281 ok |= fileIsWritable(path);
296 const char* path = category.sysfiles[i].path; local
461 const char* path = c.sysfiles[j].path; local
587 const char* path = c.sysfiles[j].path; local
[all...]
/frameworks/native/cmds/installd/
H A Dutils.c21 int create_pkg_path_in_dir(char path[PKG_PATH_MAX], argument
41 char *dst = path;
44 if (append_and_increment(&dst, dir->path, &dst_size) < 0
47 ALOGE("Error building APK path");
55 * Create the package path name for a given package name with a postfix for
58 int create_pkg_path(char path[PKG_PATH_MAX], argument
80 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0
82 ALOGE("Error building prefix for APK path");
89 ALOGW("Error appending UID to APK path");
95 dir.path
105 create_user_path(char path[PKG_PATH_MAX], userid_t userid) argument
145 create_user_media_path(char path[PATH_MAX], userid_t userid) argument
156 create_user_config_path(char path[PATH_MAX], userid_t userid) argument
163 create_move_path(char path[PKG_PATH_MAX], const char* pkgname, const char* leaf, userid_t userid) argument
784 create_dir_path(char path[PATH_MAX], cache_dir_t* dir) argument
801 delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) argument
843 char path[PATH_MAX]; local
913 validate_path(const dir_rec_t* dir, const char* path) argument
939 validate_system_app_path(const char* path) argument
958 const char* path = getenv(var); local
973 get_path_from_string(dir_rec_t* rec, const char* path) argument
1042 validate_apk_path(const char *path) argument
1104 char path[PATH_MAX]; local
1117 char path[PATH_MAX]; local
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp1553 char *path = strndup((char *)pCmdData, cmdSize); local
1554 gPcmDumpFh = fopen((char *)path, "wb");
1556 ALOGV("PREPROC_CMD_DUAL_MIC_PCM_DUMP_START: path %s gPcmDumpFh %p",
1557 path, gPcmDumpFh);
1559 free(path);
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h149 AString host, path, user, pass; local
152 mSessionURL.c_str(), &host, &port, &path, &user, &pass));
160 mSessionURL.append(path);
502 AString host, path, user, pass; local
505 mSessionURL.c_str(), &host, &port, &path, &user, &pass)
512 mSessionURL.append(path);
/frameworks/base/core/java/android/app/
H A DDownloadManager.java439 * Set the local destination for the downloaded file. Must be a file URI to a path on
475 * Set the local destination for the downloaded file to a path within
486 * @param subPath the path within the external directory, including the
513 * Set the local destination for the downloaded file to a path within
521 * @param subPath the path within the external directory, including the
1051 String path = cursor.getString(
1053 return Uri.fromFile(new File(path));
1184 * @param path absolute pathname to the file. The file should be world-readable, so that it can
1193 boolean isMediaScannerScannable, String mimeType, String path, long length,
1195 return addCompletedDownload(title, description, isMediaScannerScannable, mimeType, path,
1192 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification) argument
1200 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite) argument
[all...]
H A DIApplicationThread.java121 void dumpHeap(boolean managed, String path, ParcelFileDescriptor fd) argument
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java338 * Return a String array of all the assets at the given path.
340 * @param path A relative path within the assets, i.e., "docs/home.html".
343 * names are relative to 'path'. You can open the file by
344 * concatenating 'path' and a name in the returned string (via
349 public native final String[] list(String path) argument
612 public final int addAssetPath(String path) { argument
614 int res = addAssetPathNative(path);
620 private native final int addAssetPathNative(String path); argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java120 private static native long nativeOpen(String path, int openFlags, String label, argument
209 mConnectionPtr = nativeOpen(mConfiguration.path, mConfiguration.openFlags,
1131 String path = window.getString(i, 2);
1141 if (!path.isEmpty()) {
1142 label += ": " + path;
1166 String label = mConfiguration.path;
1178 return "SQLiteConnection: " + mConfiguration.path + " (" + mConnectionId + ")";
/frameworks/base/core/java/android/provider/
H A DMediaStore.java845 * @param imagePath The path to the image to insert
1394 public static Uri getContentUriForPath(String path) { argument
1396 if (path.startsWith(ep)) {
1401 return (path.startsWith(Environment.getExternalStorageDirectory().getPath()) ?
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java137 * protocol://username:password@domain:port/path?query_string#fragment_id
425 * Argument used to specify the path part of a URI. For example
429 public static final String ARG_PATH = "android.arg.path";
1390 * @param path For example "source/index.html".
1393 public ElectronicBuilder setPath(String path) { argument
1394 return setStringArgument(TtsSpan.ARG_PATH, path);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java280 public boolean clipPath(Path path) { argument
281 return nClipPath(mRenderer, path.mNativePath, Region.Op.INTERSECT.nativeInt);
285 public boolean clipPath(Path path, Region.Op op) { argument
286 return nClipPath(mRenderer, path.mNativePath, op.nativeInt);
289 private static native boolean nClipPath(long renderer, long path, int op); argument
362 public boolean quickReject(Path path, EdgeType type) { argument
364 path.computeBounds(pathBounds, true);
795 public void drawPath(Path path, Paint paint) { argument
796 if (path.isSimplePath) {
797 if (path
805 nDrawPath(long renderer, long path, long paint) argument
925 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
935 nDrawTextOnPath(long renderer, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument
940 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument
947 nDrawTextOnPath(long renderer, String text, int start, int end, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp732 GetTextFunctor(const Layout& layout, SkPath* path, jfloat x, jfloat y, Paint* paint, argument
734 : layout(layout), path(path), x(x), y(y), paint(paint), glyphs(glyphs), pos(pos) {
744 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, path);
747 path->addPath(tmpPath);
752 SkPath* path; member in class:android::PaintGlue::GetTextFunctor
762 jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) {
773 GetTextFunctor f(layout, path, x, y, paint, glyphs, pos);
785 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
787 getTextPath(env, paint, typeface, textArray + index, count, bidiFlags, x, y, path);
761 getTextPath(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument
796 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
[all...]
H A DSkiaCanvas.cpp83 virtual bool quickRejectPath(const SkPath& path) const;
85 virtual bool clipPath(const SkPath* path, SkRegion::Op op);
106 virtual void drawPath(const SkPath& path, const SkPaint& paint);
124 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path,
185 virtual void clipPath(const SkPath& path, SkRegion::Op op, bool antialias) { argument
186 m_dstCanvas->clipPath(path, op, antialias);
251 // Fast path - no record for this frame.
426 bool SkiaCanvas::quickRejectPath(const SkPath& path) const {
427 return mCanvas->quickReject(path);
436 bool SkiaCanvas::clipPath(const SkPath* path, SkRegio argument
541 drawPath(const SkPath& path, const SkPaint& paint) argument
706 drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp160 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
161 bool result = get_canvas(canvasHandle)->quickRejectPath(*path);
174 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
176 bool emptyClip = get_canvas(canvasHandle)->clipPath(path, op);
276 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
278 get_canvas(canvasHandle)->drawPath(*path, *paint);
598 float vOffset, const Paint& paint, const SkPath& path)
600 paint(paint), path(path) {
608 canvas->drawTextOnPath(glyphs, 1, path,
597 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, float vOffset, const Paint& paint, const SkPath& path) argument
617 const SkPath& path; member in class:android::CanvasJNI::DrawTextOnPathFunctor
620 drawTextOnPath(Canvas* canvas, const uint16_t* text, int count, int bidiFlags, const SkPath& path, float hOffset, float vOffset, const Paint& paint, TypefaceImpl* typeface) argument
641 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
647 drawTextOnPath(get_canvas(canvasHandle), jchars + index, count, bidiFlags, *path, local
656 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
663 drawTextOnPath(get_canvas(canvasHandle), jchars, count, bidiFlags, *path, local
[all...]
H A Dandroid_util_AssetManager.cpp503 jstring path)
505 ScopedUtfChars path8(env, path);
502 android_content_AssetManager_addAssetPath(JNIEnv* env, jobject clazz, jstring path) argument
H A Dandroid_view_GLES20Canvas.cpp272 SkPath* path = reinterpret_cast<SkPath*>(pathPtr); local
273 const bool result = renderer->clipPath(path, static_cast<SkRegion::Op>(op));
560 SkPath* path = reinterpret_cast<SkPath*>(pathPtr); local
562 renderer->drawPath(path, paint);
652 float vOffset, Paint* paint, SkPath* path)
654 paint(paint), path(path) {
662 renderer->drawTextOnPath((const char*) glyphs, sizeof(glyphs), 1, path, x, y, paint);
671 SkPath* path; member in class:android::RenderTextOnPathFunctor
675 SkPath* path, jfloa
651 RenderTextOnPathFunctor(const Layout& layout, DisplayListRenderer* renderer, float hOffset, float vOffset, Paint* paint, SkPath* path) argument
674 renderTextOnPath(DisplayListRenderer* renderer, const jchar* text, int count, SkPath* path, jfloat hOffset, jfloat vOffset, int bidiFlags, Paint* paint, TypefaceImpl* typeface) argument
727 SkPath* path = reinterpret_cast<SkPath*>(pathPtr); local
742 SkPath* path = reinterpret_cast<SkPath*>(pathPtr); local
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java117 * <dt><code>&lt;path></code></dt>
121 * <dd>Defines the name of the path.</dd>
123 * <dd>Defines path string. This is using exactly same format as "d" attribute
124 * in the SVG's path data. This is defined in the viewport space.</dd>
126 * <dd>Defines the color to fill the path (none if not present).</dd>
128 * <dd>Defines the color to draw the path outline (none if not present).</dd>
130 * <dd>The width a path stroke.</dd>
132 * <dd>The opacity of a path stroke.</dd>
134 * <dd>The opacity to fill the path with.</dd>
136 * <dd>The fraction of the path t
1259 toPath(Path path) argument
[all...]

Completed in 2450 milliseconds

<<111213