/development/ndk/platforms/android-3/include/sys/ |
D | time.h | 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 66 #define timersub(a, b, res) \ argument 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|
/development/tools/emulator/system/camera/ |
D | EmulatedCameraCommon.h | 57 #define min(a,b) (((a) < (b)) ? (a) : (b)) argument 58 #define max(a,b) (((a) > (b)) ? (a) : (b)) argument
|
D | Converters.h | 94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r) argument 96 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(b) << 8) | g) << 8) | r) argument 111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b) argument 113 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(r) << 8) | g) << 8) | b) argument 122 uint8_t r; uint8_t g; uint8_t b; uint8_t a; member 124 uint8_t a; uint8_t b; uint8_t g; uint8_t r; 147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) argument 148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) argument 149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) argument 153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV() argument [all …]
|
D | EmulatedFakeCamera2.cpp | 808 StreamBuffer b; in setupCapture() local 809 b.streamId = streams.data.u8[i]; in setupCapture() 810 b.width = s.width; in setupCapture() 811 b.height = s.height; in setupCapture() 812 b.format = s.format; in setupCapture() 813 b.stride = s.stride; in setupCapture() 814 mNextBuffers->push_back(b); in setupCapture() 817 i, b.streamId, b.width, b.height, b.format, b.stride); in setupCapture() 818 if (b.format == HAL_PIXEL_FORMAT_BLOB) { in setupCapture() 938 StreamBuffer b; in setupReprocess() local [all …]
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | LevelsDalvikActivity.java | 170 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap() local 171 Bitmap b2 = Bitmap.createBitmap(b.getWidth(), b.getHeight(), b.getConfig()); in loadBitmap() 173 c.drawBitmap(b, 0, 0, null); in loadBitmap() 174 b.recycle(); in loadBitmap() 186 float b = (float)((mInPixels[i] >> 16) & 0xff); in filter() local 188 float tr = r * m[0] + g * m[3] + b * m[6]; in filter() 189 float tg = r * m[1] + g * m[4] + b * m[7]; in filter() 190 float tb = r * m[2] + g * m[5] + b * m[8]; in filter() 193 b = tb; in filter() 199 if (b < 0.f) b = 0.f; in filter() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapPixels.java | 53 private static int pack8888(int r, int g, int b, int a) { in pack8888() argument 54 return (r << 0) | ( g << 8) | (b << 16) | (a << 24); in pack8888() 57 private static short pack565(int r, int g, int b) { in pack565() argument 58 return (short)((r << 11) | ( g << 5) | (b << 0)); in pack565() 61 private static short pack4444(int r, int g, int b, int a) { in pack4444() argument 62 return (short)((a << 0) | ( b << 4) | (g << 8) | (r << 12)); in pack4444() 76 int b = Color.blue(c); in premultiplyColor() local 81 b = mul255(b, a); in premultiplyColor() 83 return pack8888(r, g, b, a); in premultiplyColor() 91 int b = getB32(from) << 23; in makeRamp() local [all …]
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | byteorder.h | 40 struct { __u32 a,b; } s; in ___arch__swab64() member 46 v.s.b = ___arch__swab32(v.s.b); in ___arch__swab64() 47 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); in ___arch__swab64()
|
D | desc_32.h | 64 #define write_ldt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument 65 #define write_gdt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument 66 #define write_idt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument
|
D | div64.h | 24 #define div_long_long_rem(a,b,c) div_ll_X_l_rem(a,b,c) argument
|
D | alternative_32.h | 40 #define ASM_OUTPUT2(a, b) a, b argument
|
/development/ndk/platforms/android-3/include/linux/ |
D | jiffies.h | 64 #define time_after(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((long… argument 65 #define time_before(a,b) time_after(b,a) argument 66 #define time_after_eq(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((l… argument 67 #define time_before_eq(a,b) time_after_eq(b,a) argument
|
D | version.h | 13 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) argument
|
D | if_ppp.h | 66 struct ifreq b; member 71 struct ifreq b; member 75 #define ifr__name b.ifr_ifrn.ifrn_name 76 #define stats_ptr b.ifr_ifru.ifru_data
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 355 Bundle b = new Bundle(); 358 b.putParcelable("gv_super_state", s); 360 b.putBoolean("gv_en", isEnabled()); 366 b.putIntArray("gv_data", data); 368 b.putInt("gv_sel_cell", mSelectedCell); 369 b.putInt("gv_sel_val", mSelectedValue.getValue()); 370 b.putInt("gv_curr_play", mCurrentPlayer.getValue()); 371 b.putInt("gv_winner", mWinner.getValue()); 373 b.putInt("gv_win_col", mWinCol); 374 b.putInt("gv_win_row", mWinRow); [all …]
|
/development/tools/yuv420sp2rgb/ |
D | debug.c | 7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) { in dump_hex_buffer() argument 10 char *pchr = (char *)b; in dump_hex_buffer() 12 fprintf(s, "%p: ", b); in dump_hex_buffer() 31 fprintf(s, " (%d)\n%p: ", i, b); in dump_hex_buffer()
|
D | yuv420sp2rgb.c | 13 #define max(a,b) ({typeof(a) _a = (a); typeof(b) _b = (b); _a > _b ? _a : _b; }) argument 14 #define min(a,b) ({typeof(a) _a = (a); typeof(b) _b = (b); _a < _b ? _a : _b; }) argument 45 unsigned char b, 122 unsigned char b, in rgb16_cb() argument 126 *(rgb16 + ctx->i * ctx->width + ctx->j) = b | (g << 5) | (r << 11); in rgb16_cb() 132 unsigned char b, in common_rgb_cb() argument 170 out[i] = b; in common_rgb_cb() 176 unsigned char b, in rgb24_cb() argument 179 return common_rgb_cb(r,g,b,ctx,0); in rgb24_cb() 185 unsigned char b, in argb_cb() argument [all …]
|
/development/tools/recovery_l10n/src/com/android/recovery_l10n/ |
D | Main.java | 93 Bitmap b = mText.getDrawingCache(); in run() local 94 savedBitmaps.put(thisLocale, b.copy(Bitmap.Config.ARGB_8888, false)); in run() 162 Button b = (Button) findViewById(R.id.go); in onCreate() local 163 b.setOnClickListener(new View.OnClickListener() { in onCreate() 189 private void saveBitmap(Bitmap b, String filename) { 192 b.compress(Bitmap.CompressFormat.PNG, 100, fos); 199 private int colorFor(byte b) { 200 return 0xff000000 | (b<<16) | (b<<8) | b; 203 private int colorFor(int b) { 204 return 0xff000000 | (b<<16) | (b<<8) | b; [all …]
|
/development/tools/emulator/system/camera/fake-pipeline2/ |
D | Sensor.cpp | 299 const StreamBuffer &b = (*mNextCapturedBuffers)[i]; in threadLoop() local 302 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop() 303 b.buffer, b.img); in threadLoop() 304 switch(b.format) { in threadLoop() 306 captureRaw(b.img, gain, b.stride); in threadLoop() 309 captureRGB(b.img, gain, b.stride); in threadLoop() 312 captureRGBA(b.img, gain, b.stride); in threadLoop() 320 bAux.width = b.width; in threadLoop() 321 bAux.height = b.height; in threadLoop() 323 bAux.stride = b.width; in threadLoop() [all …]
|
/development/ide/xcode/ports/ |
D | SkBitmap_Mac.cpp | 33 unsigned b = SkPacked16ToB32(c); in convert565_to_32() local 35 *dst++ = (b << 24) | (g << 16) | (r << 8) | 0xFF; in convert565_to_32() 50 unsigned b = SkGetPackedB4444(c); in convert4444_to_555() local 54 b = (b << 1) | (b >> 3); in convert4444_to_555() 56 c = (r << 10) | (g << 5) | b; in convert4444_to_555()
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
D | x_tables.h | 105 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) argument 106 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) argument
|
/development/cmds/monkey/ |
D | example_script.txt | 29 key down b 30 key up b 43 key down b 44 key up b
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | SharingSupport.java | 49 protected void onCreate(Bundle b) { in onCreate() argument 50 super.onCreate(b); in onCreate() 56 ShareCompat.IntentBuilder b = ShareCompat.IntentBuilder.from(this); in onCreateOptionsMenu() local 57 b.setType("text/plain").setText("Share from menu"); in onCreateOptionsMenu() 59 ShareCompat.configureMenuItem(item, b); in onCreateOptionsMenu()
|
/development/ide/xcode/jpeg.xcodeproj/ |
D | project.pbxproj | 64 …nownFileType = sourcecode.c.h; name = jerror.h; path = "../../extlibs/jpeg-6b/jerror.h"; sourceTre… 66 …ownFileType = sourcecode.c.h; name = jconfig.h; path = "../../extlibs/jpeg-6b/jconfig.h"; sourceTr… 67 …ownFileType = sourcecode.c.h; name = jpeglib.h; path = "../../extlibs/jpeg-6b/jpeglib.h"; sourceTr… 68 …wnFileType = sourcecode.c.c; name = jcapimin.c; path = "../../extlibs/jpeg-6b/jcapimin.c"; sourceT… 69 …wnFileType = sourcecode.c.c; name = jcapistd.c; path = "../../extlibs/jpeg-6b/jcapistd.c"; sourceT… 70 …wnFileType = sourcecode.c.c; name = jccoefct.c; path = "../../extlibs/jpeg-6b/jccoefct.c"; sourceT… 71 …ownFileType = sourcecode.c.c; name = jccolor.c; path = "../../extlibs/jpeg-6b/jccolor.c"; sourceTr… 72 …wnFileType = sourcecode.c.c; name = jcdctmgr.c; path = "../../extlibs/jpeg-6b/jcdctmgr.c"; sourceT… 73 …nownFileType = sourcecode.c.c; name = jchuff.c; path = "../../extlibs/jpeg-6b/jchuff.c"; sourceTre… 74 …nownFileType = sourcecode.c.c; name = jcinit.c; path = "../../extlibs/jpeg-6b/jcinit.c"; sourceTre… [all …]
|
/development/samples/SimpleJNI/jni/ |
D | native.cpp | 25 add(JNIEnv *env, jobject thiz, jint a, jint b) { in add() argument 26 int result = a + b; in add() 27 ALOGI("%d + %d = %d", a, b, result); in add()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentArguments.java | 62 Bundle b = new Bundle(); in newInstance() local 63 b.putCharSequence("label", label); in newInstance() 64 f.setArguments(b); in newInstance()
|