• Home
  • Raw
  • Download

Lines Matching refs:scale_factor

98 bool CefImageImpl::AddBitmap(float scale_factor,  in AddBitmap()  argument
123 return AddBitmap(scale_factor, bitmap); in AddBitmap()
126 bool CefImageImpl::AddPNG(float scale_factor, in AddPNG() argument
135 return AddBitmap(scale_factor, bitmap); in AddPNG()
138 bool CefImageImpl::AddJPEG(float scale_factor, in AddJPEG() argument
146 return AddBitmap(scale_factor, *bitmap); in AddJPEG()
159 bool CefImageImpl::HasRepresentation(float scale_factor) { in HasRepresentation() argument
161 return image_.AsImageSkia().HasRepresentation(scale_factor); in HasRepresentation()
164 bool CefImageImpl::RemoveRepresentation(float scale_factor) { in RemoveRepresentation() argument
167 if (image_skia.HasRepresentation(scale_factor)) { in RemoveRepresentation()
168 image_skia.RemoveRepresentation(scale_factor); in RemoveRepresentation()
174 bool CefImageImpl::GetRepresentationInfo(float scale_factor, in GetRepresentationInfo() argument
183 const gfx::ImageSkiaRep& rep = image_skia.GetRepresentation(scale_factor); in GetRepresentationInfo()
193 CefRefPtr<CefBinaryValue> CefImageImpl::GetAsBitmap(float scale_factor, in GetAsBitmap() argument
202 const SkBitmap* bitmap = GetBitmap(scale_factor); in GetAsBitmap()
225 CefRefPtr<CefBinaryValue> CefImageImpl::GetAsPNG(float scale_factor, in GetAsPNG() argument
230 const SkBitmap* bitmap = GetBitmap(scale_factor); in GetAsPNG()
244 CefRefPtr<CefBinaryValue> CefImageImpl::GetAsJPEG(float scale_factor, in GetAsJPEG() argument
249 const SkBitmap* bitmap = GetBitmap(scale_factor); in GetAsJPEG()
278 const float scale_factor = in AddBitmaps() local
280 AddBitmap(scale_factor, bitmap); in AddBitmaps()
285 float scale_factor) const { in GetForced1xScaleRepresentation()
287 if (scale_factor == 1.0f) { in GetForced1xScaleRepresentation()
292 const SkBitmap* bitmap = GetBitmap(scale_factor); in GetForced1xScaleRepresentation()
304 bool CefImageImpl::AddBitmap(float scale_factor, const SkBitmap& bitmap) { in AddBitmap() argument
319 gfx::ImageSkiaRep skia_rep(n32_bitmap, scale_factor); in AddBitmap()
329 const SkBitmap* CefImageImpl::GetBitmap(float scale_factor) const { in GetBitmap()
335 const gfx::ImageSkiaRep& rep = image_skia.GetRepresentation(scale_factor); in GetBitmap()