ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
esphome::lvgl::LvAnimationTimingGravity Class Reference

#include <animation.h>

Inheritance diagram for esphome::lvgl::LvAnimationTimingGravity:
esphome::lvgl::LvAnimationTiming

Public Member Functions

 LvAnimationTimingGravity (float acceleration, float bounce)
 
float map_progress (float value) override
 
- Public Member Functions inherited from esphome::lvgl::LvAnimationTiming

Protected Member Functions

float calc_pos_ (float value) const
 
float calc_speed_ (float value) const
 
float calc_end_time_ () const
 

Protected Attributes

float acceleration_
 
float bounce_
 
float initial_position_ {0.0f}
 
float initial_time_ {0.0f}
 
float initial_speed_ {0.0f}
 

Detailed Description

Definition at line 32 of file animation.h.

Constructor & Destructor Documentation

◆ LvAnimationTimingGravity()

esphome::lvgl::LvAnimationTimingGravity::LvAnimationTimingGravity ( float acceleration,
float bounce )
inline

Definition at line 34 of file animation.h.

Member Function Documentation

◆ calc_end_time_()

float esphome::lvgl::LvAnimationTimingGravity::calc_end_time_ ( ) const
inlineprotected

Definition at line 66 of file animation.h.

◆ calc_pos_()

float esphome::lvgl::LvAnimationTimingGravity::calc_pos_ ( float value) const
inlineprotected

Definition at line 56 of file animation.h.

◆ calc_speed_()

float esphome::lvgl::LvAnimationTimingGravity::calc_speed_ ( float value) const
inlineprotected

Definition at line 61 of file animation.h.

◆ map_progress()

float esphome::lvgl::LvAnimationTimingGravity::map_progress ( float value)
inlineoverridevirtual

Implements esphome::lvgl::LvAnimationTiming.

Definition at line 35 of file animation.h.

Field Documentation

◆ acceleration_

float esphome::lvgl::LvAnimationTimingGravity::acceleration_
protected

Definition at line 73 of file animation.h.

◆ bounce_

float esphome::lvgl::LvAnimationTimingGravity::bounce_
protected

Definition at line 74 of file animation.h.

◆ initial_position_

float esphome::lvgl::LvAnimationTimingGravity::initial_position_ {0.0f}
protected

Definition at line 75 of file animation.h.

◆ initial_speed_

float esphome::lvgl::LvAnimationTimingGravity::initial_speed_ {0.0f}
protected

Definition at line 77 of file animation.h.

◆ initial_time_

float esphome::lvgl::LvAnimationTimingGravity::initial_time_ {0.0f}
protected

Definition at line 76 of file animation.h.


The documentation for this class was generated from the following file: