HomeSort by relevance Sort by last modified time
    Searched refs:Size (Results 51 - 75 of 3858) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/thumbnails/
content_analysis.h 13 #include "ui/gfx/size.h"
22 // gaussian-smoothed image. Beware, this is fairly slow since kernel size is
37 const gfx::Size& target_size,
47 // target size for retargeting in ConstrainedProfileSegmentation. |target_size|
48 // is the desired image size (defines aspect ratio and minimal image size) while
49 // |computed_size| is the size of a result of unconstrained segmentation.
52 gfx::Size AdjustClippingSizeToAspectRatio(const gfx::Size& target_size,
53 const gfx::Size& image_size
    [all...]
  /external/chromium_org/content/browser/renderer_host/
dip_util.h 13 class Size;
23 // Utility functions that convert point/size/rect between DIP and pixel
27 CONTENT_EXPORT gfx::Size ConvertViewSizeToPixel(
28 const RenderWidgetHostView* view, const gfx::Size& size_in_dip);
32 CONTENT_EXPORT gfx::Size ConvertSizeToDIP(
33 float scale_factor, const gfx::Size& size_in_pixel);
36 CONTENT_EXPORT gfx::Size ConvertSizeToPixel(
37 float scale_factor, const gfx::Size& size_in_pixel);
compositing_iosurface_transformer_mac.h 12 #include "ui/gfx/size.h"
54 const gfx::Size& dst_size, GLuint* texture);
59 // size y (luminance) plane and half-width, half-height u and v (blue and
66 // size of their corresponding texture, if it was to be treated like RGBA
75 // If |src_subrect|'s size does not match |dst_size|, the source will be
82 const gfx::Size& dst_size,
84 gfx::Size* packed_y_size, gfx::Size* packed_uv_size);
96 // If necessary, generate the texture and/or resize it to the given |size|.
97 void PrepareTexture(CachedTexture which, const gfx::Size& size)
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/
VectorBlock.h 19 MatrixBase<Derived>::start(Index size)
22 return VectorBlock<Derived>(derived(), 0, size);
28 MatrixBase<Derived>::start(Index size) const
31 return VectorBlock<const Derived>(derived(), 0, size);
37 MatrixBase<Derived>::end(Index size)
40 return VectorBlock<Derived>(derived(), this->size() - size, size);
46 MatrixBase<Derived>::end(Index size) const
49 return VectorBlock<const Derived>(derived(), this->size() - size, size)
    [all...]
  /external/llvm/lib/Support/
FormattedStream.cpp 23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) {
29 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) {
47 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) {
51 if (Ptr <= Scanned && Scanned <= Ptr + Size)
54 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
56 UpdatePosition(Position, Ptr, Size);
59 Scanned = Ptr + Size;
75 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) {
77 ComputePosition(Ptr, Size);
81 TheStream->write(Ptr, Size);
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/utils/
SizeAreaComparator.java 19 import android.util.Size;
28 * Comparator for {@link Size} objects by the area.
32 public class SizeAreaComparator implements Comparator<Size> {
37 public int compare(Size size, Size size2) {
38 checkNotNull(size, "size must not be null");
41 if (size.equals(size2)) {
45 long width = size.getWidth()
    [all...]
  /external/chromium_org/ash/system/tray/
fixed_sized_image_view.cc 19 gfx::Size FixedSizedImageView::GetPreferredSize() const {
20 gfx::Size size = views::ImageView::GetPreferredSize(); local
21 return gfx::Size(width_ ? width_ : size.width(),
22 height_ ? height_ : size.height());
  /external/chromium_org/cc/test/
pixel_test_output_surface.h 19 virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE;
22 void set_surface_expansion_size(const gfx::Size& surface_expansion_size) {
30 gfx::Size surface_expansion_size_;
  /external/chromium_org/chrome/renderer/prerender/
prerender_extra_data.h 10 #include "ui/gfx/size.h"
18 const gfx::Size& size);
23 const gfx::Size& size() const { return size_; } function in class:prerender::PrerenderExtraData
31 const gfx::Size size_;
  /external/chromium_org/components/favicon_base/
select_favicon_frames.h 16 class Size;
29 // WebContents::DownloadImage() does resampling if it is passed a max size.)
33 // The score is arbitrary, but it's best for exact size matches,
42 const std::vector<gfx::Size>& original_sizes,
49 // |desired_sizes|, the index of the largest size is returned. If |score| is
55 // that the index of the largest size is requested.
58 void SelectFaviconFrameIndices(const std::vector<gfx::Size>& frame_pixel_sizes,
  /external/chromium_org/content/common/gpu/
image_transport_surface_iosurface_mac.h 24 virtual gfx::Size GetRoundedSize(gfx::Size size) OVERRIDE;
26 CGLContextObj context, gfx::Size size) OVERRIDE;
  /external/chromium_org/content/public/browser/
browser_plugin_guest_delegate.h 17 class Size;
38 // Notifies that the content size of the guest has changed in autosize mode.
39 virtual void SizeChanged(const gfx::Size& old_size,
40 const gfx::Size& new_size) {}
  /external/chromium_org/third_party/libjingle/source/talk/base/
atomicops_unittest.cc 49 EXPECT_EQ(0u, queue.Size());
58 EXPECT_EQ(0u, queue.Size());
66 EXPECT_EQ(0u, queue.Size());
68 EXPECT_EQ(1u, queue.Size());
70 EXPECT_EQ(2u, queue.Size());
72 EXPECT_EQ(2u, queue.Size());
76 EXPECT_EQ(1u, queue.Size());
79 EXPECT_EQ(0u, queue.Size());
81 EXPECT_EQ(0u, queue.Size());
87 EXPECT_EQ(0u, queue.Size());
    [all...]
  /external/chromium_org/third_party/webrtc/base/
atomicops_unittest.cc 32 EXPECT_EQ(0u, queue.Size());
41 EXPECT_EQ(0u, queue.Size());
49 EXPECT_EQ(0u, queue.Size());
51 EXPECT_EQ(1u, queue.Size());
53 EXPECT_EQ(2u, queue.Size());
55 EXPECT_EQ(2u, queue.Size());
59 EXPECT_EQ(1u, queue.Size());
62 EXPECT_EQ(0u, queue.Size());
64 EXPECT_EQ(0u, queue.Size());
70 EXPECT_EQ(0u, queue.Size());
    [all...]
  /external/chromium_org/ui/gfx/image/
canvas_image_source.h 12 #include "ui/gfx/size.h"
24 CanvasImageSource(const gfx::Size& size, bool is_opaque);
29 // Returns the size of images in DIP that this source will generate.
30 const gfx::Size& size() const { return size_; }; function in class:gfx::CanvasImageSource
38 const gfx::Size size_;
  /external/deqp/framework/common/
tcuCPUWarmup.cpp 41 template <typename T, int Size>
42 static inline float floatMedian (const T (&v)[Size])
44 T temp[Size];
45 for (int i = 0; i < Size; i++)
50 return Size % 2 == 0
51 ? 0.5f * ((float)temp[Size/2-1] + (float)temp[Size/2])
52 : (float)temp[Size/2];
55 template <typename T, int Size>
56 static inline float floatRelativeMedianAbsoluteDeviation (const T (&v)[Size])
    [all...]
tcuVectorUtil.hpp 132 template <typename T, int Size>
133 inline T dot (const Vector<T, Size>& a, const Vector<T, Size>& b)
136 for (int i = 0; i < Size; i++)
141 template <typename T, int Size>
142 inline T lengthSquared (const Vector<T, Size>& a)
145 for (int i = 0; i < Size; i++)
150 template <typename T, int Size>
151 inline T length (const Vector<T, Size>& a)
156 template <typename T, int Size>
    [all...]
  /external/chromium_org/cc/layers/
paint_properties.h 8 #include "ui/gfx/size.h"
16 gfx::Size bounds;
  /external/chromium_org/chrome/browser/ui/views/location_bar/
ev_bubble_view.h 23 virtual gfx::Size GetMinimumSize() const OVERRIDE;
28 // Returns what the minimum size would be if the label text were |text|.
29 gfx::Size GetMinimumSizeForLabelText(const base::string16& text) const;
32 // Returns what the minimum size would be if the preferred size were |size|.
33 gfx::Size GetMinimumSizeForPreferredSize(gfx::Size size) const;
  /external/chromium_org/chrome/browser/ui/window_sizer/
window_sizer_aura.cc 14 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size,
  /external/chromium_org/chrome/common/
icon_with_badge_image_source.h 15 class Size;
24 const gfx::Size& icon_size,
25 const gfx::Size& spacing,
39 gfx::Size spacing_;
  /external/chromium_org/components/web_modal/
test_web_contents_modal_dialog_host.h 13 #include "ui/gfx/size.h"
23 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
25 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
29 void set_max_dialog_size(const gfx::Size& max_dialog_size) {
35 gfx::Size max_dialog_size_;
  /external/chromium_org/content/common/gpu/client/
gpu_memory_buffer_impl_shm.h 15 GpuMemoryBufferImplShm(const gfx::Size& size, unsigned internalformat);
18 // Allocates a shared memory backed GPU memory buffer with |size| and
21 const gfx::Size& size,
26 static bool IsLayoutSupported(const gfx::Size& size, unsigned internalformat);
28 static bool IsConfigurationSupported(const gfx::Size& size,
  /external/chromium_org/content/public/child/
image_decoder_utils.h 10 #include "ui/gfx/size.h"
20 const gfx::Size& desired_image_size,
21 size_t size);
  /external/chromium_org/native_client_sdk/src/examples/demo/flock/
sprite.h 11 #include "ppapi/cpp/size.h"
22 // is assumed to be size.width() * sizeof(uint32_t).
23 Sprite(uint32_t* pixel_buffer, const pp::Size& size, int32_t stride = 0);
31 // is 0, then the number of bytes per row is assumed to be size.width() *
34 const pp::Size& size,
47 const pp::Size& size() const { function in class:Sprite
53 pp::Size pixel_buffer_size_
    [all...]

Completed in 1418 milliseconds

1 23 4 5 6 7 8 91011>>