Skip to content

Commit

Permalink
Faster tab transition
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwibrowser committed Dec 13, 2021
1 parent 3fee1ac commit 730417c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ class LocationBarMediator
VoiceRecognitionHandler.Observer, AssistantVoiceSearchService.Observer,
UrlBarDelegate, OnKeyListener, ComponentCallbacks,
TemplateUrlService.TemplateUrlServiceObserver {
private static final int ICON_FADE_ANIMATION_DURATION_MS = 150;
private static final int ICON_FADE_ANIMATION_DELAY_MS = 75;
private static final int ICON_FADE_ANIMATION_DURATION_MS = 1;
private static final int ICON_FADE_ANIMATION_DELAY_MS = 1;
private static final long NTP_KEYBOARD_FOCUS_DURATION_MS = 200;
private static final int WIDTH_CHANGE_ANIMATION_DURATION_MS = 225;
private static final int WIDTH_CHANGE_ANIMATION_DELAY_MS = 75;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
*/
public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabCountObserver {
/** The amount of time transitioning from one theme color to another should take in ms. */
public static final long THEME_COLOR_TRANSITION_DURATION = 250; // In theory 417, since we have sped-up animation 0.6 in Kiwi, so we could adjust back to make it slower
public static final long THEME_COLOR_TRANSITION_DURATION = 50; // In theory 417, since we have sped-up animation 0.6 in Kiwi, so we could adjust back to make it slower

public static final int URL_FOCUS_CHANGE_ANIMATION_DURATION_MS = 225;
private static final int URL_FOCUS_TOOLBAR_BUTTONS_DURATION_MS = 100;
Expand Down

0 comments on commit 730417c

Please sign in to comment.