/external/chromium_org/third_party/webrtc/test/ |
frame_generator.cc | 25 : angle_(0.0), width_(width), height_(height) { 36 angle_ += 30.0; 37 uint8_t u = fabs(sin(angle_)) * 0xFF; 38 uint8_t v = fabs(cos(angle_)) * 0xFF; 47 double angle_; member in class:webrtc::test::__anon20082::ChromaGenerator
|
/external/chromium_org/mojo/examples/sample_app/ |
spinning_cube.cc | 312 GLfloat angle_; // Survives losing the GL context. member in class:mojo::examples::SpinningCube::GLState 325 : angle_(0) { 347 state_->angle_ = 45.0f; 412 state_->angle_ += RotationForTimeDelta(delta_time) * fling_multiplier_; 413 if (state_->angle_ >= 360.0f) 414 state_->angle_ -= 360.0f; 426 state_->angle_ += RotationForDragDistance(distance); 427 if (state_->angle_ >= 360.0f ) 428 state_->angle_ -= 360.0f; 466 modelview.Rotate(state_->angle_ * direction_, 1.0, 0.0, 1.0) [all...] |
/external/chromium_org/ppapi/examples/compositor/ |
spinning_cube.cc | 295 GLfloat angle_; // Survives losing the GL context. member in class:SpinningCube::GLState 307 : angle_(0) { 327 state_->angle_ = 45.0f; 400 state_->angle_ += RotationForTimeDelta(delta_time) * fling_multiplier_; 401 if (state_->angle_ >= 360.0f) 402 state_->angle_ -= 360.0f; 414 state_->angle_ += RotationForDragDistance(distance); 415 if (state_->angle_ >= 360.0f ) 416 state_->angle_ -= 360.0f; 456 modelview.Rotate(state_->angle_ * direction_, 1.0, 0.0, 1.0) [all...] |
/external/chromium_org/ppapi/examples/gles2_spinning_cube/ |
spinning_cube.cc | 311 GLfloat angle_; // Survives losing the GL context. member in class:SpinningCube::GLState 323 : angle_(0) { 343 state_->angle_ = 45.0f; 410 state_->angle_ += RotationForTimeDelta(delta_time) * fling_multiplier_; 411 if (state_->angle_ >= 360.0f) 412 state_->angle_ -= 360.0f; 424 state_->angle_ += RotationForDragDistance(distance); 425 if (state_->angle_ >= 360.0f ) 426 state_->angle_ -= 360.0f; 463 modelview.Rotate(state_->angle_ * direction_, 1.0, 0.0, 1.0) [all...] |
/external/chromium_org/content/renderer/screen_orientation/ |
screen_orientation_dispatcher_unittest.cc | 35 unsigned angle_; member in struct:content::MockLockOrientationCallback::LockOrientationResultHolder 46 results_->angle_ = angle; 203 EXPECT_EQ(orientations[i].angle, callback_results.angle_);
|