Home
last modified time | relevance | path

Searched refs:AsValue (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/cc/quads/
Dshared_quad_state.cc46 scoped_ptr<base::Value> SharedQuadState::AsValue() const { in AsValue() function in cc::SharedQuadState
49 MathUtil::AsValue(content_to_target_transform).release()); in AsValue()
51 MathUtil::AsValue(content_bounds).release()); in AsValue()
53 MathUtil::AsValue(visible_content_rect).release()); in AsValue()
55 value->Set("clip_rect", MathUtil::AsValue(clip_rect).release()); in AsValue()
Ddraw_quad.cc104 scoped_ptr<base::Value> DrawQuad::AsValue() const { in AsValue() function in cc::DrawQuad
110 value->Set("content_space_rect", MathUtil::AsValue(rect).release()); in AsValue()
117 MathUtil::AsValue(rect_as_target_space_quad).release()); in AsValue()
121 MathUtil::AsValue(opaque_rect).release()); in AsValue()
128 MathUtil::AsValue(opaque_rect_as_target_space_quad).release()); in AsValue()
132 MathUtil::AsValue(visible_rect).release()); in AsValue()
139 MathUtil::AsValue(visible_rect_as_target_space_quad).release()); in AsValue()
Drender_pass_draw_quad.cc104 MathUtil::AsValue(contents_changed_since_last_frame).release()); in ExtendValue()
105 value->Set("mask_uv_rect", MathUtil::AsValue(mask_uv_rect).release()); in ExtendValue()
106 value->Set("filters", filters.AsValue().release()); in ExtendValue()
107 value->Set("background_filters", background_filters.AsValue().release()); in ExtendValue()
Drender_pass.cc148 scoped_ptr<base::Value> RenderPass::AsValue() const { in AsValue() function in cc::RenderPass
150 value->Set("output_rect", MathUtil::AsValue(output_rect).release()); in AsValue()
151 value->Set("damage_rect", MathUtil::AsValue(damage_rect).release()); in AsValue()
156 shared_states_value->Append(shared_quad_state_list[i]->AsValue().release()); in AsValue()
161 quad_list_value->Append(quad_list[i]->AsValue().release()); in AsValue()
Dcontent_draw_quad_base.cc53 value->Set("tex_coord_rect", MathUtil::AsValue(tex_coord_rect).release()); in ExtendValue()
54 value->Set("texture_size", MathUtil::AsValue(texture_size).release()); in ExtendValue()
Dtexture_draw_quad.cc90 value->Set("uv_top_left", MathUtil::AsValue(uv_top_left).release()); in ExtendValue()
91 value->Set("uv_bottom_right", MathUtil::AsValue(uv_bottom_right).release()); in ExtendValue()
Dshared_quad_state.h34 scoped_ptr<base::Value> AsValue() const;
Dstream_video_draw_quad.cc58 value->Set("matrix", MathUtil::AsValue(matrix).release()); in ExtendValue()
/external/chromium_org/cc/base/
Dmath_util.h168 static scoped_ptr<base::Value> AsValue(gfx::Size s);
169 static scoped_ptr<base::Value> AsValue(gfx::SizeF s);
170 static scoped_ptr<base::Value> AsValue(gfx::Rect r);
172 static scoped_ptr<base::Value> AsValue(gfx::PointF q);
173 static scoped_ptr<base::Value> AsValue(const gfx::QuadF& q);
174 static scoped_ptr<base::Value> AsValue(const gfx::RectF& rect);
175 static scoped_ptr<base::Value> AsValue(const gfx::Transform& transform);
176 static scoped_ptr<base::Value> AsValue(const gfx::BoxF& box);
Dmath_util.cc510 scoped_ptr<base::Value> MathUtil::AsValue(gfx::Size s) { in AsValue() function in cc::MathUtil
517 scoped_ptr<base::Value> MathUtil::AsValue(gfx::SizeF s) { in AsValue() function in cc::MathUtil
524 scoped_ptr<base::Value> MathUtil::AsValue(gfx::Rect r) { in AsValue() function in cc::MathUtil
554 scoped_ptr<base::Value> MathUtil::AsValue(gfx::PointF pt) { in AsValue() function in cc::MathUtil
561 scoped_ptr<base::Value> MathUtil::AsValue(const gfx::QuadF& q) { in AsValue() function in cc::MathUtil
574 scoped_ptr<base::Value> MathUtil::AsValue(const gfx::RectF& rect) { in AsValue() function in cc::MathUtil
583 scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Transform& transform) { in AsValue() function in cc::MathUtil
593 scoped_ptr<base::Value> MathUtil::AsValue(const gfx::BoxF& box) { in AsValue() function in cc::MathUtil
/external/chromium_org/cc/resources/
Dtile.cc60 scoped_ptr<base::Value> Tile::AsValue() const { in AsValue() function in cc::Tile
67 res->Set("content_rect", MathUtil::AsValue(content_rect_).release()); in AsValue()
69 res->Set("active_priority", priority_[ACTIVE_TREE].AsValue().release()); in AsValue()
70 res->Set("pending_priority", priority_[PENDING_TREE].AsValue().release()); in AsValue()
71 res->Set("managed_state", managed_state_.AsValue().release()); in AsValue()
Dtile_priority.h79 scoped_ptr<base::Value> AsValue() const;
164 scoped_ptr<base::Value> AsValue() const;
Dtile_priority.cc88 scoped_ptr<base::Value> TilePriority::AsValue() const { in AsValue() function in cc::TilePriority
176 scoped_ptr<base::Value> GlobalStateThatImpactsTilePriority::AsValue() const { in AsValue() function in cc::GlobalStateThatImpactsTilePriority
Dpicture_unittest.cc55 one_rect_picture->AsValue()); in TEST()
82 two_rect_picture->AsValue()); in TEST()
405 one_rect_picture->AsValue()); in TEST()
/external/chromium_org/cc/layers/
Dui_resource_layer_impl.cc142 result->Set("ImageBounds", MathUtil::AsValue(image_bounds_).release()); in LayerTreeAsJson()
151 result->Set("UVTopLeft", MathUtil::AsValue(uv_top_left_).release()); in LayerTreeAsJson()
152 result->Set("UVBottomRight", MathUtil::AsValue(uv_bottom_right_).release()); in LayerTreeAsJson()
Dlayer_impl.cc623 scoped_ptr<base::Value> region = touch_event_handler_region_.AsValue(); in LayerTreeAsJson()
1326 state->Set("bounds", MathUtil::AsValue(bounds()).release()); in AsValueInto()
1337 state->Set("layer_quad", MathUtil::AsValue(layer_quad).release()); in AsValueInto()
1341 touch_event_handler_region_.AsValue().release()); in AsValueInto()
1347 wheel_region.AsValue().release()); in AsValueInto()
1351 non_fast_scrollable_region_.AsValue().release()); in AsValueInto()
1356 children_list->Append(children_[i]->AsValue().release()); in AsValueInto()
1359 state->Set("mask_layer", mask_layer_->AsValue().release()); in AsValueInto()
1361 state->Set("replica_layer", replica_layer_->AsValue().release()); in AsValueInto()
1377 state->Set("animated_bounds", MathUtil::AsValue(inflated).release()); in AsValueInto()
[all …]
/external/chromium_org/cc/scheduler/
Dscheduler_state_machine.cc179 scoped_ptr<base::Value> SchedulerStateMachine::AsValue() const { in AsValue() function in cc::SchedulerStateMachine
736 << *AsValue(); in UpdateStateOnDraw()
890 DCHECK_EQ(begin_impl_frame_state_, BEGIN_IMPL_FRAME_STATE_IDLE) << *AsValue(); in OnBeginImplFrame()
897 << *AsValue(); in OnBeginImplFrameDeadlinePending()
903 << *AsValue(); in OnBeginImplFrameDeadline()
909 << *AsValue(); in OnBeginImplFrameIdle()
1066 DCHECK(commit_state_ == COMMIT_STATE_FRAME_IN_PROGRESS) << *AsValue(); in FinishCommit()
Dscheduler_state_machine_unittest.cc11 EXPECT_EQ(action, state.NextAction()) << *state.AsValue(); \
21 << *state.AsValue(); \
511 << *state.AsValue(); in TEST()
560 << *state.AsValue(); in TEST()
561 EXPECT_EQ(expected_action, state.NextAction()) << *state.AsValue(); in TEST()
566 << *state.AsValue(); in TEST()
567 EXPECT_EQ(expected_action, state.NextAction()) << *state.AsValue(); in TEST()
600 << *state.AsValue(); in TEST()
1417 << *state.AsValue(); in TEST()
1425 << *state.AsValue(); in TEST()
[all …]
/external/chromium_org/extensions/common/
Devent_filtering_info.h44 scoped_ptr<base::Value> AsValue() const;
Devent_filtering_info.cc31 scoped_ptr<base::Value> EventFilteringInfo::AsValue() const { in AsValue() function in extensions::EventFilteringInfo
/external/chromium_org/cc/test/
Dfake_proxy.cc46 scoped_ptr<base::Value> FakeProxy::AsValue() const { in AsValue() function in cc::FakeProxy
/external/chromium_org/cc/output/
Dfilter_operations.h71 scoped_ptr<base::Value> AsValue() const;
Dfilter_operations.cc197 scoped_ptr<base::Value> FilterOperations::AsValue() const { in AsValue() function in cc::FilterOperations
200 value->Append(operations_[i].AsValue().release()); in AsValue()
/external/chromium_org/chrome/browser/ui/webui/chromeos/first_run/
Dfirst_run_actor.cc45 scoped_ptr<base::DictionaryValue> FirstRunActor::StepPosition::AsValue() const { in AsValue() function in chromeos::FirstRunActor::StepPosition
/external/chromium_org/cc/debug/
Dtraced_picture.cc55 scoped_ptr<base::Value> value = picture_->AsValue(); in AppendPicture()

123