/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
libslang.h | 19 #define sltt_set_color(obj, name, fg, bg) \ 20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
|
browser.c | 476 const char *name, *fg, *bg; member in struct:ui_browser_colorset 483 .bg = "default", 489 .bg = "default", 495 .bg = "default", 501 .bg = "lightgray", 507 .bg = "default", 513 .bg = "default", 519 .bg = "blue", 530 char *fg = NULL, *bg; local 547 bg = strchr(fg, ',') [all...] |
/external/qemu/distrib/ext4_utils/src/ |
allocate.h | 39 u32 get_free_blocks(u32 bg); 40 u32 get_free_inodes(u32 bg); 41 u32 reserve_inodes(int bg, u32 inodes); 43 u16 get_directories(int bg); 44 u16 get_bg_flags(int bg); 54 u32 block, u32 len, int bg);
|
allocate.c | 40 int bg; member in struct:region 140 reg->bg * info.blocks_per_group + reg->block, 141 reg->bg * info.blocks_per_group + reg->block + reg->len - 1, 163 reg->bg = bg_num; 169 static void allocate_bg_inode_table(struct block_group_info *bg) 171 if (bg->inode_table != NULL) 174 u32 block = bg->first_block + 2; 176 if (bg->has_superblock) 179 bg->inode_table = calloc(aux_info.inode_table_blocks, info.block_size); 180 if (bg->inode_table == NULL 349 struct block_group_info *bg = &aux_info.bgs[bg_num]; local 660 int bg = inode \/ info.inodes_per_group; local 723 unsigned int bg; local 744 int bg = (inode - 1) \/ info.inodes_per_group; local [all...] |
/system/extras/ext4_utils/ |
allocate.c | 28 int bg; member in struct:region 164 reg->bg = bg_num; 170 static void allocate_bg_inode_table(struct block_group_info *bg) 172 if (bg->inode_table != NULL) 175 u32 block = bg->first_block + 2; 177 if (bg->has_superblock) 180 bg->inode_table = calloc(aux_info.inode_table_blocks, info.block_size); 181 if (bg->inode_table == NULL) 184 sparse_file_add_data(ext4_sparse_file, bg->inode_table, 187 bg->flags &= ~EXT4_BG_INODE_UNINIT 350 struct block_group_info *bg = &aux_info.bgs[bg_num]; local 661 int bg = inode \/ info.inodes_per_group; local 724 unsigned int bg; local 745 int bg = (inode - 1) \/ info.inodes_per_group; local [all...] |
allocate.h | 54 u32 get_free_blocks(u32 bg); 55 u32 get_free_inodes(u32 bg); 56 u32 reserve_inodes(int bg, u32 inodes); 58 u16 get_directories(int bg); 59 u16 get_bg_flags(int bg); 69 u32 block, u32 len, int bg);
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
VerticalGridActivity.java | 28 getWindow().setBackgroundDrawableResource(R.drawable.bg);
|
/external/clang/test/CodeGenCXX/ |
2007-04-10-PackedUnion.cpp | 21 XYZ bg; member in union:ABCU
|
static-init-3.cpp | 27 X2< B > bg = X1< X2< B > >::get(); variable
|
/external/qemu/ui/ |
vnchextile.h | 21 pixel_t bg = 0; local 35 bg = irow[i]; 39 if (irow[i] != bg) { 45 if (irow[i] != bg && irow[i] != fg) { 48 if (irow[i] == bg) 65 fg = bg; 66 bg = tmp; 69 if (!*has_bg || *last_bg != bg) { 72 *last_bg = bg; 116 if (!*has_bg || *last_bg != bg) [all...] |
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
SubActivity.java | 50 View bg = findViewById(R.id.bg_container); local 51 bg.setAlpha(0f); 52 bg.animate().alpha(1f).setDuration(MainActivity.DURATION);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContainer.java | 58 final Drawable bg = VersionUtils.isAtLeastL() local 61 setBackgroundDrawable(bg); 87 public void setPrimaryBackground(Drawable bg) { 92 mBackground = bg; 93 if (bg != null) { 94 bg.setCallback(this); 105 public void setStackedBackground(Drawable bg) { 110 mStackedBackground = bg; 111 if (bg != null) { 112 bg.setCallback(this) [all...] |
/external/harfbuzz_ng/util/ |
ansi-print.cc | 160 bg (0), fg (0), unicolor (true), 175 bg = 0; 177 if (freq[bg] < freq[i]) 178 bg = i; 181 if (i != bg && freq[fg] < freq[i]) 183 if (fg == bg || freq[fg] == 0) { 184 fg = bg; 197 color_t bgc = color_t::from_ansi (bg); 216 unsigned int bg; 396 if (last_bg != bi.bg) { [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testpalette.c | 74 SDL_Surface *bg = SDL_CreateRGBSurface(SDL_SWSURFACE, screen->w, screen->h, local 76 if(!bg) 81 SDL_SetColors(bg, screen->format->palette->colors, 0, 256); 84 if(SDL_LockSurface(bg) < 0) 87 Uint8 *p = (Uint8 *)bg->pixels + i * bg->pitch; 94 v += p[-bg->pitch] + 65 - startcol; 99 SDL_UnlockSurface(bg); 100 return(bg); 135 SDL_Surface *bg; local [all...] |
/external/fio/ |
graph.c | 237 static void draw_bars(struct graph *bg, cairo_t *cr, struct graph_label *lb, 247 range = (double) bg->ydim * 0.80; /* FIXME */ 256 y2 = bg->ydim * 0.90; 436 void bar_graph_draw(struct graph *bg, cairo_t *cr) 446 cairo_translate(cr, bg->xoffset, bg->yoffset); 447 graph_draw_common(bg, cr, &x1, &y1, &x2, &y2); 449 nlabels = count_labels(bg); 456 mindata = find_min_data(bg); 460 maxdata = find_max_data(bg); [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
native_theme_gtk2.cc | 210 return GetWindowStyle()->bg[GTK_STATE_NORMAL]; 214 return GetWindowStyle()->bg[GTK_STATE_NORMAL]; 218 return GetEntryStyle()->bg[GTK_STATE_SELECTED]; 231 return GetMenuItemStyle()->bg[GTK_STATE_SELECTED]; 233 return GetMenuItemStyle()->bg[GTK_STATE_PRELIGHT]; 235 return GetEntryStyle()->bg[GTK_STATE_NORMAL]; 244 return GetMenuStyle()->bg[GTK_STATE_NORMAL]; 252 return GetWindowStyle()->bg[GTK_STATE_NORMAL]; 256 return GetButtonStyle()->bg[GTK_STATE_NORMAL]; 266 return GetButtonStyle()->bg[GTK_STATE_PRELIGHT] [all...] |
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 152 #define alpha_composite(composite, fg, alpha, bg) { \ 154 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \ 250 } bg[] = { variable in typeref:struct:background_pattern 269 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern); 459 "Usage: %s [-display xdpy] [-gamma exp] [-bgcolor bg | -bgpat pat]\n" 470 " bg \tdesired background color in 7-character hex RGB format\n" [all...] |
rpng2-win.c | 155 #define alpha_composite(composite, fg, alpha, bg) { \ 157 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \ 240 } bg[] = { variable in typeref:struct:background_pattern 258 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern); 449 "Usage: %s [-gamma exp] [-bgcolor bg | -bgpat pat] [-timing]\n" 455 " bg \tdesired background color in 7-character hex RGB format\n" 839 int invert_gradient2 = (bg[pat].type & 0x08); 862 if ((bg[pat].type & 0x07) == 0) { 863 uch r1_min = rgb[bg[pat].rgb1_min].r; 864 uch g1_min = rgb[bg[pat].rgb1_min].g [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
color.c | 55 int bg = -2; local 62 /* [fg [bg]] [attr] */ 84 if (bg == -2) { 85 bg = val; 96 if (attr >= 0 || fg >= 0 || bg >= 0) { 115 if (bg >= 0) { 118 if (bg < 8) { 120 *dst++ = '0' + bg; 122 dst += sprintf(dst, "48;5;%d", bg);
|
/external/llvm/include/llvm/Support/ |
Process.h | 253 static const char *OutputColor(char c, bool bold, bool bg); 256 static const char *OutputBold(bool bg);
|
/external/replicaisland/src/com/replica/replicaisland/ |
ScrollerComponent.java | 94 TiledBackgroundVertexGrid bg = drawableFactory.allocateTiledBackgroundVertexGrid(); local 95 bg.setGrid(mVertGrid); 96 background = bg;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 87 public void setPrimaryBackground(Drawable bg) { 92 mBackground = bg; 93 if (bg != null) { 94 bg.setCallback(this); 105 public void setStackedBackground(Drawable bg) { 110 mStackedBackground = bg; 111 if (bg != null) { 112 bg.setCallback(this); 123 public void setSplitBackground(Drawable bg) { 128 mSplitBackground = bg; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintTooltip.java | 51 Color bg = display.getSystemColor(SWT.COLOR_INFO_BACKGROUND); local 52 setBackground(bg); 66 icon.setBackground(bg);
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 124 Drawable bg = mBGs[mCurrBGIndex]; local 125 bg.setBounds(0, 0, getWidth(), getHeight()); 126 setDrawableFlags(bg); 127 bg.draw(canvas);
|
/external/chromium_org/third_party/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,
|