/prebuilts/go/linux-x86/src/image/draw/ |
draw_test.go | 202 b := dst.Bounds() 203 sb := src.Bounds() 206 mb = mask.Bounds() 265 b := dst.Bounds() 266 if !b.Eq(golden.Bounds()) { 267 t.Errorf("draw %v %s: bounds %v versus %v", r, test.desc, dst.Bounds(), golden.Bounds()) 301 b := dst.Bounds() 303 golden := makeGolden(dst, b, src, src.Bounds().Min, nil, image.ZP, op [all...] |
/prebuilts/go/darwin-x86/src/image/jpeg/ |
reader_test.go | 48 if m0.Bounds() != m1.Bounds() { 49 t.Errorf("%s: bounds differ: %v and %v", tc, m0.Bounds(), m1.Bounds()) 53 if m0.Bounds() != image.Rect(0, 0, 150, 103) { 54 t.Errorf("%s: bad bounds: %v", tc, m0.Bounds()) 61 if err := check(m0.Bounds(), m0.Y, m1.Y, m0.YStride, m1.YStride); err != nil { 65 if err := check(m0.Bounds(), m0.Cb, m1.Cb, m0.CStride, m1.CStride); err != nil [all...] |
/prebuilts/go/linux-x86/src/image/jpeg/ |
reader_test.go | 48 if m0.Bounds() != m1.Bounds() { 49 t.Errorf("%s: bounds differ: %v and %v", tc, m0.Bounds(), m1.Bounds()) 53 if m0.Bounds() != image.Rect(0, 0, 150, 103) { 54 t.Errorf("%s: bad bounds: %v", tc, m0.Bounds()) 61 if err := check(m0.Bounds(), m0.Y, m1.Y, m0.YStride, m1.YStride); err != nil { 65 if err := check(m0.Bounds(), m0.Cb, m1.Cb, m0.CStride, m1.CStride); err != nil [all...] |
/frameworks/base/tools/aapt2/compile/ |
NinePatch_test.cpp | 237 EXPECT_EQ(Bounds(1, 0, 1, 0), nine_patch->padding); 245 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->padding); 266 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); 270 EXPECT_EQ(Bounds(1, 1, 0, 0), nine_patch->layout_bounds); 278 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->padding); 279 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); 304 EXPECT_EQ(Bounds(2, 2, 2, 2), nine_patch->outline); 314 EXPECT_EQ(Bounds(3, 3, 3, 3), nine_patch->outline); 327 // closer bounds. 329 // EXPECT_EQ(Bounds(5, 3, 3, 3), ninePatch->outline) [all...] |
/prebuilts/go/darwin-x86/src/image/ |
decode_test.go | 105 b := g.Bounds() 106 if !b.Eq(m.Bounds()) { 107 t.Errorf("%s: got bounds %v want %v", it.filename, m.Bounds(), b)
|
names.go | 40 func (c *Uniform) Bounds() Rectangle { return Rectangle{Point{-1e9, -1e9}, Point{1e9, 1e9}} }
|
image.go | 39 // Bounds returns the domain for which At can return non-zero color. 40 // The bounds do not necessarily contain the point (0, 0). 41 Bounds() Rectangle 43 // At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. 44 // At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one. 66 // Rect is the image's bounds. 72 func (p *RGBA) Bounds() Rectangle { return p.Rect } 151 // NewRGBA returns a new RGBA image with the given bounds [all...] |
/prebuilts/go/linux-x86/src/image/ |
decode_test.go | 105 b := g.Bounds() 106 if !b.Eq(m.Bounds()) { 107 t.Errorf("%s: got bounds %v want %v", it.filename, m.Bounds(), b)
|
names.go | 40 func (c *Uniform) Bounds() Rectangle { return Rectangle{Point{-1e9, -1e9}, Point{1e9, 1e9}} }
|
image.go | 39 // Bounds returns the domain for which At can return non-zero color. 40 // The bounds do not necessarily contain the point (0, 0). 41 Bounds() Rectangle 43 // At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. 44 // At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one. 66 // Rect is the image's bounds. 72 func (p *RGBA) Bounds() Rectangle { return p.Rect } 151 // NewRGBA returns a new RGBA image with the given bounds [all...] |
/external/dng_sdk/source/ |
dng_negative.cpp | 894 DNG_ASSERT (channel < ColorChannels (), "Channel out of bounds"); 1483 dng_pixel_buffer buffer (image.Bounds (), 0, image.Planes (), 1515 image.Bounds ()); [all...] |
dng_host.cpp | 341 dng_image * dng_host::Make_dng_image (const dng_rect &bounds, 346 dng_image *result = new dng_simple_image (bounds, 540 srcImage.Bounds (), 541 dstImage.Bounds (),
|
dng_simple_image.cpp | 25 dng_simple_image::dng_simple_image (const dng_rect &bounds, 30 : dng_image (bounds, 40 ComputeBufferSize (pixelType, bounds.Size (), planes, pad16Bytes); 44 fBuffer = dng_pixel_buffer (bounds, 0, planes, pixelType, pcInterleaved, fMemory->Buffer ()); 60 AutoPtr<dng_simple_image> result (new dng_simple_image (Bounds (), 66 Bounds (),
|
dng_tile_iterator.cpp | 45 area & image.Bounds ());
|
dng_jpeg_image.cpp | 177 fImageSize = image.Bounds ().Size (); 207 image.Bounds ().Size () == negative.OriginalDefaultFinalSize ();
|
dng_ifd.h | 254 dng_rect Bounds () const
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/ |
timeline_interaction_record.py | 8 import telemetry.timeline.bounds as timeline_bounds 144 bounds = timeline_bounds.Bounds() 145 bounds.AddValue(self.start) 146 bounds.AddValue(self.end) 147 return bounds 205 return timeline_bounds.Bounds.GetOverlap( 215 overlapped_walltime_duration = timeline_bounds.Bounds.GetOverlap(
|
/prebuilts/go/darwin-x86/src/image/png/ |
writer_test.go | 17 b0, b1 := m0.Bounds(), m1.Bounds() 137 bo := img.Bounds() 183 bo := img.Bounds()
|
/prebuilts/go/linux-x86/src/image/png/ |
writer_test.go | 17 b0, b1 := m0.Bounds(), m1.Bounds() 137 bo := img.Bounds() 183 bo := img.Bounds()
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
rendering_frame.py | 7 from telemetry.timeline import bounds 41 self._bounds = bounds.Bounds() 51 def bounds(self): member in class:RenderingFrame 80 if frame.bounds.Intersects(timeline_range): 84 frames.sort(key=lambda frame: frame.bounds.min)
|
rendering_frame_unittest.py | 7 import telemetry.timeline.bounds as timeline_bounds 55 timeline_range = timeline_bounds.Bounds() 110 timeline_range = timeline_bounds.Bounds()
|
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 227 * the bounds of each view are extended outwards, according 374 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}. 407 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}. 1302 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds(); local 1353 Bounds[] bounds = getGroupBounds().values; local [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | 212 * the bounds of each view are extended outwards, according 363 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}. 396 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}. 1193 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds(); local 1244 Bounds[] bounds = getGroupBounds().values; local [all...] |
/cts/tests/camera/libctscamera2jni/ |
dng-validate-jni.cpp | 261 Max_uint32(previewImage->Bounds().W(), 262 previewImage->Bounds().H()) <= 256) {
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
model.py | 14 from telemetry.timeline import bounds 63 self._bounds = bounds.Bounds() 103 def bounds(self): member in class:TimelineModel 163 if not self.bounds.is_empty: 165 process.AutoCloseOpenSlices(self.bounds.max, 198 self._thread_time_bounds[thread] = bounds.Bounds()
|