HomeSort by relevance Sort by last modified time
    Searched defs:foreground (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /frameworks/base/libs/androidfw/tests/data/system/
R.h 28 foreground = 0x01010001, // default member in struct:android::R::attr
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 101 final BitmapDrawable foreground local
103 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicHeight(), mActivity);
104 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicWidth(), mActivity);
105 assertTrue(mFrameLayout.getHeight() > foreground.getIntrinsicHeight());
106 assertTrue(mFrameLayout.getWidth() > foreground.getIntrinsicWidth());
110 () -> mFrameLayout.setForeground(foreground));
111 assertSame(foreground, mFrameLayout.getForeground());
113 assertTrue(foreground.isVisible());
114 final Rect rect = foreground.getBounds();
115 // foreground has been stretche
145 final Drawable foreground = mActivity.getResources().getDrawable(R.drawable.size_48x48); local
290 final Drawable foreground = spy(new ColorDrawable()); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
ColorPreference.java 125 final Drawable foreground = swatch.getDrawable(); local
126 if (foreground instanceof ColorDrawable) {
127 ((ColorDrawable) foreground).setColor(argb);
  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
NonOverlappingLinearLayoutWithForeground.java 26 * Implements foreground drawable before M and falls back to M's foreground implementation.
49 // don't need do anything, base View constructor >=M already reads the foreground if
55 new int[] { android.R.attr.foreground });
66 // From M, foreground is naturally supported.
69 // before M, do our own customized foreground draw.
94 final Drawable foreground = mForeground; local
101 foreground.setBounds(selfBounds);
103 foreground.draw(canvas);
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentSettings.java 74 NfcForegroundPreference foreground = new NfcForegroundPreference(getPrefContext(), local
76 screen.addPreference(foreground);
  /packages/services/Car/car-lib/src/android/car/storagemonitoring/
IoStats.java 126 bytesRead += stats.foreground.bytesRead;
127 bytesWritten += stats.foreground.bytesWritten;
128 bytesReadFromStorage += stats.foreground.bytesReadFromStorage;
129 bytesWrittenToStorage += stats.foreground.bytesWrittenToStorage;
130 fsyncCalls += stats.foreground.fsyncCalls;
163 IoStatsEntry.Metrics foreground = getForegroundTotals(); local
166 return new IoStatsEntry.Metrics(foreground.bytesRead + background.bytesRead,
167 foreground.bytesWritten + background.bytesWritten,
168 foreground.bytesReadFromStorage + background.bytesReadFromStorage,
169 foreground.bytesWrittenToStorage + background.bytesWrittenToStorage
    [all...]
IoStatsEntry.java 67 * Statistics for apps running in foreground.
69 public final IoStatsEntry.Metrics foreground; field in class:IoStatsEntry
77 long runtimeMillis, IoStatsEntry.Metrics foreground, IoStatsEntry.Metrics background) {
80 this.foreground = Objects.requireNonNull(foreground);
87 foreground = in.readParcelable(IoStatsEntry.Metrics.class.getClassLoader());
94 foreground = new IoStatsEntry.Metrics(record.foreground_rchar,
115 dest.writeParcelable(foreground, flags);
123 jsonWriter.name("foreground"); foreground.writeToJson(jsonWriter)
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
BandwidthUtils.java 82 String foreground = parts[4]; local
83 if (!"0".equals(foreground)) { // test uses background data, skip foreground
  /cts/tests/tests/text/src/android/text/cts/
HtmlTest.java 191 ForegroundColorSpan[] foreground = s.getSpans(0, s.length(), ForegroundColorSpan.class); local
192 assertEquals(1, foreground.length);
193 assertEquals(0xFFFF0000, foreground[0].getForegroundColor());
374 s = new SpannableString("Hello foreground world");
378 + "<span style=\"color:#00FF00;\">foreground</span> world</p>"));
  /external/ImageMagick/MagickCore/
decorate.c 669 foreground,
684 foreground=QuantumRange;
688 foreground=(Quantum) 0;
734 foreground*(QuantumRange-HighlightFactor)));
752 (double) foreground*(QuantumRange-AccentuateFactor)));
824 foreground*(QuantumRange-HighlightFactor)));
898 foreground*(QuantumRange-HighlightFactor)));
664 foreground, local
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
AnimationPlayerActivity.java 113 View foreground = findViewById(R.id.animation_foreground); local
120 foreground.startAnimation(foregroundAnim);
  /external/skia/src/effects/
