HomeSort by relevance Sort by last modified time
    Searched refs:bg (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /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/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);
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...]
  /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;
SoftKeyboardView.java 136 Drawable bg = softSkb.getSkbBackground(); local
137 if (null != bg) setBackgroundDrawable(bg);
438 Drawable bg; local
441 bg = softKey.getKeyHlBg();
444 bg = softKey.getKeyBg();
448 if (null != bg) {
449 bg.setBounds(softKey.mLeft + keyXMargin, softKey.mTop + keyYMargin,
451 bg.draw(canvas);
  /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...]
  /external/webkit/Source/WebCore/platform/efl/
RenderThemeEfl.cpp 362 int fr, fg, fb, fa, br, bg, bb, ba; local
364 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
367 that->setActiveSelectionColor(fr, fg, fb, fa, br, bg, bb, ba);
373 int fr, fg, fb, fa, br, bg, bb, ba; local
375 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
378 that->setInactiveSelectionColor(fr, fg, fb, fa, br, bg, bb, ba);
395 int fr, fg, fb, fa, br, bg, bb, ba; local
397 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
400 that->setButtonTextColor(fr, fg, fb, fa, br, bg, bb, ba);
406 int fr, fg, fb, fa, br, bg, bb, ba local
417 int fr, fg, fb, fa, br, bg, bb, ba; local
428 int fr, fg, fb, fa, br, bg, bb, ba; local
483 int fr, fg, fb, fa, br, bg, bb, ba; local
    [all...]

Completed in 753 milliseconds

1 2 3 4 5 6 7