OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LinearIntValueBetween
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/ui/gfx/animation/
tween_unittest.cc
106
TEST(TweenTest,
LinearIntValueBetween
) {
107
EXPECT_EQ(0, Tween::
LinearIntValueBetween
(0.0, 0, 2));
108
EXPECT_EQ(0, Tween::
LinearIntValueBetween
(0.5 / 4.0, 0, 2));
109
EXPECT_EQ(0, Tween::
LinearIntValueBetween
(0.99 / 4.0, 0, 2));
111
EXPECT_EQ(1, Tween::
LinearIntValueBetween
(1.0 / 4.0, 0, 2));
112
EXPECT_EQ(1, Tween::
LinearIntValueBetween
(1.5 / 4.0, 0, 2));
113
EXPECT_EQ(1, Tween::
LinearIntValueBetween
(2.0 / 4.0, 0, 2));
114
EXPECT_EQ(1, Tween::
LinearIntValueBetween
(2.5 / 4.0, 0, 2));
115
EXPECT_EQ(1, Tween::
LinearIntValueBetween
(2.99 / 4.0, 0, 2));
117
EXPECT_EQ(2, Tween::
LinearIntValueBetween
(3.0 / 4.0, 0, 2))
[
all
...]
tween.cc
151
int Tween::
LinearIntValueBetween
(double value, int start, int target) {
160
LinearIntValueBetween
(value, start_bounds.x(), target_bounds.x()),
161
LinearIntValueBetween
(value, start_bounds.y(), target_bounds.y()),
162
LinearIntValueBetween
(value, start_bounds.width(), target_bounds.width()),
163
LinearIntValueBetween
(
tween.h
54
static int
LinearIntValueBetween
(double value, int start, int target);
/external/chromium_org/cc/output/
filter_operation.cc
232
gfx::Tween::
LinearIntValueBetween
(progress,
235
gfx::Tween::
LinearIntValueBetween
(progress,
243
std::max(gfx::Tween::
LinearIntValueBetween
(
/external/chromium_org/ash/frame/caption_buttons/
frame_caption_button_container_view.cc
267
size_alpha = gfx::Tween::
LinearIntValueBetween
(tweened_value_alpha, 0, 255);
271
minimize_x = gfx::Tween::
LinearIntValueBetween
(tweened_value_slide,
278
size_alpha = gfx::Tween::
LinearIntValueBetween
(tweened_value_alpha, 255, 0);
285
minimize_x = gfx::Tween::
LinearIntValueBetween
(tweened_value_position, 0,
Completed in 686 milliseconds