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

1 2 3 4 5 6 7 8 910

  /device/google/marlin/
init.foreground.sh 3 # move spi6 thread and nanohub thread into foreground cpuset to prevent them
7 echo -n $PID > /dev/cpuset/foreground/tasks
10 echo -n $PID > /dev/cpuset/foreground/tasks
  /frameworks/base/libs/androidfw/tests/data/system/
R.h 28 foreground = 0x01010001, // default member in struct:android::R::attr
  /external/skia/include/effects/
SkArithmeticImageFilter.h 17 sk_sp<SkImageFilter> foreground,
SkXfermodeImageFilter.h 16 * This filter takes a SkBlendMode, and uses it to composite the foreground over the background.
17 * If foreground or background is NULL, the input bitmap (src) is used instead.
22 sk_sp<SkImageFilter> foreground,
  /external/opencv/cvaux/src/
cvbgfg_common.cpp 50 IplImage* tmp_image = cvCreateImage(cvSize(bg_model->foreground->width,bg_model->foreground->height),
59 cvAnd(tmp_image, bg_model->foreground, tmp_image);
62 cvDrawContours( bg_model->foreground, &seq, CV_RGB(0, 0, 255), CV_RGB(0, 0, 255), 10, -1);
64 cvDrawContours( bg_model->foreground, &seq, CV_RGB(0, 0, 0), CV_RGB(0, 0, 0), 10, -1);
  /external/skia/src/effects/
SkXfermodeImageFilter.cpp 47 sk_sp<SkSpecialImage> foreground,
74 sk_sp<SkImageFilter> foreground,
76 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) };
115 sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
118 if (foreground) {
120 foreground->width(), foreground->height());
146 foreground, foregroundOffset,
170 this->drawForeground(canvas, foreground.get(), foregroundBounds);
179 auto foreground = xformer->apply(this->getInput(1)) local
    [all...]
SkArithmeticImageFilter.cpp 48 sk_sp<SkSpecialImage> foreground,
148 sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
151 if (foreground) {
153 foreground->width(), foreground->height());
177 return this->filterImageGPU(source, background, backgroundOffset, foreground,
200 this->drawForeground(canvas, foreground.get(), foregroundBounds);
330 sk_sp<SkSpecialImage> foreground,
344 if (foreground) {
345 foregroundProxy = foreground->asTextureProxyRef(context)
459 auto foreground = xformer->apply(this->getInput(1)); local
    [all...]
  /external/python/cpython2/Demo/tkinter/matt/
00-HELLO-WORLD.py 11 self.QUIT = Button(self, text='QUIT', foreground='red',
animation-simple.py 10 self.QUIT = Button(self, text='QUIT', foreground='red',
canvas-demo-simple.py 10 self.QUIT = Button(self, text='QUIT', foreground='red',
canvas-reading-tag-info.py 9 self.QUIT = Button(self, text='QUIT', foreground='red',
canvas-w-widget-draw-el.py 10 self.QUIT = Button(self, text='QUIT', foreground='red',
dialog-box.py 47 self.QUIT = Button(self, text='QUIT', foreground='red',
not-what-you-might-think-1.py 13 foreground='red',
not-what-you-might-think-2.py 16 self.Gpanel.QUIT = Button(self.Gpanel, text='QUIT', foreground='red',
packer-and-placer-together.py 26 f.button = Button(f, foreground='red', text='amazing', command=dothis)
packer-simple.py 10 self.QUIT = Button(self, text='QUIT', foreground='red',
placer-simple.py 24 f.button = Button(f, foreground='red', text='amazing', command=dothis)
  /frameworks/support/v17/leanback/src/android/support/v17/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);
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
TestService.java 319 mForegroundThread = new RunnerThread("foreground", new Runnable() {
390 private void threadFinished(boolean foreground) {
392 if (foreground) {
445 void onInit(Context context, boolean foreground) {
576 void onInit(Context context, boolean foreground) {
601 void onInit(Context context, boolean foreground) {
621 void onInit(Context context, boolean foreground) {
666 void onInit(Context context, boolean foreground) {
684 void onInit(Context context, boolean foreground) {
702 void onInit(Context context, boolean foreground) {
    [all...]
  /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...]
  /frameworks/base/core/java/com/android/internal/graphics/
ColorUtils.java 48 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) {
50 int fgAlpha = Color.alpha(foreground);
53 int r = compositeComponent(Color.red(foreground), fgAlpha,
55 int g = compositeComponent(Color.green(foreground), fgAlpha,
57 int b = compositeComponent(Color.blue(foreground), fgAlpha,
85 * Returns the contrast ratio between {@code foreground} and {@code background}.
91 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) {
96 if (Color.alpha(foreground) < 255) {
97 // If the foreground is translucent, composite the foreground over the backgroun
    [all...]
  /frameworks/support/design/src/android/support/design/internal/
ForegroundLinearLayout.java 81 * Describes how the foreground is positioned.
83 * @return foreground gravity.
92 * Describes how the foreground is positioned. Defaults to START and TOP.
178 * Returns the drawable used as the foreground of this FrameLayout. The
179 * foreground drawable, if non-null, is always drawn on top of the children.
181 * @return A Drawable or null if no foreground was set.
205 final Drawable foreground = mForeground; local
222 Gravity.apply(mForegroundGravity, foreground.getIntrinsicWidth(),
223 foreground.getIntrinsicHeight(), selfBounds, overlayBounds);
224 foreground.setBounds(overlayBounds)
    [all...]
  /compatibility/cdd/8_performance-and-power/
8_5_consistent-performance.md 6 the device is capable, the top foreground application can request that the
20 * [C-1-1] MUST provide the top foreground application a consistent level of
29 foreground application.
32 foreground application, they:
36 by the top foreground application.
  /cts/tests/app/src/android/app/cts/
ActivityManager_RunningServiceInfoTest.java 38 mRunningServiceInfo.foreground = true;
65 assertTrue(values.foreground);
85 assertTrue(values.foreground);

Completed in 364 milliseconds

1 2 3 4 5 6 7 8 910