/development/ndk/platforms/android-3/include/linux/ |
D | rbtree.h | 32 #define rb_parent(r) ((struct rb_node *)((r)->rb_parent_color & ~3)) argument 33 #define rb_color(r) ((r)->rb_parent_color & 1) argument 34 #define rb_is_red(r) (!rb_color(r)) argument 35 #define rb_is_black(r) rb_color(r) argument 36 #define rb_set_red(r) do { (r)->rb_parent_color &= ~1; } while (0) argument 37 #define rb_set_black(r) do { (r)->rb_parent_color |= 1; } while (0) argument
|
D | rtnetlink.h | 224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) argument 360 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) argument 386 #define NDA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg)))) argument 480 #define NDTA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg)))) argument 599 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) argument 649 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) argument 718 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg)))) argument
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | RoundRects.java | 68 float r = 16; in onDraw() local 73 setCornerRadii(mDrawable, r, r, 0, 0); in onDraw() 80 setCornerRadii(mDrawable, 0, 0, r, r); in onDraw() 89 setCornerRadii(mDrawable, 0, r, r, 0); in onDraw() 96 setCornerRadii(mDrawable, r, 0, 0, r); in onDraw() 105 setCornerRadii(mDrawable, r, 0, r, 0); in onDraw() 112 setCornerRadii(mDrawable, 0, r, 0, r); in onDraw()
|
D | BitmapPixels.java | 59 private static int pack8888(int r, int g, int b, int a) { in pack8888() argument 60 return (r << 0) | ( g << 8) | (b << 16) | (a << 24); in pack8888() 63 private static short pack565(int r, int g, int b) { in pack565() argument 64 return (short)((r << 11) | ( g << 5) | (b << 0)); in pack565() 67 private static short pack4444(int r, int g, int b, int a) { in pack4444() argument 68 return (short)((a << 0) | ( b << 4) | (g << 8) | (r << 12)); in pack4444() 80 int r = Color.red(c); in premultiplyColor() local 85 r = mul255(r, a); in premultiplyColor() 89 return pack8888(r, g, b, a); in premultiplyColor() 95 int r = getR32(from) << 23; in makeRamp() local [all …]
|
D | Regions.java | 75 Rect r = new Rect(); in drawRgn() local 79 while (iter.next(r)) { in drawRgn() 80 canvas.drawRect(r, mPaint); in drawRgn() 85 private static void drawCentered(Canvas c, Rect r, Paint p) { in drawCentered() argument 90 c.drawRect(r.left + inset, r.top + inset, in drawCentered() 91 r.right - inset, r.bottom - inset, p); in drawCentered()
|
D | ColorFilters.java | 50 Rect r = prev.getBounds(); in addToTheRight() local 51 int x = r.right + 12; in addToTheRight() 52 int center = (r.top + r.bottom) >> 1; in addToTheRight() 129 Rect r = mDrawable.getBounds(); in drawSample() local 130 float x = (r.left + r.right) * 0.5f; in drawSample() 131 float y = (r.top + r.bottom) * 0.5f - mPaintTextOffset; in drawSample()
|
D | ColorPickerDialog.java | 65 float r = CENTER_X - mPaint.getStrokeWidth()*0.5f; in onDraw() local 69 canvas.drawOval(new RectF(-r, -r, r, r), mPaint); in onDraw() 132 int r = ave(Color.red(c0), Color.red(c1), p); in interpColor() local 136 return Color.argb(a, r, g, b); in interpColor() 141 int r = Color.red(color); in rotateColor() local 156 int ir = floatToByte(a[0] * r + a[1] * g + a[2] * b); in rotateColor() 157 int ig = floatToByte(a[5] * r + a[6] * g + a[7] * b); in rotateColor() 158 int ib = floatToByte(a[10] * r + a[11] * g + a[12] * b); in rotateColor()
|
D | PurgeableBitmapView.java | 71 int r = x * 255 / (WIDTH - 1); in createColors() local 73 int b = 255 - Math.min(r, g); in createColors() 74 int a = Math.max(r, g); in createColors() 75 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
|
D | MeasureText.java | 44 int r = x * 255 / (WIDTH - 1); in createColors() local 46 int b = 255 - Math.min(r, g); in createColors() 47 int a = Math.max(r, g); in createColors() 48 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
|
D | CreateBitmap.java | 46 int r = x * 255 / (WIDTH - 1); in createColors() local 48 int b = 255 - Math.min(r, g); in createColors() 49 int a = Math.max(r, g); in createColors() 50 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
|
/development/ide/xcode/ports/ |
D | SkBitmap_Mac.cpp | 31 unsigned r = SkPacked16ToR32(c); in convert565_to_32() local 35 *dst++ = (b << 24) | (g << 16) | (r << 8) | 0xFF; in convert565_to_32() 48 unsigned r = SkGetPackedR4444(c); in convert4444_to_555() local 52 r = (r << 1) | (r >> 3); in convert4444_to_555() 56 c = (r << 10) | (g << 5) | b; in convert4444_to_555()
|
D | SkOSWindow_Mac.cpp | 76 Rect r; in updateSize() local 78 GetWindowBounds((WindowRef)fHWND, kWindowContentRgn, &r); in updateSize() 79 this->resize(r.right - r.left, r.bottom - r.top); in updateSize() 82 void SkOSWindow::onHandleInval(const SkIRect& r) in onHandleInval() argument 86 rect.left = r.fLeft; in onHandleInval() 87 rect.top = r.fTop; in onHandleInval() 88 rect.right = r.fRight; in onHandleInval() 89 rect.bottom = r.fBottom; in onHandleInval()
|
/development/ndk/platforms/android-3/include/asm-generic/ |
D | pgtable.h | 30 …_ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__addr… 38 …_ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__addre…
|
/development/testrunner/ |
D | am_instrument_parser.py | 43 re_status_code = re.compile(r'INSTRUMENTATION_STATUS_CODE: (?P<status_code>-?\d)$') 83 re_result = re.compile(r'INSTRUMENTATION_RESULT: ([^=]+)=(.*)$') 84 re_code = re.compile(r'INSTRUMENTATION_CODE: (\-?\d)$') 140 re_status_code = re.search(r'INSTRUMENTATION_STATUS_CODE: ' 142 re_fields = re.compile(r'INSTRUMENTATION_STATUS: '
|
/development/tools/yuv420sp2rgb/ |
D | yuv420sp2rgb.c | 43 unsigned char r, 120 unsigned char r, in rgb16_cb() argument 126 *(rgb16 + ctx->i * ctx->width + ctx->j) = b | (g << 5) | (r << 11); in rgb16_cb() 130 unsigned char r, in common_rgb_cb() argument 168 out[i++] = r; in common_rgb_cb() 174 unsigned char r, in rgb24_cb() argument 179 return common_rgb_cb(r,g,b,ctx,0); in rgb24_cb() 183 unsigned char r, in argb_cb() argument 188 return common_rgb_cb(r,g,b,ctx,1); in argb_cb()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | CandidateView.java | 83 Resources r = context.getResources(); in CandidateView() local 85 setBackgroundColor(r.getColor(R.color.candidate_background)); in CandidateView() 87 mColorNormal = r.getColor(R.color.candidate_normal); in CandidateView() 88 mColorRecommended = r.getColor(R.color.candidate_recommended); in CandidateView() 89 mColorOther = r.getColor(R.color.candidate_other); in CandidateView() 90 mVerticalPadding = r.getDimensionPixelSize(R.dimen.candidate_vertical_padding); in CandidateView() 95 mPaint.setTextSize(r.getDimensionPixelSize(R.dimen.candidate_font_height)); in CandidateView()
|
/development/samples/BrowserPlugin/jni/animation/ |
D | AnimationPlugin.cpp | 46 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument 50 inval.left = rnd16(r.left, inset); in inval() 51 inval.top = rnd16(r.top, inset); in inval() 52 inval.right = rnd16(r.right, -inset); in inval() 53 inval.bottom = rnd16(r.bottom, -inset); in inval()
|
/development/samples/BrowserPlugin/jni/navigation/ |
D | NavigationPlugin.cpp | 54 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument 59 inval.left = rnd16(r.left, inset); in inval() 60 inval.top = rnd16(r.top, inset); in inval() 61 inval.right = rnd16(r.right, -inset); in inval() 62 inval.bottom = rnd16(r.bottom, -inset); in inval()
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
D | FixedGridLayout.java | 86 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument 89 int columns = (r - l) / cellWidth; in onLayout()
|
/development/simulator/wrapsim/ |
D | DevFb.c | 119 int l,t,r,b,w,h; in sendPixelsToSim() local 131 r = dirty.right <=w ? dirty.right : w; in sendPixelsToSim() 135 r = w; in sendPixelsToSim() 147 for (x = l; x < r; x++) { in sendPixelsToSim()
|
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
D | GL2JNIView.java | 135 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument 136 mRedSize = r; in ConfigChooser() 197 int r = findConfigAttrib(egl, display, config, in chooseConfig() local 206 if (r == mRedSize && g == mGreenSize && b == mBlueSize && a == mAlphaSize) in chooseConfig()
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
D | DeviceTestRunner.java | 101 TestResult r = aTestRunner.start(args); in main() local 102 if (!r.wasSuccessful()) in main()
|
/development/samples/BrowserPlugin/jni/form/ |
D | FormPlugin.cpp | 54 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument 59 inval.left = rnd16(r.left, inset); in inval() 60 inval.top = rnd16(r.top, inset); in inval() 61 inval.right = rnd16(r.right, -inset); in inval() 62 inval.bottom = rnd16(r.bottom, -inset); in inval()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NoteEditor.java | 95 Rect r = mRect; in onDraw() local 99 int baseline = getLineBounds(i, r); in onDraw() 101 canvas.drawLine(r.left, baseline + 1, r.right, baseline + 1, paint); in onDraw()
|
/development/samples/BrowserPlugin/jni/audio/ |
D | AudioPlugin.cpp | 55 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument 60 inval.left = rnd16(r.left, inset); in inval() 61 inval.top = rnd16(r.top, inset); in inval() 62 inval.right = rnd16(r.right, -inset); in inval() 63 inval.bottom = rnd16(r.bottom, -inset); in inval()
|