mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: forward
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
937ef82130
commit
e479411f59
3 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ static Animation *prv_create_custom_animation(void) {
|
||||||
|
|
||||||
|
|
||||||
static void click_handler(ClickRecognizerRef recognizer, Window *window) {
|
static void click_handler(ClickRecognizerRef recognizer, Window *window) {
|
||||||
// If the animation is still running, fast-foward to 300ms from the end
|
// If the animation is still running, fast-forward to 300ms from the end
|
||||||
if (animation_is_scheduled(s_animation)) {
|
if (animation_is_scheduled(s_animation)) {
|
||||||
uint32_t duration = animation_get_duration(s_animation, true, true);
|
uint32_t duration = animation_get_duration(s_animation, true, true);
|
||||||
animation_set_elapsed(s_animation, duration - 300);
|
animation_set_elapsed(s_animation, duration - 300);
|
||||||
|
|
|
@ -87,7 +87,7 @@ static void prv_fill_high_low_temp_buffer(const int high, const int low, char *b
|
||||||
/// Shown when only the day's low temperature is known (e.g. "--° / 52°")
|
/// Shown when only the day's low temperature is known (e.g. "--° / 52°")
|
||||||
snprintf(buffer, buffer_size, i18n_get("--° / %i°", i18n_owner), low);
|
snprintf(buffer, buffer_size, i18n_get("--° / %i°", i18n_owner), low);
|
||||||
} else {
|
} else {
|
||||||
/// A day's high and low temperature, separated by a foward slash (e.g. "68° / 52°")
|
/// A day's high and low temperature, separated by a forward slash (e.g. "68° / 52°")
|
||||||
snprintf(buffer, buffer_size, i18n_get("%i° / %i°", i18n_owner), high, low);
|
snprintf(buffer, buffer_size, i18n_get("%i° / %i°", i18n_owner), high, low);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,7 @@ void test_kino_player__cleanup(void) {
|
||||||
|
|
||||||
extern void prv_play_animation_update(Animation *animation, const AnimationProgress normalized);
|
extern void prv_play_animation_update(Animation *animation, const AnimationProgress normalized);
|
||||||
|
|
||||||
void test_kino_player__finite_animation_finite_reel_foward(void) {
|
void test_kino_player__finite_animation_finite_reel_forward(void) {
|
||||||
// Choose duration and elapsed to have clean division for
|
// Choose duration and elapsed to have clean division for
|
||||||
// ANIMATION_NORMALIZED_MAX * elapsed / duration = whole_number
|
// ANIMATION_NORMALIZED_MAX * elapsed / duration = whole_number
|
||||||
test_reel_data->duration_ms = 300;
|
test_reel_data->duration_ms = 300;
|
||||||
|
@ -127,7 +127,7 @@ void test_kino_player__finite_animation_finite_reel_foward(void) {
|
||||||
cl_assert_equal_i(kino_reel_get_elapsed(test_reel), 20);
|
cl_assert_equal_i(kino_reel_get_elapsed(test_reel), 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_kino_player__create_finite_animation_finite_reel_foward(void) {
|
void test_kino_player__create_finite_animation_finite_reel_forward(void) {
|
||||||
// Choose duration and elapsed to have clean division for
|
// Choose duration and elapsed to have clean division for
|
||||||
// ANIMATION_NORMALIZED_MAX * elapsed / duration = whole_number
|
// ANIMATION_NORMALIZED_MAX * elapsed / duration = whole_number
|
||||||
test_reel_data->duration_ms = 300;
|
test_reel_data->duration_ms = 300;
|
||||||
|
|
Loading…
Add table
Reference in a new issue