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

1234

/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java83 * @param dir to store session files in (created if necessary)
86 public SSLSessionCache(File dir) throws IOException { argument
87 mSessionCache = FileClientSessionCache.usingDirectory(dir);
97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
100 cache = FileClientSessionCache.usingDirectory(dir);
102 Log.w(TAG, "Unable to create SSL session cache in " + dir, e);
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, argument
38 switch (dir) {
40 dir = Bidi.LTR;
43 dir = Bidi.RTL;
46 dir = Bidi.LEVEL_DEFAULT_RTL;
49 dir = Bidi.LEVEL_DEFAULT_LTR;
54 dir = Bidi.LEVEL_DEFAULT_LTR;
56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir);
/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
179 runBidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) argument
[all...]
H A DGraphicsOperations.java64 int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, argument
/frameworks/multidex/library/src/android/support/multidex/
H A DZipUtil.java57 CentralDirectory dir = findCentralDirectory(raf);
59 return computeCrcOfCentralDir(raf, dir);
99 CentralDirectory dir = new CentralDirectory();
100 dir.size = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL;
101 dir.offset = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL;
102 return dir;
106 static long computeCrcOfCentralDir(RandomAccessFile raf, CentralDirectory dir) argument
109 long stillToRead = dir.size;
110 raf.seek(dir.offset);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderRaw.java46 * @param dir The directory containing the raw images
51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, argument
70 Log.v(LOGTAG, "Loading " + dir.getPath());
71 File[] f = dir.listFiles();
72 Log.v(LOGTAG, "dir contains " + f.length + " files");
H A DVolumeLoader.java37 public VolumeLoader(String dir) { argument
40 baseDir = new File(dir);
42 Log.e(LOGTAG, "Directory: \""+dir+"\" does not exist ");
70 String dir = p.getProperty("dir");
71 Log.v(LOGTAG,"dir ="+dir);
75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener);
85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener);
98 static Properties[] getPropertyFiles(File dir) { argument
[all...]
/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.cpp77 int dir = u_charDirection(c); local
78 if (dir < 0 || dir >= U_CHAR_DIRECTION_COUNT)
79 dir = PROPERTY_UNDEFINED;
81 dir = directionality_map[dir];
83 dest[i++] = dir;
84 dest[i] = dir;
87 int dir = u_charDirection(c); local
88 if (dir <
[all...]
/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/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/cmds/idmap/
H A Didmap.cpp16 idmap --scan target-package-name-to-look-for path-to-target-apk dir-to-hold-idmaps \\\
17 dir-to-scan [additional-dir-to-scan [additional-dir-to-scan [...]]]\n\
52 --scan: non-recursively search directory 'dir-to-scan' (path) for overlay packages with \n\
55 idmap file in 'dir-to-hold-idmaps' (path). \n\
190 const char *dir = overlay_dirs->itemAt(i); local
191 if (!verify_directory_readable(dir)) {
192 ALOGD("error: no read access to %s: %s\n", dir, strerror(errno));
/frameworks/base/core/java/android/security/net/config/
H A DTrustedCertificateStoreAdapter.java69 public File getCertificateFile(File dir, X509Certificate x) { argument
/frameworks/base/core/java/android/text/method/
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.java316 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
317 if ((dir & (View.FOCUS_FORWARD | View.FOCUS_DOWN)) != 0) {
H A DLinkMovementMethod.java240 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
243 if ((dir & View.FOCUS_BACKWARD) != 0) {
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java41 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
H A DIconMarginSpan.java41 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
48 if (dir < 0)
H A DBulletSpan.java90 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
113 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
117 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p);
H A DLeadingMarginSpan.java56 * @param dir the base direction of the paragraph; if negative, the margin
68 int x, int dir,
155 int x, int dir,
67 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
154 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.java78 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument
88 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/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java48 public static void clearDir(File dir) { argument
49 if (dir.exists()) {
50 Assert.assertTrue("failed to delete dir", FileUtils.deleteContents(dir));
52 dir.mkdirs();
53 Log.i(DpmTestBase.TAG, "Created " + dir);
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp41 iterator dir, dirEnd = end(); local
42 for (dir = begin(); dir != dirEnd; ++dir) {
43 delete (*dir);
48 MCLDDirectory* dir = new MCLDDirectory(pPath); local
49 if (dir->isInSysroot())
50 dir->setSysroot(m_SysRoot);
52 if (exists(dir->path()) && is_directory(dir
[all...]
/frameworks/native/cmds/installd/
H A Dutils.h47 cache_dir_t* dir; member in struct:android::installd::__anon1277

Completed in 453 milliseconds

1234