/external/skia/gm/ |
xfermodes2.cpp | 95 SkBitmap bg; variable 96 bg.allocN32Pixels(2, 2, true); 97 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); 101 fBG.reset(SkShader::CreateBitmapShader(bg,
|
xfermodes3.cpp | 193 SkBitmap bg; variable 194 bg.allocN32Pixels(2, 2, true); 195 SkAutoLockPixels bgAlp(bg); 196 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); 200 fBGShader.reset(SkShader::CreateBitmapShader(bg,
|
/external/replicaisland/src/com/replica/replicaisland/ |
DrawableFactory.java | 152 TiledBackgroundVertexGrid bg = (TiledBackgroundVertexGrid)entry; local 153 bg.reset();
|
LevelBuilder.java | 156 TiledVertexGrid bg = new TiledVertexGrid(textureLibrary.allocateTexture(tileMapIndex), local 158 bg.setWorld(world); 173 width, height, bg);
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
TreeToNFAConverter.g | 402 StateCluster bg = $b.g; 407 bg = factory.build_AlternativeBlockFromSet(bg); 409 $g = factory.build_Aoptional(bg); 419 StateCluster bg = $b.g; 422 bg = factory.build_AlternativeBlockFromSet(bg); 424 $g = factory.build_Astar(bg); 426 bg.right.setDescription("()* loopback of "+grammar.grammarTreeToString($start, false)); 427 int d = grammar.assignDecisionNumber( bg.right ) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PreviewIconFactory.java | 217 RGB bg = themeColors.getFirst(); local 219 if (bg != null) { 220 storeBackground(imageDir, bg, fg); 221 overrideBgColor = Integer.valueOf(ImageUtils.rgbToInt(bg, 0xFF)); 289 RGB bg = themeColors.getFirst(); local 292 if (bg == null) { 298 bg = ImageUtils.intToRgb(p); 299 if (ImageUtils.getBrightness(ImageUtils.rgbToInt(bg, 255)) < 128) { 305 storeBackground(imageDir, bg, fg); 557 private void storeBackground(File imageDir, RGB bg, RGB fg) [all...] |
IncludeOverlay.java | 70 Color bg = gc.getDevice().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); local 71 gc.setBackground(bg);
|
/external/chromium_org/third_party/skia/gm/ |
xfermodes3.cpp | 193 SkBitmap bg; variable 194 bg.allocN32Pixels(2, 2, true); 195 SkAutoLockPixels bgAlp(bg); 196 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); 200 fBGShader.reset(SkShader::CreateBitmapShader(bg,
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
ColorUtils.java | 31 private static int compositeColors(int fg, int bg) { 33 final float alpha2 = Color.alpha(bg) / 255f; 36 float r = (Color.red(fg) * alpha1) + (Color.red(bg) * alpha2 * (1f - alpha1)); 37 float g = (Color.green(fg) * alpha1) + (Color.green(bg) * alpha2 * (1f - alpha1)); 38 float b = (Color.blue(fg) * alpha1) + (Color.blue(bg) * alpha2 * (1f - alpha1));
|
/external/chromium_org/third_party/skia/dm/ |
DMUtil.cpp | 75 br, bg, bb; local 77 unpack_565(bPixels[i], &br, &bg, &bb); 79 max = SkTMax(max, abs_diff(ag, bg));
|
/external/skia/dm/ |
DMUtil.cpp | 75 br, bg, bb; local 77 unpack_565(bPixels[i], &br, &bg, &bb); 79 max = SkTMax(max, abs_diff(ag, bg));
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleTextBox.cpp | 72 void drawTest(SkCanvas* canvas, SkScalar w, SkScalar h, SkColor fg, SkColor bg) { 76 canvas->drawColor(bg);
|
/external/pixman/demos/ |
srgb-trap-test.c | 84 pixman_color_t bg = { 0x0000, 0x0000, 0x0000, 0xffff }; local 96 src = pixman_image_create_solid_fill (&bg);
|
/external/skia/samplecode/ |
SampleTextBox.cpp | 72 void drawTest(SkCanvas* canvas, SkScalar w, SkScalar h, SkColor fg, SkColor bg) { 76 canvas->drawColor(bg);
|
/external/clang/test/CodeGenCXX/ |
dynamic-cast-hint.cpp | 47 volatile G *bg = dynamic_cast<G *>(b); local
|
/external/fio/ |
graph.h | 70 void graph_free(struct graph *bg);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
Utilities.java | 149 public static float computeContrastBetweenColors(int bg, int fg) { 150 float bgR = Color.red(bg) / 255f; 151 float bgG = Color.green(bg) / 255f; 152 float bgB = Color.blue(bg) / 255f;
|
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 351 unsigned int fr, fg, fb, fa, br, bg, bb, ba; local 352 br = bg = bb = 0; ba = 255; 353 sscanf (view_opts->back + (*view_opts->back=='#'), "%2x%2x%2x%2x", &br, &bg, &bb, &ba); 358 if (!view_opts->annotate && ba == 255 && br == bg && bg == bb && fr == fg && fg == fb) 393 cairo_set_source_rgba (cr, br / 255., bg / 255., bb / 255., ba / 255.);
|
/external/qemu/distrib/ext4_utils/src/ |
ext4_utils.c | 63 /* Returns 1 if the bg contains a backup superblock. On filesystems with 67 int ext4_bg_has_super_block(int bg) 73 if (bg == 0 || bg == 1) 76 if (is_power_of(bg, 3) || is_power_of(bg, 5) || is_power_of(bg, 7))
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSimpleAdapter.java | 340 int bg; local 341 bg = selected ? IS_SELECTED : 0; 342 bg |= (position == 0 && mOrientation == Configuration.ORIENTATION_LANDSCAPE) ? IS_TOP : 0; 343 bg |= position == mData.length - 1 ? IS_BOTTOM : 0; 344 bg |= (position > 0 && mData[position - 1].selected) ? IS_BELOW_SELECTED : 0; 345 return mRes.getDrawable(TabletCalendarItemBackgrounds.getBackgrounds()[bg]);
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
pkcs12.h | 157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) 158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
pkcs12.h | 157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) 158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
|
/external/openssl/crypto/pkcs12/ |
pkcs12.h | 157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) 158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
|
/external/openssl/include/openssl/ |
pkcs12.h | 157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) 158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
SearchDropTargetBar.java | 210 Drawable bg = mQSBSearchBar.getBackground(); local 211 if (bg != null && (!searchVisible && !voiceVisible)) { 213 mPreviousBackground = bg;
|