/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Blend.java | 46 private Allocation image1; field in class:Blend 70 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); 120 image1.copy2DRangeFrom(0, 0, mInPixelsAllocation.getType().getX(), mInPixelsAllocation.getType().getY(), mInPixelsAllocation, 0, 0); 124 mBlendHelper.forEach_setImageAlpha(image1); 131 mBlend.forEachSrc(image1, image2); 134 mBlend.forEachDst(image1, image2); 137 mBlend.forEachSrcOver(image1, image2); 140 mBlend.forEachDstOver(image1, image2); 143 mBlend.forEachSrcIn(image1, image2); 146 mBlend.forEachDstIn(image1, image2) [all...] |
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Blend.java | 39 private Allocation image1; field in class:Blend 63 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); 113 image1.copy2DRangeFrom(0, 0, mInPixelsAllocation.getType().getX(), mInPixelsAllocation.getType().getY(), mInPixelsAllocation, 0, 0); 117 mBlendHelper.forEach_setImageAlpha(image1); 124 mBlend.forEachSrc(image1, image2); 127 mBlend.forEachDst(image1, image2); 130 mBlend.forEachSrcOver(image1, image2); 133 mBlend.forEachDstOver(image1, image2); 136 mBlend.forEachSrcIn(image1, image2); 139 mBlend.forEachDstIn(image1, image2) [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Blend.java | 47 private Allocation image1; field in class:Blend 71 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); 121 image1.copy2DRangeFrom(0, 0, mInPixelsAllocation.getType().getX(), mInPixelsAllocation.getType().getY(), mInPixelsAllocation, 0, 0); 125 mBlendHelper.forEach_setImageAlpha(image1); 132 mBlend.forEachSrc(image1, image2); 135 mBlend.forEachDst(image1, image2); 138 mBlend.forEachSrcOver(image1, image2); 141 mBlend.forEachDstOver(image1, image2); 144 mBlend.forEachSrcIn(image1, image2); 147 mBlend.forEachDstIn(image1, image2) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleImage.h | 76 static bool imagesEquivalent(const StyleImage* image1, const StyleImage* image2) 78 if (image1 != image2) { 79 if (!image1 || !image2) 81 return *image1 == *image2;
|
/external/chromium_org/chrome/test/functional/ispy/common/ |
image_tools.py | 30 def _GetDifferenceWithMask(image1, image2, mask=None, 41 image1: the first image to compare. 56 Exception: if image1, image2, and mask are not the same size. 60 image_mask = Image.new('RGBA', image1.size, (0, 0, 0, 255)) 61 if not _AreTheSameSize([image1, image2, image_mask]): 63 image_diff = Image.new('RGBA', image1.size, (0, 0, 0, 255)) 67 image1.getdata(), 159 def VisualizeImageDifferences(image1, image2, mask=None): 169 image1: an RGB image 170 image2: another RGB image of the same size as image1 [all...] |
/external/chromium_org/ui/gfx/image/ |
image_unittest_util.h | 45 bool IsEqual(const gfx::Image& image1, const gfx::Image& image2); 84 bool PlatformImagesEqual(PlatformImage image1, PlatformImage image2);
|
image_unittest.cc | 79 gfx::Image image1(NULL); 80 EXPECT_TRUE(image1.IsEmpty()); 81 EXPECT_EQ(0, image1.Width()); 82 EXPECT_EQ(0, image1.Height()); 83 EXPECT_EQ(0U, image1.RepresentationCount()); 108 gfx::Image image1(image_png_reps1); 109 EXPECT_TRUE(image1.IsEmpty()); 110 EXPECT_EQ(0U, image1.RepresentationCount()); 179 gfx::Image image1(image_skia); 180 scoped_refptr<base::RefCountedMemory> png_bytes1 = image1.As1xPNGBytes() [all...] |
image_unittest_util.cc | 274 bool PlatformImagesEqual(PlatformImage image1, PlatformImage image2) { 276 return image1 == image2; 278 return image1.BackedBySameObjectAs(image2);
|
/external/skia/tests/ |
SurfaceTest.cpp | 162 SkAutoTUnref<SkImage> image1(surface1->newImageSnapshot()); 179 REPORTER_ASSERT(reporter, image4->getTexture() != image1->getTexture()); 181 REPORTER_ASSERT(reporter, image3->getTexture() != image1->getTexture()); 182 REPORTER_ASSERT(reporter, image2->getTexture() != image1->getTexture()); 218 SkImage* image1 = surface->newImageSnapshot(); local 219 SkAutoTUnref<SkImage> aur_image1(image1); 220 SkDEBUGCODE(image1->validate();) 223 SkDEBUGCODE(image1->validate();) 229 REPORTER_ASSERT(reporter, image1 != image2);
|
DeferredCanvasTest.cpp | 109 SkAutoTUnref<SkImage> image1(canvas->newImageSnapshot()); 722 SkImage* image1 = canvas->newImageSnapshot(); local 723 SkAutoTUnref<SkImage> aur_i1(image1); 734 REPORTER_ASSERT(reporter, image1->uniqueID() == image2->uniqueID()); 739 REPORTER_ASSERT(reporter, image1->uniqueID() != image3->uniqueID()); 799 SkAutoTUnref<SkImage> image1(canvas->newImageSnapshot()); 802 REPORTER_ASSERT(reporter, image1->uniqueID() != image2->uniqueID()); [all...] |
/external/chromium_org/ppapi/tests/ |
test_graphics_2d.h | 46 bool CompareImages(const pp::ImageData& image1, 50 bool CompareImageRect(const pp::ImageData& image1,
|
test_graphics_2d.cc | 132 bool TestGraphics2D::CompareImages(const pp::ImageData& image1, 135 image1, pp::Rect(0, 0, image1.size().width(), image1.size().height()), 139 bool TestGraphics2D::CompareImageRect(const pp::ImageData& image1, 148 if (*(image1.GetAddr32(pp::Point(rc1.x() + x, rc1.y() + y))) !=
|
/external/chromium_org/tools/imagediff/ |
image_diff.cc | 335 bool CreateImageDiff(const Image& image1, const Image& image2, Image* out) { 336 int w = std::min(image1.w(), image2.w()); 337 int h = std::min(image1.h(), image2.h()); 338 *out = Image(image1); 339 bool same = (image1.w() == image2.w()) && (image1.h() == image2.h()); 345 uint32 base_pixel = image1.pixel_at(x, y);
|
/cts/hostsidetests/holo/src/android/holo/cts/ |
ComparisonTask.java | 108 private static void createDiff(BufferedImage image1, BufferedImage image2, File out) 110 final int w1 = image1.getWidth(); 111 final int h1 = image1.getHeight(); 116 // The diff will contain image1, image2 and the difference between the two. 127 color1 = image1.getRGB(i, j); 131 color1 = image1.getRGB(i, j);
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
fast_show_pickler_unittest.cc | 33 void CompareImages(const gfx::ImageSkia& image1, 35 std::vector<gfx::ImageSkiaRep> reps1(image1.image_reps());
|
/external/chromium_org/ui/views/controls/button/ |
image_button_unittest.cc | 94 gfx::ImageSkia image1 = CreateTestImage(10, 11); local 96 button.SetImage(Button::STATE_NORMAL, &image1); 99 button.GetImage(Button::STATE_NORMAL).BackedBySameObjectAs(image1));
|
/external/skia/gm/rebaseline_server/ |
imagediffdb.py | 243 def _generate_image_diff(image1, image2): 244 """Wrapper for ImageChops.difference(image1, image2) that will handle some 252 image1: a PIL image object 255 Returns: per-pixel diffs between image1 and image2, as a PIL image object 258 return ImageChops.difference(image1.convert('RGB'), image2.convert('RGB')) 260 logging.error('Error diffing image1 [%s] and image2 [%s].' % ( 261 repr(image1), repr(image2)))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
StretchesViewer.java | 91 private static final boolean equalSize(ImageData image1, ImageData image2) { 92 return (image1.width == image2.width && image1.height == image2.height);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 554 BufferedImage image1 = delegate1.getImage(); local 557 image1.getWidth() != image2.getWidth() || 558 image1.getHeight() != image2.getHeight()) { 563 int w = image1.getWidth(); 568 image1.getRGB(0, 0, w, h, argb1, 0, w);
|
/external/opencv/cvaux/src/ |
cvcorrimages.cpp | 176 /* For given points1 (with pntStatus) on image1 finds corresponding points2 on image2 and set pntStatus2 for them */ 178 int icvFindCorrForGivenPoints( IplImage *image1,/* Image 1 */ 206 if( image1 == 0 || image2 == 0 || 215 w = image1->width; 216 h = image1->height; 220 CV_ERROR( CV_StsOutOfRange, "Size of image1 must be > 0" ); 267 /* Compute number of visible points on image1 */ 308 cvCvtColor(image1,grayImage1,CV_BGR2GRAY); 312 grayImage1.CopyOf(image1,0); [all...] |
/external/chromium_org/chrome/renderer/printing/ |
print_web_view_helper_browsertest.cc | 328 const Image& image1(printer->GetPrintedPage(0)->image()); 331 // only the content of the iframe. Currently image1 will contain the full 333 EXPECT_NE(0, image1.size().width()); 334 EXPECT_NE(0, image1.size().height()); [all...] |
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
ZoomActivity.java | 64 zoomImageFromThumb(thumb1View, R.drawable.image1);
|
/external/chromium_org/skia/ext/ |
vector_canvas_unittest.cc | 292 Image image1(canvas); 294 double diff = image1.PercentageDifferent(image2); 412 Image image1(*vcanvas_); 414 double diff = image1.PercentageDifferent(image2);
|
/external/opencv/cv/include/ |
cv.h | 562 CVAPI(void) cvMultiplyAcc( const CvArr* image1, const CvArr* image2, CvArr* acc, [all...] |
/prebuilts/devtools/tools/lib/ |
sdkuilib.jar | |