/external/linux-tools-perf/util/ui/ |
libslang.h | 19 #define sltt_set_color(obj, name, fg, bg) \ 20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
|
/system/extras/ext4_utils/ |
allocate.h | 41 u32 get_free_blocks(u32 bg); 42 u32 get_free_inodes(u32 bg); 43 u32 reserve_inodes(int bg, u32 inodes); 45 u16 get_directories(int bg); 46 u16 get_bg_flags(int bg); 56 u32 block, u32 len, int bg);
|
allocate.c | 41 int bg; member in struct:region 141 reg->bg * info.blocks_per_group + reg->block, 142 reg->bg * info.blocks_per_group + reg->block + reg->len - 1, 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 349 struct block_group_info *bg = &aux_info.bgs[bg_num]; local 693 int bg = inode \/ info.inodes_per_group; local 756 unsigned int bg; local 777 int bg = (inode - 1) \/ info.inodes_per_group; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
csum.c | 106 struct ext2_group_desc *bg = fs->group_desc; local 117 for (i = 0; i < fs->group_desc_count; i++, bg++) { 118 int old_csum = bg->bg_checksum; 119 int old_unused = bg->bg_itable_unused; 120 int old_flags = bg->bg_flags; 122 if (bg->bg_free_inodes_count == sb->s_inodes_per_group) { 123 bg->bg_flags |= EXT2_BG_INODE_UNINIT; 124 bg->bg_itable_unused = sb->s_inodes_per_group; 126 bg->bg_flags &= ~EXT2_BG_INODE_UNINIT; 127 bg->bg_itable_unused = sb->s_inodes_per_group [all...] |
/external/llvm/include/llvm/Support/ |
Process.h | 232 static const char *OutputColor(char c, bool bold, bool bg); 235 static const char *OutputBold(bool 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/ |
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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContainer.java | 82 public void setPrimaryBackground(Drawable bg) { 87 mBackground = bg; 88 if (bg != null) { 89 bg.setCallback(this); 96 public void setStackedBackground(Drawable bg) { 101 mStackedBackground = bg; 102 if (bg != null) { 103 bg.setCallback(this); 110 public void setSplitBackground(Drawable bg) { 115 mSplitBackground = 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/harfbuzz_ng/util/ |
ansi-print.cc | 163 bg = 0; 165 if (freq[bg] < freq[i]) 166 bg = i; 169 if (i != bg && freq[fg] < freq[i]) 171 if (fg == bg || freq[fg] == 0) { 172 fg = bg; 185 color_t bgc = color_t::from_ansi (bg); 204 unsigned int bg; 384 if (last_bg != bi.bg) { 385 printf ("\e[%dm", 40 + bi.bg); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 79 public void setPrimaryBackground(Drawable bg) { 84 mBackground = bg; 85 if (bg != null) { 86 bg.setCallback(this); 97 public void setStackedBackground(Drawable bg) { 102 mStackedBackground = bg; 103 if (bg != null) { 104 bg.setCallback(this); 115 public void setSplitBackground(Drawable bg) { 120 mSplitBackground = bg; [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
native_theme_gtk2.cc | 154 return GetWindowStyle()->bg[GTK_STATE_NORMAL]; 158 return GetWindowStyle()->bg[GTK_STATE_NORMAL]; 162 return GetEntryStyle()->bg[GTK_STATE_SELECTED]; 174 return GetMenuItemStyle()->bg[GTK_STATE_SELECTED]; 176 return GetMenuItemStyle()->bg[GTK_STATE_PRELIGHT]; 178 return GetEntryStyle()->bg[GTK_STATE_NORMAL]; 187 return GetMenuStyle()->bg[GTK_STATE_NORMAL]; 195 return GetWindowStyle()->bg[GTK_STATE_NORMAL]; 199 return GetButtonStyle()->bg[GTK_STATE_NORMAL];
|
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 151 #define alpha_composite(composite, fg, alpha, bg) { \ 153 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \ 249 } bg[] = { variable in typeref:struct:background_pattern 268 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern); 470 "Usage: %s [-display xdpy] [-gamma exp] [-bgcolor bg | -bgpat pat]\n" 484 " bg \tdesired background color in 7-character hex RGB format\n" [all...] |
rpng2-win.c | 128 #define alpha_composite(composite, fg, alpha, bg) { \ 130 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \ 213 } bg[] = { variable in typeref:struct:background_pattern 231 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern); 432 "Usage: %s [-gamma exp] [-bgcolor bg | -bgpat pat] [-timing]\n" 441 " bg \tdesired background color in 7-character hex RGB format\n" 816 int invert_gradient2 = (bg[pat].type & 0x08); 839 if ((bg[pat].type & 0x07) == 0) { 840 uch r1_min = rgb[bg[pat].rgb1_min].r; 841 uch g1_min = rgb[bg[pat].rgb1_min].g [all...] |
/external/linux-tools-perf/util/ |
color.c | 54 int bg = -2; local 61 /* [fg [bg]] [attr] */ 83 if (bg == -2) { 84 bg = val; 95 if (attr >= 0 || fg >= 0 || bg >= 0) { 114 if (bg >= 0) { 117 if (bg < 8) { 119 *dst++ = '0' + bg; 121 dst += sprintf(dst, "48;5;%d", bg);
|
/external/replicaisland/src/com/replica/replicaisland/ |
ScrollerComponent.java | 94 TiledBackgroundVertexGrid bg = drawableFactory.allocateTiledBackgroundVertexGrid(); local 95 bg.setGrid(mVertGrid); 96 background = bg;
|
DrawableFactory.java | 152 TiledBackgroundVertexGrid bg = (TiledBackgroundVertexGrid)entry; local 153 bg.reset();
|
/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/clang/test/Analysis/ |
idempotent-operations.c | 72 for (unsigned bg = 0; bg < 1024; bg ++) { 73 result = bg * result; // no-warning
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SkbTemplate.java | 109 public SoftKeyType createKeyType(int id, Drawable bg, Drawable hlBg) { 110 return new SoftKeyType(id, bg, hlBg); 222 SoftKeyType(int id, Drawable bg, Drawable hlBg) { 224 mKeyBg = bg;
|
/external/skia/gm/ |
xfermodes2.cpp | 95 SkBitmap bg; variable 96 bg.setConfig(SkBitmap::kARGB_8888_Config, 2, 2, 0, kOpaque_SkAlphaType); 97 bg.allocPixels(); 98 SkAutoLockPixels bgAlp(bg); 99 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); 101 fBG.reset(SkShader::CreateBitmapShader(bg,
|
xfermodes3.cpp | 190 SkBitmap bg; variable 191 bg.setConfig(SkBitmap::kARGB_8888_Config, 2, 2, 0, kOpaque_SkAlphaType); 192 bg.allocPixels(); 193 SkAutoLockPixels bgAlp(bg); 194 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); 196 fBGShader.reset(SkShader::CreateBitmapShader(bg,
|
/frameworks/base/core/java/com/android/internal/app/ |
PlatLogoActivity.java | 72 final View bg = new View(this); local 73 bg.setBackgroundColor(BGCOLOR); 74 bg.setAlpha(0f); 96 mContent.addView(bg); 128 bg.setScaleX(0.01f); 129 bg.animate().alpha(1f).scaleX(1f).setStartDelay(500).start();
|