/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | FsUtils.java | 20 String dir) throws IOException { 21 Log.v(LOGTAG, "Searching tests under " + dir); 23 File d = new File(dir); 25 throw new AssertionError("A directory expected, but got " + dir); 30 String s = dir + "/" + files[i]; 19 findLayoutTestsRecursively(BufferedOutputStream bos, String dir) argument
|
/frameworks/base/core/java/android/text/ |
H A D | Styled.java | 34 int dir, boolean reverse, 94 if (dir == Layout.DIR_RIGHT_TO_LEFT) 103 if (dir == Layout.DIR_RIGHT_TO_LEFT) { 132 if (dir == Layout.DIR_RIGHT_TO_LEFT) 141 if (dir == Layout.DIR_RIGHT_TO_LEFT) 199 int dir, boolean reverse, 230 return ret * dir; //Layout.DIR_RIGHT_TO_LEFT == -1 249 x += each(canvas, sp, i, next, dir, reverse, 32 each(Canvas canvas, Spanned text, int start, int end, int dir, boolean reverse, float x, int top, int y, int bottom, Paint.FontMetricsInt fmi, TextPaint paint, TextPaint workPaint, boolean needwid) argument 197 foreach(Canvas canvas, CharSequence text, int start, int end, int dir, boolean reverse, float x, int top, int y, int bottom, Paint.FontMetricsInt fmi, TextPaint paint, TextPaint workPaint, boolean needWidth) argument
|
H A D | Selection.java | 360 private static int findEdge(Spannable text, Layout layout, int dir) { argument 365 if (dir * pdir < 0) {
|
H A D | StaticLayout.java | 222 int dir = DEFAULT_DIR; // XXX 242 dir = DIR_LEFT_TO_RIGHT; 246 dir = DIR_RIGHT_TO_LEFT; 259 final byte SOR = dir == DIR_LEFT_TO_RIGHT ? 660 needMultiply, start, chdirs, dir, easy, 696 needMultiply, start, chdirs, dir, easy, 712 needMultiply, start, chdirs, dir, easy, 732 needMultiply, start, chdirs, dir, easy, 776 needMultiply, start, chdirs, dir, easy, 939 int dir, boolea 933 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 tab, boolean needMultiply, int pstart, byte[] chdirs, int dir, boolean easy, boolean last, boolean includepad, boolean trackpad, float[] widths, int widstart, int widoff, TextUtils.TruncateAt ellipsize, float ellipsiswidth, float textwidth, TextPaint paint) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 283 public void onTakeFocus(TextView view, Spannable text, int dir) { argument 284 if ((dir & (View.FOCUS_FORWARD | View.FOCUS_DOWN)) != 0) {
|
H A D | LinkMovementMethod.java | 237 public void onTakeFocus(TextView view, Spannable text, int dir) { argument 240 if ((dir & View.FOCUS_BACKWARD) != 0) {
|
H A D | ScrollingMovementMethod.java | 214 public void onTakeFocus(TextView widget, Spannable text, int dir) { argument 217 if (layout != null && (dir & View.FOCUS_FORWARD) != 0) { 221 if (layout != null && (dir & View.FOCUS_BACKWARD) != 0) {
|
/frameworks/base/core/java/android/text/style/ |
H A D | DrawableMarginSpan.java | 42 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument 53 if (dir < 0)
|
H A D | IconMarginSpan.java | 42 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument 49 if (dir < 0)
|
H A D | BulletSpan.java | 77 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, argument 92 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f,
|
H A D | LeadingMarginSpan.java | 31 int x, int dir, 71 int x, int dir, 30 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 70 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 D | QuoteSpan.java | 66 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/jni/ |
H A D | android_text_AndroidCharacter.cpp | 56 int dir = android::Unicode::getDirectionality(c); local 58 dest[i++] = dir; 59 dest[i] = dir; 62 int dir = android::Unicode::getDirectionality(c); local 64 dest[i] = dir;
|
/frameworks/base/cmds/dumpstate/ |
H A D | utils.c | 61 DIR* dir; local 65 dir = opendir(path); 66 if (!dir) { 71 while ((entry = readdir(dir))) { 79 closedir(dir);
|
/frameworks/base/cmds/keystore/ |
H A D | keymgmt.c | 309 LOGE("cannot open keystore dir or namespace is null\n"); 392 LOGE("cannot open keystore dir\n"); 408 int init_keystore(const char *dir) argument 412 if (dir) mkdir(dir, 0770); 413 if (!dir || chdir(dir)) { 415 dir ? dir : "(null)");
|
/frameworks/base/cmds/runtime/ |
H A D | main_runtime.cpp | 242 static int hasDir(const char* dir) argument 245 int res = stat(dir, &s); 442 // Change to asset dir. This is only necessary if we've changed to 445 // Expecting assets to live in the current dir is not a great idea, 449 LOGW("WARNING: could not change dir to '%s': %s\n",
|
/frameworks/base/libs/utils/ |
H A D | Debug.cpp | 239 const ssize_t dir = -1; local 242 const ssize_t dir = 1; 253 const unsigned char val = *(pos+startIndex+(index*dir)); 270 const unsigned char val = *(pos+startIndex+(index*dir));
|
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 35 const sp<AaptDir>& dir, const AaptGroupEntry& ge); 219 const sp<AaptDir>& dir, const AaptGroupEntry& ge) 223 const size_t ND = dir->getDirs().size(); 226 ssize_t res = processAssets(bundle, zip, dir->getDirs().valueAt(i), ge); 233 const size_t NF = dir->getFiles().size(); 235 sp<AaptGroup> gp = dir->getFiles().valueAt(i); 218 processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir, const AaptGroupEntry& ge) argument
|
H A D | Bundle.h | 87 void setAssetSourceDir(const char* dir) { mAssetSourceDir = dir; } argument 89 void addResourceSourceDir(const char* dir) { mResourceSourceDirs.insertAt(dir,0); } argument 95 void setRClassDir(const char* dir) { mRClassDir = dir; } argument 99 void setResourceIntermediatesDir(const char* dir) { mResourceIntermediatesDir = dir; } argument
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_file.c | 136 DIR *dir = NULL; local 153 dir = opendir(path); 154 if (dir == NULL) 159 while ((ent = readdir(dir)) != NULL ) 202 closedir(dir); 235 DIR *dir; local 257 dir = opendir(tmpPathBuf1); 259 if (dir == NULL) 265 Trace("DRM_file_listOpen: dir %s, filter %s", tmpPathBuf1, sep+1); 266 *session = (int32_t)dir; [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 160 static void addRect__RectFI(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect, SkPath::Direction dir) { argument 163 obj->addRect(rect_, dir); 166 static void addRect__FFFFI(JNIEnv* env, jobject clazz, SkPath* obj, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPath::Direction dir) { argument 171 obj->addRect(left_, top_, right_, bottom_, dir); 174 static void addOval(JNIEnv* env, jobject clazz, SkPath* obj, jobject oval, SkPath::Direction dir) { argument 177 obj->addOval(oval_, dir); 180 static void addCircle(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x, jfloat y, jfloat radius, SkPath::Direction dir) { argument 184 obj->addCircle(x_, y_, radius_, dir); 196 jfloat rx, jfloat ry, SkPath::Direction dir) { 201 obj->addRoundRect(rect_, rx_, ry_, dir); 195 addRoundRectXY(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect, jfloat rx, jfloat ry, SkPath::Direction dir) argument 204 addRoundRect8(JNIEnv* env, jobject, SkPath* obj, jobject rect, jfloatArray array, SkPath::Direction dir) argument [all...] |
/frameworks/base/libs/ui/ |
H A D | EventHub.cpp | 401 LOGE("scan dir failed for %s\n", device_path); 774 DIR *dir; local 776 dir = opendir(dirname); 777 if(dir == NULL) 782 while((de = readdir(dir))) { 790 closedir(dir);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | UsageStatsService.java | 216 UsageStatsService(String dir) { argument 220 mDir = new File(dir);
|
/frameworks/base/tools/aidl/ |
H A D | generate_java.cpp | 498 int dir = convert_direction(arg->direction.data); local 499 if (dir == OUT_PARAMETER && arg->type.dimension != 0) { 509 else if (dir & IN_PARAMETER) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path.java | 397 * @param dir The direction to wind the rectangle's contour 399 public void addRect(RectF rect, Direction dir) { argument 404 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 414 * @param dir The direction to wind the rectangle's contour 417 Direction dir) { 420 switch (dir) { 440 * @param dir The direction to wind the oval's contour 442 public void addOval(RectF oval, Direction dir) { argument 459 * @param dir The direction to wind the circle's contour 461 public void addCircle(float x, float y, float radius, Direction dir) { argument 416 addRect(float left, float top, float right, float bottom, Direction dir) argument 489 addRoundRect(RectF rect, float rx, float ry, Direction dir) argument 506 addRoundRect(RectF rect, float[] radii, Direction dir) argument [all...] |