Searched defs:dir (Results 26 - 50 of 69) sorted by last modified time

123

/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/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jar ... success int i String[] children java.io.File dir private void unzip (java.io.File, java. ...
/frameworks/base/tools/split-select/
H A DMain.cpp224 AssetDir* dir = assetManager.openNonAssetDir(cookie, "lib"); local
225 if (dir != NULL) {
226 const size_t fileCount = dir->getFileCount();
229 Vector<String8> parts = AaptUtil::splitAndLowerCase(dir->getFileName(i), '-');
231 fprintf(stderr, "Malformed library %s\n", dir->getFileName(i).string());
235 delete dir;
/frameworks/base/services/core/java/com/android/server/
H A DDropBoxManagerService.java490 * @param dir to store file in
497 public EntryFile(File temp, File dir, String tag,long timestampMillis, argument
504 this.file = new File(dir, Uri.encode(tag) + "@" + timestampMillis +
516 * @param dir to store file in
521 public EntryFile(File dir, String tag, long timestampMillis) throws IOException { argument
525 this.file = new File(dir, Uri.encode(tag) + "@" + timestampMillis + ".lost");
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java4136 private void scanDirLI(File dir, int parseFlags, int scanFlags, long currentTime) { argument
4137 final File[] files = dir.listFiles();
4139 Log.d(TAG, "No files in app dir " + dir);
4144 Log.d(TAG, "Scanning app dir " + dir + " scanFlags=" + scanFlags
5479 // We only do this here for apps not on a system dir, because those
5696 Log.v(TAG, "Want this data dir: " + dataPath);
5867 if (DEBUG_INSTALL) Slog.i(TAG, "Linking native library dir for " + path);
5879 "Failed linking native library dir (use
[all...]
/frameworks/base/services/core/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java229 protected void writeUpdate(File dir, File file, byte[] content) throws IOException { argument
241 tmp = File.createTempFile("journal", "", dir);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java51 public UsageStatsDatabase(File dir) { argument
53 new File(dir, "daily"),
54 new File(dir, "weekly"),
55 new File(dir, "monthly"),
56 new File(dir, "yearly"),
58 mVersionFile = new File(dir, "version");
171 public boolean accept(File dir, String name) {
456 private static void pruneFilesOlderThan(File dir, long expiryTime) { argument
457 File[] files = dir.listFiles();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp85 unsigned char* dir = dirPtr; local
/frameworks/base/native/android/
H A Dasset_manager.cpp42 AAssetDir(AssetDir* dir) : mAssetDir(dir), mCurFileIndex(0) { } argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2025 * @param dir either {@link #DIRECTION_RTL} or {@link #DIRECTION_LTR}
2034 int dir, int offset, int cursorOpt) {
2044 contextStart, contextLength, dir, offset, cursorOpt);
2065 * @param dir either {@link #DIRECTION_RTL} or {@link #DIRECTION_LTR}
2074 int contextEnd, int dir, int offset, int cursorOpt) {
2079 dir, offset, cursorOpt);
2083 contextStart, contextEnd, dir, offset, cursorOpt, this);
2089 int result = getTextRunCursor(buf, 0, contextLen, dir, offset - contextStart, cursorOpt);
2112 * @param dir either {@link #DIRECTION_RTL} or {@link #DIRECTION_LTR}
2121 int dir, in
2033 getTextRunCursor(char[] text, int contextStart, int contextLength, int dir, int offset, int cursorOpt) argument
2073 getTextRunCursor(CharSequence text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2120 getTextRunCursor(String text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2277 native_getTextRunCursor(long native_object, char[] text, int contextStart, int contextLength, int dir, int offset, int cursorOpt) argument
2279 native_getTextRunCursor(long native_object, String text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
[all...]
H A DPath.java499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
501 mLastDirection = dir;
503 if (mLastDirection != dir) {
515 * @param dir The direction to wind the rectangle's contour
517 public void addRect(RectF rect, Direction dir) { argument
518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
528 * @param dir The direction to wind the rectangle's contour
530 public void addRect(float left, float top, float right, float bottom, Direction dir) { argument
531 detectSimplePath(left, top, right, bottom, dir);
532 native_addRect(mNativePath, left, top, right, bottom, dir
541 addOval(RectF oval, Direction dir) argument
550 addOval(float left, float top, float right, float bottom, Direction dir) argument
563 addCircle(float x, float y, float radius, Direction dir) argument
599 addRoundRect(RectF rect, float rx, float ry, Direction dir) argument
610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
625 addRoundRect(RectF rect, float[] radii, Direction dir) argument
640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
812 native_addCircle(long nPath, float x, float y, float radius, int dir) argument
816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
819 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp207 ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
1190 * Pass in "" for the root dir.
1228 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string());
1253 * Pass in "" for the root dir.
1282 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string());
1332 //printf("+++ not found in cache: dir '%s'\n", (const char*) path);
1347 * Pick out the stuff in the current dir by examining the pathname.
1365 /* no longer in the dir or its subdirs */
1440 DIR* dir; local
1444 ALOGV("Scanning dir '
[all...]
/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/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
H A DSelection.java407 private static int findEdge(Spannable text, Layout layout, int dir) { argument
412 if (dir * pdir < 0) {
H A DSpannableStringBuilder.java1246 * @param dir either DIRECTION_RTL or DIRECTION_LTR
1256 public int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, argument
1264 dir, offset, cursorOpt);
1267 dir, offset + mGapLength, cursorOpt) - mGapLength;
1272 dir, offset - contextStart, cursorOpt) + contextStart;
H A DStaticLayout.java242 int dir = measured.mDir;
426 needMultiply, chdirs, dir, easy, bufEnd, includepad, trackpad,
475 needMultiply, chdirs, dir, easy, bufEnd,
513 boolean needMultiply, byte[] chdirs, int dir,
608 lines[off + DIR] |= dir << DIR_SHIFT;
616 mLineDirections[j] = AndroidBidi.directions(dir, chdirs, start - widthStart, chs,
508 out(CharSequence text, int start, int end, int above, int below, int top, int bottom, int v, float spacingmult, float spacingadd, LineHeightSpan[] chooseHt, int[] chooseHtv, Paint.FontMetricsInt fm, boolean hasTabOrEmoji, boolean needMultiply, byte[] chdirs, int dir, boolean easy, int bufEnd, boolean includePad, boolean trackPad, char[] chs, float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, float ellipsisWidth, float textWidth, TextPaint paint, boolean moreChars) argument
H A DTextLine.java129 * @param dir the paragraph direction of this line
134 void set(TextPaint paint, CharSequence text, int start, int limit, int dir, argument
140 mDir = dir;
670 int dir = runIsRtl ? Paint.DIRECTION_RTL : Paint.DIRECTION_LTR;
674 dir, offset, cursorOpt);
677 mStart + spanLimit, dir, mStart + offset, cursorOpt) - mStart;
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java322 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
323 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) {
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) {
/frameworks/base/core/java/android/text/style/
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 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)

Completed in 987 milliseconds

123