OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:computed_width
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/chrome/browser/ui/views/location_bar/
location_bar_layout.cc
48
double
computed_width
;
member in struct:LocationBarDecoration
65
computed_width
(0) {
113
(*i)->
computed_width
= (*i)->view->GetPreferredSize().width();
114
*entry_width -= (*i)->
computed_width
;
125
(*i)->
computed_width
=
128
*entry_width -= (*i)->
computed_width
;
142
(*i)->
computed_width
= (*i)->view->GetPreferredSize().width();
143
if ((*i)->
computed_width
+ padding > *available_width)
144
(*i)->
computed_width
= (*i)->view->GetMinimumSize().width();
145
if ((*i)->
computed_width
+ padding > *available_width)
[
all
...]
/external/chromium_org/chrome/browser/thumbnails/
content_analysis.cc
490
int
computed_width
= std::max(computed_size.width(), target_size.width());
local
492
float computed_aspect = static_cast<float>(
computed_width
) / computed_height;
501
int new_computed_width =
computed_width
;
506
static_cast<float>(image_size.width()) /
computed_width
;
517
static_cast<int>(
computed_width
/ desired_aspect + 0.5f));
528
static_cast<int>(
computed_width
/ desired_aspect + 0.5f));
553
new_computed_height =
computed_width
/ desired_aspect + 0.5f;
570
computed_width
= new_computed_width;
577
return gfx::Size(
computed_width
, computed_height);
Completed in 156 milliseconds