Searched defs:dir (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java45 * @param dir to store session files in (created if necessary)
48 public SSLSessionCache(File dir) throws IOException { argument
49 mSessionCache = FileClientSessionCache.usingDirectory(dir);
59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
62 cache = FileClientSessionCache.usingDirectory(dir);
64 Log.w(TAG, "Unable to create SSL session cache in " + dir, e);
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java32 /*package*/ static int runBidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) { argument
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java27 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) { argument
36 switch(dir) {
37 case Layout.DIR_REQUEST_LTR: dir = 0; break;
38 case Layout.DIR_REQUEST_RTL: dir = 1; break;
39 case Layout.DIR_REQUEST_DEFAULT_LTR: dir = -2; break;
40 case Layout.DIR_REQUEST_DEFAULT_RTL: dir = -1; break;
41 default: dir = 0; break;
44 int result = runBidi(dir, chs, chInfo, n, haveInfo);
52 * @param dir base line direction, either Layout.DIR_LEFT_TO_RIGHT or
61 public static Directions directions(int dir, byt argument
176 runBidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) argument
[all...]
H A DSelection.java398 private static int findEdge(Spannable text, Layout layout, int dir) { argument
403 if (dir * pdir < 0) {
/frameworks/base/core/jni/
H A Dandroid_text_AndroidBidi.cpp28 static jint runBidi(JNIEnv* env, jobject obj, jint dir, jcharArray chsArray, argument
41 ubidi_setPara(bidi, chs, n, dir, NULL, &status);
H A Dandroid_text_AndroidCharacter.cpp76 int dir = u_charDirection(c); local
77 if (dir < 0 || dir >= U_CHAR_DIRECTION_COUNT)
78 dir = PROPERTY_UNDEFINED;
80 dir = directionality_map[dir];
82 dest[i++] = dir;
83 dest[i] = dir;
86 int dir = u_charDirection(c); local
87 if (dir <
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTexture2D.java44 public Texture2D(String dir, String file) { argument
46 setFileDir(dir);
55 public void setFileDir(String dir) { argument
56 mFileDir = dir;
H A DTextureCube.java45 public TextureCube(String dir, String file) { argument
47 setFileDir(dir);
56 public void setFileDir(String dir) { argument
57 mFileDir = dir;
/frameworks/base/tools/aapt/
H A DDirectoryWalker.h59 dir = NULL;
60 dir = opendir(mBasePath.string() );
62 if (dir == NULL)
74 struct dirent* entryPtr = readdir(dir);
89 closedir(dir);
95 DIR* dir; member in class:SystemDirectoryWalker
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp34 iterator dir, dirEnd = end(); local
35 for (dir = begin(); dir!=dirEnd; ++dir) {
36 delete (*dir);
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp119 DIR *dir = opendir(path); local
121 if (dir == NULL) {
125 rewinddir(dir);
128 while ((ent = readdir(dir)) != NULL) {
150 closedir(dir);
151 dir = NULL;
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java235 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
238 if ((dir & View.FOCUS_BACKWARD) != 0) {
H A DScrollingMovementMethod.java94 public void onTakeFocus(TextView widget, Spannable text, int dir) { argument
97 if (layout != null && (dir & View.FOCUS_FORWARD) != 0) {
101 if (layout != null && (dir & View.FOCUS_BACKWARD) != 0) {
H A DArrowKeyMovementMethod.java306 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
307 if ((dir & (View.FOCUS_FORWARD | View.FOCUS_DOWN)) != 0) {
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java42 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
H A DIconMarginSpan.java42 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
49 if (dir < 0)
H A DBulletSpan.java80 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
103 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
107 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p);
H A DLeadingMarginSpan.java53 * @param dir the base direction of the paragraph; if negative, the margin
65 int x, int dir,
138 int x, int dir,
64 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
137 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DQuoteSpan.java66 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
76 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p);
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutBidiTest.java87 private void expectNativeBidi(int dir, String text, argument
93 int resultDir = AndroidBidi.bidi(dir, chs, chInfo, n, false);
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp154 DIR* dir = opendir(path); local
155 if (!dir) {
161 while ((entry = readdir(dir))) {
168 closedir(dir);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFsUtils.java56 String dir, boolean ignoreResultsInDir) throws IOException {
59 Log.v(LOGTAG, "Searching tests under " + dir);
61 File d = new File(dir);
63 throw new AssertionError("A directory expected, but got " + dir);
65 ignoreResultsInDir |= FileFilter.ignoreResult(dir);
69 String s = dir + "/" + files[i];
55 writeLayoutTestListRecursively(BufferedOutputStream bos, String dir, boolean ignoreResultsInDir) argument
/frameworks/base/cmds/installd/
H A Dinstalld.h113 cache_dir_t* dir; member in struct:__anon950
134 const dir_rec_t* dir,
163 int lookup_media_dir(char basepath[PATH_MAX], const char *dir);
/frameworks/base/cmds/installd/tests/
H A Dinstalld_utils_test.cpp329 dir_rec_t dir; local
330 dir.path = "/data/app-private/";
331 dir.len = strlen(dir.path);
333 EXPECT_EQ(0, create_pkg_path_in_dir(path, &dir, "com.example.package", ".apk"))
/frameworks/base/native/android/
H A Dasset_manager.cpp42 AAssetDir(AssetDir* dir) : mAssetDir(dir), mCurFileIndex(0) { } argument

Completed in 586 milliseconds

123