Home
last modified time | relevance | path

Searched refs:width_ (Results 1 – 25 of 107) sorted by relevance

12345

/external/chromium_org/ui/gfx/
Dsize_base.h16 Type width() const { return width_; } in width()
19 Type GetArea() const { return width_ * height_; } in GetArea()
27 set_width(width_ + width); in Enlarge()
32 width_ = width < 0 ? 0 : width; in set_width()
39 width_ = width_ <= other.width_ ? width_ : other.width_; in SetToMin()
44 width_ = width_ >= other.width_ ? width_ : other.width_; in SetToMax()
49 return (width_ == 0) || (height_ == 0); in IsEmpty()
54 : width_(width < 0 ? 0 : width), in SizeBase()
63 Type width_;
Dbox_f.h18 : width_(0.f), in BoxF()
23 : width_(width < 0 ? 0 : width), in BoxF()
29 width_(width < 0 ? 0 : width), in BoxF()
35 width_(width < 0 ? 0 : width), in BoxF()
49 set_size(width_ * x_scale, height_ * y_scale, depth_ * z_scale); in Scale()
75 float width() const { return width_; } in width()
76 void set_width(float width) { width_ = width < 0 ? 0 : width; } in set_width()
89 width_ = width < 0 ? 0 : width; in set_size()
117 float width_; variable
Dbox_f.cc17 width_, in ToString()
23 return (width_ == 0 && height_ == 0) || in IsEmpty()
24 (width_ == 0 && depth_ == 0) || in IsEmpty()
41 width_ = max_x - min_x; in ExpandTo()
/external/chromium_org/third_party/skia/src/images/
Dbmpdecoderhelper.cpp48 width_ = GetInt(); in DecodeImage()
63 width_ = GetShort(); in DecodeImage()
72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage()
75 if (width_ * height_ > max_pixels) { in DecodeImage()
129 rowLen = width_ * 4; in DecodeImage()
132 rowLen = width_ * 3; in DecodeImage()
134 rowLen = width_ * 2; in DecodeImage()
136 rowLen = width_; in DecodeImage()
138 rowLen = width_ / 2; in DecodeImage()
139 if (width_ & 1) { in DecodeImage()
[all …]
/external/skia/src/images/
Dbmpdecoderhelper.cpp48 width_ = GetInt(); in DecodeImage()
63 width_ = GetShort(); in DecodeImage()
72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage()
75 if (width_ * height_ > max_pixels) { in DecodeImage()
129 rowLen = width_ * 4; in DecodeImage()
132 rowLen = width_ * 3; in DecodeImage()
134 rowLen = width_ * 2; in DecodeImage()
136 rowLen = width_; in DecodeImage()
138 rowLen = width_ / 2; in DecodeImage()
139 if (width_ & 1) { in DecodeImage()
[all …]
/external/chromium_org/sandbox/linux/seccomp-bpf/
Derrorcode.cc41 width_(width), in ErrorCode()
62 width_ == err.width_ && op_ == err.op_ && in Equals()
87 } else if (width_ != err.width_) { in LessThan()
88 return width_ < err.width_; in LessThan()
/external/ceres-solver/examples/
Dpgm_image.h87 int height_, width_;
95 : height_(height), width_(width), data_(width*height, 0.0) { in PGMImage()
102 width_ = 0; in PGMImage()
115 return width_; in width()
125 return width_ * height_; in NumPixels()
141 CHECK(index < width_ * height_); in MutablePixelFromLinearIndex()
149 CHECK(index < width_ * height_); in PixelFromLinearIndex()
156 return x + width_*y; in LinearIndex()
191 outputfile << width_ << ' ' << height_ << " 255 " << std::endl; in WriteToFile()
194 int num_pixels = width_*height_; in WriteToFile()
[all …]
/external/chromium_org/chrome/browser/resources/print_preview/data/
Dsize.js20 this.width_ = width;
33 return this.width_;
47 this.width_ == other.width_ &&
/external/chromium_org/ppapi/examples/scaling/
Dscaling.cc30 width_(0), in MyInstance()
43 if (view_rect.width() == width_ && in DidChangeView()
49 width_ = view_rect.width(); in DidChangeView()
54 pixel_width_ = width_ * device_scale_; in DidChangeView()
85 stream << "DIP (" << width_ << ", " << height_ << "), device pixels=(" in HandleMessage()
131 device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), true); in SetupGraphics()
138 int width = using_device_pixels_ ? pixel_width_ : width_; in Paint()
203 int width_; member in MyInstance
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dfakevideorenderer.h43 width_(0), in FakeVideoRenderer()
51 width_ = width; in SetSize()
64 frame->GetWidth() != static_cast<size_t>(width_) || in RenderFrame()
69 LOG(LS_WARNING) << "RenderFrame expected frame of size " << width_ in RenderFrame()
82 int width() const { return width_; } in width()
141 int width_; variable
/external/chromium_org/content/renderer/pepper/
Dppb_image_data_impl.cc45 width_(0), in PPB_ImageData_Impl()
63 width_(0), in PPB_ImageData_Impl()
84 width_ = width; in Init()
116 desc->size.width = width_; in Describe()
118 desc->stride = width_ * 4; in Describe()
153 : width_(0), in ImageDataPlatformBackend()
175 width_ = width; in Init()
177 uint32 buffer_size = width_ * height_ * 4; in Init()
220 mapped_canvas_.reset(dib_->GetPlatformCanvas(width_, height_)); in Map()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dstacked_tab_strip_layout.cc23 width_(0), in StackedTabStripLayout()
52 if (width_ == width) in SetWidth()
55 width_ = width; in SetWidth()
136 const int max_x = width_ - size_.width(); in SizeToFit()
163 width_ - size_.width() : ideal_x(index + 1); in AddTab()
266 width_ = width; in Reset()
291 int available_width = width_ - x_; in ResetToIdealState()
300 SetIdealBoundsAt(tab_count() - 1, width_ - size_.width()); in ResetToIdealState()
311 ideal_x(tab_count() - 1) != width_ - size_.width()); in ResetToIdealState()
364 int max_x = width_ - size_.width() - in LayoutByTabOffsetAfter()
[all …]
/external/chromium_org/chrome/browser/chromeos/power/
Didle_action_warning_dialog_view.cc35 int width_; member in chromeos::__anon48397aad0111::FixedWidthLabel
42 width_(width) { in FixedWidthLabel()
51 return gfx::Size(width_, GetHeightForWidth(width_)); in GetPreferredSize()
/external/chromium_org/skia/ext/
Dimage_operations_bench.cc100 : width_(0), in Dimensions()
104 width_ = w; in set()
109 return width_; in width()
117 return (width_ > 0 && height_ > 0); in IsValid()
126 base::StringToInt(strings[0], &width_) == false || in FromString()
128 width_ = -1; // force the dimension object to be invalid. in FromString()
132 int width_; member in __anone01d48e50111::Dimensions
/external/libvpx/libvpx/test/
Dvariance_test.cc88 width_ = 1 << log2width_; in SetUp()
94 block_size_ = width_ * height_; in SetUp()
115 int width_, log2width_; member in __anon385df7ce0111::VarianceTest
129 REGISTER_STATE_CHECK(var = variance_(src_, width_, ref_, width_, &sse)); in ZeroTest()
144 REGISTER_STATE_CHECK(var1 = variance_(src_, width_, ref_, width_, &sse1)); in RefTest()
160 REGISTER_STATE_CHECK(var = variance_(src_, width_, ref_, width_, &sse)); in OneQuarterTest()
204 width_ = 1 << log2width_; in SetUp()
210 block_size_ = width_ * height_; in SetUp()
213 ref_ = new uint8_t[block_size_ + width_ + height_ + 1]; in SetUp()
233 int width_, log2width_; member in __anon385df7ce0111::SubpelVarianceTest
[all …]
Dsixtap_predict_test.cc66 width_ = GET_PARAM(0); in SetUp()
74 int width_; member in __anon853e22680111::SixtapPredictTest
149 for (int j = 0; j < width_; ++j) in TEST_P()
151 << "i==" << (i * width_ + j); in TEST_P()
176 for (int j = 0; j < width_; ++j) in TEST_P()
178 << "i==" << (i * width_ + j); in TEST_P()
Di420_video_source.h34 width_(0), in I420VideoSource()
84 if (width != width_ || height != height_) { in SetSize()
88 width_ = width; in SetSize()
110 unsigned int width_; variable
Dvideo_source.h87 DummyVideoSource() : img_(NULL), limit_(100), width_(0), height_(0) { in DummyVideoSource()
122 if (width != width_ || height != height_) { in SetSize()
126 width_ = width; in SetSize()
138 unsigned int width_; variable
/external/chromium_org/ash/system/tray/
Dfixed_sized_image_view.cc11 : width_(width), in FixedSizedImageView()
22 return gfx::Size(width_ ? width_ : size.width(), in GetPreferredSize()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtctexturevideoframe.cc43 : handle_(handle), width_(width), height_(height), in WebRtcTextureVideoFrame()
95 return width_; in GetYPitch()
100 return (width_ + 1) / 2; in GetUPitch()
105 return (width_ + 1) / 2; in GetVPitch()
110 handle_, width_, height_, elapsed_time_, time_stamp_); in Copy()
/external/chromium_org/ppapi/examples/gamepad/
Dgamepad.cc40 width_(0), in MyInstance()
57 if (rect.size().width() == width_ && in DidChangeView()
61 width_ = rect.size().width(); in DidChangeView()
64 device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), false); in DidChangeView()
119 int width_; member in MyInstance
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_column.js22 this.width_ = width;
32 width_: null, property in TableColumn
41 var tableColumn = new TableColumn(this.id_, this.name_, this.width_);
/external/chromium_org/ui/webui/resources/js/cr/ui/table/
Dtable_column.js21 this.width_ = width;
32 width_: null, property in TableColumn
43 var tableColumn = new TableColumn(this.id_, this.name_, this.width_,
/external/chromium_org/media/webm/chromeos/
Dwebm_encoder.cc79 width_ = sprite.width(); in EncodeFromSprite()
85 frame_count_ = sprite.height() / width_; in EncodeFromSprite()
88 vpx_img_alloc(&image, VPX_IMG_FMT_I420, width_, height_, 16); in EncodeFromSprite()
98 config_.g_w = width_; in EncodeFromSprite()
132 width_, sprite.height(), // src size in EncodeFromSprite()
133 width_, height_, // dest size in EncodeFromSprite()
200 Ebml_SerializeUnsigned(&ebml_writer_, PixelWidth, width_); in WriteWebmHeader()
/external/chromium_org/content/browser/renderer_host/
Dgtk_plugin_container.cc21 width_ = width; in set_size()
67 requisition->width = container->width_; in HandleSizeRequest()
71 int width_; member in content::__anon9e7a2e5f0111::GtkPluginContainer

12345