/frameworks/base/tools/aapt2/compile/ |
Image.h | 88 struct Bounds { 94 explicit Bounds() = default; 95 inline explicit Bounds(int32_t l, int32_t t, int32_t r, int32_t b) 101 inline bool Bounds::nonZero() const { 105 inline bool operator==(const Bounds& left, const Bounds& right) { 131 Bounds padding; 134 * Optical layout bounds/insets. This overrides the padding for 140 Bounds layout_bounds; 145 Bounds outline [all...] |
/prebuilts/go/darwin-x86/doc/progs/ |
image_package6.go | 15 fmt.Println(m0.Bounds().Dx(), m1.Bounds().Dx()) // prints 8, 4
|
image_draw.go | 36 draw.Draw(m, m.Bounds(), &image.Uniform{blue}, image.ZP, draw.Src) 40 draw.Draw(m, m.Bounds(), image.Transparent, image.ZP, draw.Src) 70 b := m.Bounds() 86 b := src.Bounds() 95 draw.DrawMask(dst, dst.Bounds(), src, image.ZP, &circle{p, r}, image.ZP, draw.Over) 130 func (c *circle) Bounds() image.Rectangle {
|
/prebuilts/go/linux-x86/doc/progs/ |
image_package6.go | 15 fmt.Println(m0.Bounds().Dx(), m1.Bounds().Dx()) // prints 8, 4
|
image_draw.go | 36 draw.Draw(m, m.Bounds(), &image.Uniform{blue}, image.ZP, draw.Src) 40 draw.Draw(m, m.Bounds(), image.Transparent, image.ZP, draw.Src) 70 b := m.Bounds() 86 b := src.Bounds() 95 draw.DrawMask(dst, dst.Bounds(), src, image.ZP, &circle{p, r}, image.ZP, draw.Over) 130 func (c *circle) Bounds() image.Rectangle {
|
/external/dng_sdk/source/ |
dng_image.h | 136 // Bounds for this image. 150 /// How to handle requests to get image areas outside the image bounds. 175 dng_image (const dng_rect &bounds, 185 /// Getter method for bounds of an image. 187 const dng_rect & Bounds () const 196 return Bounds ().Size (); 203 return Bounds ().W (); 210 return Bounds ().H (); 268 /// Shrink bounds of image to given rectangle. 332 SetConstant (value, Bounds ()); [all...] |
dng_opcodes.cpp | 280 fDstImage.Bounds ()); 288 fDstImage.Bounds ()); 302 fDstImage.Bounds ()); 320 fDstImage.Bounds (), 364 dng_rect modifiedBounds = ModifiedBounds (image->Bounds ()); 376 if (modifiedBounds == image->Bounds ()) 379 dstImage.Reset (host.Make_dng_image (image->Bounds (), 465 fImage.Bounds (), 493 fImage.Bounds ()); 538 dng_rect modifiedBounds = ModifiedBounds (image->Bounds ()); [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
bounds.py | 26 """Factory for creating bounds statement objects.""" 29 return Bounds(policy, sym) 35 """Validate *bounds rule types.""" 37 raise exception.InvalidBoundsType("{0} is not a valid *bounds rule type.".format(t)) 42 class Bounds(PolicySymbol):
|
/external/autotest/client/cros/multimedia/ |
display_info.py | 11 class Bounds(object): 12 """The class match Bounds object from chrome.system.display API. 52 self.bounds = self.Bounds(d['bounds']) 54 self.work_area = self.Bounds(d['workArea'])
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p9-0x.cpp | 42 template<typename ...ElementTypes, unsigned ...Bounds> 43 struct split_arrays<ElementTypes[Bounds]...> { 46 // FIXME: Would like to have unsigned_tuple<Bounds...> here. 47 typedef tuple<unsigned_c<Bounds>...> bounds_types;
|
/external/skia/src/core/ |
SkRecordDraw.cpp | 25 // this canvas' clip bounds transformed back into identity space, which 78 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds, 145 // The interesting part here is how to calculate bounds for ops which don't 146 // have intrinsic bounds. What is the bounds of a Save or a Translate? 148 // We answer this by thinking about a particular definition of bounds: if I 150 // the bounds of a Save, a Translate, a Restore, etc. are the union of the 151 // bounds of Draw* ops that they might have an effect on. For any given 152 // Save/Restore block, the bounds of the Save, the Restore, and any other 153 // non-drawing ("control") ops inside are exactly the union of the bounds o 231 Bounds bounds; \/\/ Bounds of everything in the block. member in struct:SkRecords::FillBounds::SaveBounds 392 Bounds bounds(const DrawText&) const { return fCurrentClipBounds; } function in class:SkRecords::FillBounds 394 Bounds bounds(const DrawPaint&) const { return fCurrentClipBounds; } function in class:SkRecords::FillBounds 395 Bounds bounds(const NoOp&) const { return Bounds::MakeEmpty(); } \/\/ NoOps don't draw. function in class:SkRecords::FillBounds 397 Bounds bounds(const DrawRect& op) const { return this->adjustAndMap(op.rect, &op.paint); } function in class:SkRecords::FillBounds 398 Bounds bounds(const DrawRegion& op) const { function in class:SkRecords::FillBounds 402 Bounds bounds(const DrawOval& op) const { return this->adjustAndMap(op.oval, &op.paint); } function in class:SkRecords::FillBounds 404 Bounds bounds(const DrawArc& op) const { return this->adjustAndMap(op.oval, &op.paint); } function in class:SkRecords::FillBounds 405 Bounds bounds(const DrawRRect& op) const { function in class:SkRecords::FillBounds 408 Bounds bounds(const DrawDRRect& op) const { function in class:SkRecords::FillBounds 411 Bounds bounds(const DrawImage& op) const { function in class:SkRecords::FillBounds 417 Bounds bounds(const DrawImageLattice& op) const { function in class:SkRecords::FillBounds 420 Bounds bounds(const DrawImageRect& op) const { function in class:SkRecords::FillBounds 423 Bounds bounds(const DrawImageNine& op) const { function in class:SkRecords::FillBounds 426 Bounds bounds(const DrawPath& op) const { function in class:SkRecords::FillBounds 430 Bounds bounds(const DrawPoints& op) const { function in class:SkRecords::FillBounds 440 Bounds bounds(const DrawPatch& op) const { function in class:SkRecords::FillBounds 445 Bounds bounds(const DrawVertices& op) const { function in class:SkRecords::FillBounds 449 Bounds bounds(const DrawAtlas& op) const { function in class:SkRecords::FillBounds 459 Bounds bounds(const DrawShadowRec& op) const { function in class:SkRecords::FillBounds 463 Bounds bounds(const DrawPicture& op) const { function in class:SkRecords::FillBounds 469 Bounds bounds(const DrawPosText& op) const { function in class:SkRecords::FillBounds 480 Bounds bounds(const DrawPosTextH& op) const { function in class:SkRecords::FillBounds 495 Bounds bounds(const DrawTextOnPath& op) const { function in class:SkRecords::FillBounds 511 Bounds bounds(const DrawTextRSXform& op) const { function in class:SkRecords::FillBounds 519 Bounds bounds(const DrawTextBlob& op) const { function in class:SkRecords::FillBounds 525 Bounds bounds(const DrawDrawable& op) const { function in class:SkRecords::FillBounds 529 Bounds bounds(const DrawAnnotation& op) const { function in class:SkRecords::FillBounds [all...] |
/prebuilts/go/darwin-x86/src/image/jpeg/ |
writer_test.go | 151 if m0.Bounds() != m1.Bounds() { 152 t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds()) 178 if m0.Bounds() != m1.Bounds() { 179 t.Fatalf("bounds differ: %v and %v", m0.Bounds(), m1.Bounds()) [all...] |
/prebuilts/go/linux-x86/src/image/jpeg/ |
writer_test.go | 151 if m0.Bounds() != m1.Bounds() { 152 t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds()) 178 if m0.Bounds() != m1.Bounds() { 179 t.Fatalf("bounds differ: %v and %v", m0.Bounds(), m1.Bounds()) [all...] |
/external/mesa3d/src/gallium/targets/haiku-softpipe/ |
SoftwareRenderer.cpp | 69 BRect b = view->Bounds(); 169 != fBitmap->Bounds().IntegerHeight() 171 != fBitmap->Bounds().IntegerWidth()) { 177 uint8 bytesPerPixel = bytesPerRow / fBitmap->Bounds().IntegerWidth(); 225 BRect sr = fBitmap->Bounds(); 226 BRect dr = bitmap->Bounds(); 270 BRect sr = bitmap->Bounds(); 271 BRect dr = fBitmap->Bounds(); 355 fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight()) [all...] |
/prebuilts/go/darwin-x86/src/image/draw/ |
example_test.go | 32 pi := image.NewPaletted(im.Bounds(), []color.Color{ 40 draw.FloydSteinberg.Draw(pi, im.Bounds(), im, image.ZP)
|
/prebuilts/go/linux-x86/src/image/draw/ |
example_test.go | 32 pi := image.NewPaletted(im.Bounds(), []color.Color{ 40 draw.FloydSteinberg.Draw(pi, im.Bounds(), im, image.ZP)
|
/prebuilts/go/darwin-x86/src/image/ |
image_test.go | 41 if !Rect(0, 0, 10, 10).Eq(m.Bounds()) { 42 t.Errorf("%T: want bounds %v, got %v", m, Rect(0, 0, 10, 10), m.Bounds()) 59 if !Rect(3, 2, 9, 8).Eq(m.Bounds()) { 60 t.Errorf("%T: sub-image want bounds %v, got %v", m, Rect(3, 2, 9, 8), m.Bounds())
|
/prebuilts/go/darwin-x86/src/image/png/ |
example_test.go | 34 for y := img.Bounds().Min.Y; y < img.Bounds().Max.Y; y++ { 35 for x := img.Bounds().Min.X; x < img.Bounds().Max.X; x++ {
|
/prebuilts/go/linux-x86/src/image/ |
image_test.go | 41 if !Rect(0, 0, 10, 10).Eq(m.Bounds()) { 42 t.Errorf("%T: want bounds %v, got %v", m, Rect(0, 0, 10, 10), m.Bounds()) 59 if !Rect(3, 2, 9, 8).Eq(m.Bounds()) { 60 t.Errorf("%T: sub-image want bounds %v, got %v", m, Rect(3, 2, 9, 8), m.Bounds())
|
/prebuilts/go/linux-x86/src/image/png/ |
example_test.go | 34 for y := img.Bounds().Min.Y; y < img.Bounds().Max.Y; y++ { 35 for x := img.Bounds().Min.X; x < img.Bounds().Max.X; x++ {
|
/external/pdfium/third_party/base/numerics/ |
safe_conversions_impl.h | 189 template <typename Dst, typename Src, template <typename> class Bounds> 223 static constexpr Dst max() { return Adjust(Bounds<Dst>::max()); } 224 static constexpr Dst lowest() { return Adjust(Bounds<Dst>::lowest()); } 229 template <typename> class Bounds, 247 template <typename> class Bounds, 252 Bounds, 258 using DstLimits = NarrowingRange<Dst, Src, Bounds>; 269 template <typename Dst, typename Src, template <typename> class Bounds> 272 Bounds, 277 using DstLimits = NarrowingRange<Dst, Src, Bounds>; [all...] |
/prebuilts/go/darwin-x86/src/image/gif/ |
writer_test.go | 48 // have the same bounds. 50 b := m0.Bounds() 94 if m0.Bounds() != m1.Bounds() { 95 t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds()) 122 if m0.Bounds() != m1.Bounds() { 123 t.Fatalf("bounds differ: %v and %v", m0.Bounds(), m1.Bounds() [all...] |
/prebuilts/go/linux-x86/src/image/gif/ |
writer_test.go | 48 // have the same bounds. 50 b := m0.Bounds() 94 if m0.Bounds() != m1.Bounds() { 95 t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds()) 122 if m0.Bounds() != m1.Bounds() { 123 t.Fatalf("bounds differ: %v and %v", m0.Bounds(), m1.Bounds() [all...] |
/external/mesa3d/src/gallium/state_trackers/hgl/ |
bitmap_wrapper.cpp | 58 uint32 w = bb->Bounds().IntegerWidth() + 1; 59 uint32 h = bb->Bounds().IntegerHeight() + 1;
|
/external/mesa3d/src/hgl/ |
GLView.cpp | 133 if (!dest || !dest->Bounds().IsValid()) 146 if (!source || !source->Bounds().IsValid()) 188 fBounds = Bounds(); 208 glViewport(0, 0, Bounds().IntegerWidth(), Bounds().IntegerHeight()); 210 fRenderer->FrameResized(Bounds().IntegerWidth(), 211 Bounds().IntegerHeight()); 258 fBounds = Bounds(); 426 // Collect the rects into a BRegion, then clip to the view's bounds 433 // window_bounds are now view bounds [all...] |