SkXfermodeImageFilter.cpp 51 sk_sp<SkSpecialImage> foreground,
79 sk_sp<SkImageFilter> foreground,
81 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) };
120 sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
123 if (foreground) {
125 foreground->width(), foreground->height());
151 foreground, foregroundOffset,
175 this->drawForeground(canvas, foreground.get(), foregroundBounds);
227 auto foreground = xformer->apply(this->getInput(1)) local
    [all...]
SkArithmeticImageFilter.cpp 53 sk_sp<SkSpecialImage> foreground,
155 sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
158 if (foreground) {
160 foreground->width(), foreground->height());
184 return this->filterImageGPU(source, background, backgroundOffset, foreground,
207 this->drawForeground(canvas, foreground.get(), foregroundBounds);
222 // Note that background (getInput(0)) is i2, and foreground (getInput(1)) is i1.
286 sk_sp<SkSpecialImage> foreground,
300 if (foreground) {
420 auto foreground = xformer->apply(this->getInput(1)); local
    [all...]
  /external/skqp/src/effects/
SkXfermodeImageFilter.cpp 51 sk_sp<SkSpecialImage> foreground,
79 sk_sp<SkImageFilter> foreground,
81 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) };
120 sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
123 if (foreground) {
125 foreground->width(), foreground->height());
151 foreground, foregroundOffset,
175 this->drawForeground(canvas, foreground.get(), foregroundBounds);
227 auto foreground = xformer->apply(this->getInput(1)) local
    [all...]
SkArithmeticImageFilter.cpp 53 sk_sp<SkSpecialImage> foreground,
155 sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
158 if (foreground) {
160 foreground->width(), foreground->height());
184 return this->filterImageGPU(source, background, backgroundOffset, foreground,
207 this->drawForeground(canvas, foreground.get(), foregroundBounds);
222 // Note that background (getInput(0)) is i2, and foreground (getInput(1)) is i1.
286 sk_sp<SkSpecialImage> foreground,
300 if (foreground) {
418 auto foreground = xformer->apply(this->getInput(1)); local
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
WatchListDecorLayout.java 198 // Check against our foreground's minimum height and width
246 final Drawable foreground = getForeground(); local
247 if (getForegroundGravity() == Gravity.FILL && foreground != null) {
249 if (foreground.getPadding(padding)) {
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
FolderAdaptiveIcon.java 131 ShiftedBitmapDrawable foreground = new ShiftedBitmapDrawable(previewBitmap, local
134 return new FolderAdaptiveIcon(new ColorDrawable(bg.getBgColor()), foreground, badge, mask);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
CreateAssetSetWizardState.java 97 public RGB foreground = new RGB(0x00, 0x00, 0x00); field in class:CreateAssetSetWizardState
  /frameworks/base/core/java/android/widget/
FrameLayout.java 105 * Describes how the foreground is positioned. Defaults to START and TOP.
119 final Drawable foreground = getForeground(); local
120 if (getForegroundGravity() == Gravity.FILL && foreground != null) {
122 if (foreground.getPadding(padding)) {
209 // Check against our foreground's minimum height and width
  /external/libvncserver/libvncserver/
cursor.c 444 uint32_t background,foreground; local
445 char *back=(char*)&background,*fore=(char*)&foreground;
461 foreground=cursor->foreRed<<format->redShift|
  /frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
ListRowPresenterTest.java 139 Drawable foreground = getForeground(view); local
141 foreground instanceof ColorDrawable
142 ? ((ColorDrawable) foreground).getColor() : Color.TRANSPARENT);
421 // supports foreground
446 // supports foreground
471 // supports foreground
496 // supports foreground
521 // supports foreground
546 // supports foreground
571 // supports foreground
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateMetadata.java 268 RGB foreground = getRgb(icon, ATTR_FOREGROUND); local
269 if (foreground != null) {
270 mIconState.foreground = foreground;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
R.java 88 public static final int foreground = nextId++; field in class:R.color
  /external/skia/fuzz/
FuzzCanvas.cpp 662 sk_sp<SkImageFilter> foreground = make_fuzz_imageFilter(fuzz, depth - 1); local
668 std::move(background), std::move(foreground),
    [all...]
  /external/skqp/fuzz/
FuzzCanvas.cpp 658 sk_sp<SkImageFilter> foreground = make_fuzz_imageFilter(fuzz, depth - 1); local
664 std::move(background), std::move(foreground),
    [all...]

Completed in 2264 milliseconds

1 2 3 4 5 6