Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Unified Diff: chrome/android/java_staging/res/values/dimens_staging.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java_staging/res/values/dimens_staging.xml
diff --git a/chrome/android/java_staging/res/values/dimens_staging.xml b/chrome/android/java_staging/res/values/dimens_staging.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4f7de77d57670e62cd74dca08960a969adb58d6f
--- /dev/null
+++ b/chrome/android/java_staging/res/values/dimens_staging.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<resources>
+ <!-- Tab Strip Dimensions -->
+ <dimen name="tab_strip_height">0dp</dimen>
+
+ <!-- Full Screen Dimensions -->
+ <!-- Should match toolbar_height_no_shadow -->
+ <dimen name="control_container_height">56dp</dimen>
+ <dimen name="hosted_control_container_height">56dp</dimen>
+ <dimen name="webapp_control_container_height">22dp</dimen>
+
+ <!-- The combined height of the tab strip and toolbar. -->
+ <dimen name="tab_strip_and_toolbar_height">56dp</dimen>
+
+ <!-- TabSwitcher - Size of the shift applied to tabs when stacked. -->
+ <dimen name="stacked_tab_visible_size">4dp</dimen>
+ <!-- TabSwitcher - Buffer space above the stack. -->
+ <dimen name="stack_buffer_height">5dp</dimen>
+ <!-- TabSwitcher - Buffer space on the side of the stack. -->
+ <dimen name="stack_buffer_width">5dp</dimen>
+ <!-- TabSwitcher - Minimum spacing between tabs. -->
+ <dimen name="min_spacing">120dp</dimen>
+ <!-- TabSwitcher - Maximum over scroll. -->
+ <dimen name="over_scroll">75dp</dimen>
+ <!-- TabSwitcher - Minimum scrolling distance to even out all the tabs. -->
+ <dimen name="even_out_scrolling">400dp</dimen>
+ <!-- TabSwitcher - The space between tabs in the toolbar swiping transition. -->
+ <dimen name="toolbar_swipe_space_between_tabs">30dp</dimen>
+ <!-- TabSwitcher - The minimum distance from the edge to commit a toolbar side swap. -->
+ <dimen name="toolbar_swipe_commit_distance">90dp</dimen>
+ <!-- TabSwitcher - Maximum amount to slide the tabs down or right in over scroll. -->
+ <dimen name="over_scroll_slide">10dp</dimen>
+
+ <!-- TabSwitcher -->
+ <dimen name="tabswitcher_border_frame_padding_left">6dp</dimen>
+ <dimen name="tabswitcher_border_frame_padding_top">50dp</dimen>
+ <dimen name="tabswitcher_border_frame_transparent_top">3dp</dimen>
+ <dimen name="tabswitcher_border_frame_transparent_side">2dp</dimen>
+
+ <!-- SelectBookmarkFolder - Default indent for bookmark folders in the selection dialog. -->
+ <dimen name="select_bookmark_folder_item_left">15dp</dimen>
+ <!-- SelectBookmarkFolder - Incremental indentation for nested bookmark folders in the
+ selection dialog. -->
+ <dimen name="select_bookmark_folder_item_inc_left">10dp</dimen>
+
+ <!-- Find in Page dimensions -->
+ <dimen name="find_result_bar_touch_width">68dp</dimen>
+ <dimen name="find_result_bar_draw_width">46dp</dimen>
+ <dimen name="find_result_bar_result_min_height">8px</dimen>
+ <dimen name="find_result_bar_active_min_height">16px</dimen>
+ <dimen name="find_result_bar_vertical_padding">8px</dimen>
+ <dimen name="find_result_bar_min_gap_between_stacks">3px</dimen>
+ <dimen name="find_result_bar_stacked_result_height">3px</dimen>
+ <dimen name="find_in_page_separator_width">1dp</dimen>
+ <dimen name="find_in_page_popup_width">375dp</dimen>
+ <dimen name="find_in_page_popup_height">60dp</dimen>
+ <dimen name="find_in_page_popup_margin_end">62dp</dimen>
+
+ <!-- Toolbar dimensions -->
+ <dimen name="toolbar_tab_count_text_size_1_digit">12dp</dimen>
+ <dimen name="toolbar_tab_count_text_size_2_digit">10dp</dimen>
+ <dimen name="toolbar_height_no_shadow">56dp</dimen>
+
+ <dimen name="location_bar_margin_top">5dp</dimen>
+ <dimen name="location_bar_margin_bottom">5dp</dimen>
+
+ <dimen name="toolbar_edge_padding">8dp</dimen>
+ <dimen name="location_bar_url_text_size">17sp</dimen>
+ <dimen name="location_bar_incognito_badge_padding">7dp</dimen>
+ <dimen name="omnibox_suggestion_height">60dp</dimen>
+ <dimen name="omnibox_suggestion_answer_height">72dp</dimen>
+ <dimen name="omnibox_suggestion_list_padding_top">0dp</dimen>
+ <dimen name="omnibox_suggestion_list_padding_bottom">0dp</dimen>
+ <dimen name="location_bar_icon_width">36dp</dimen>
+ <dimen name="tablet_toolbar_end_padding">6dp</dimen>
+
+ <!-- NTP dimensions -->
+ <dimen name="most_visited_spacing">16dp</dimen>
+ <dimen name="most_visited_tile_width">156dp</dimen>
+ <dimen name="most_visited_thumbnail_width">148dp</dimen>
+ <dimen name="most_visited_thumbnail_height">94dp</dimen>
+ <dimen name="most_visited_favicon_size">16dp</dimen>
+ <dimen name="most_visited_bg_corner_radius">2dp</dimen>
+ <!-- 250dp was chosen because it's smaller than the smallest dimension on the smallest device,
+ so we'll always have at least two columns of tiles (except in multiwindow with a narrow
+ window). -->
+ <dimen name="most_visited_two_column_min_width">250dp</dimen>
+ <!-- 450dp was chosen because it's greater than the width of the largest phone in portrait yet
+ less than the width of the smallest phone in landscape. So, we'll always have two columns
+ in portrait and three in landscape (except in atypical situations, like multiwindow). -->
+ <dimen name="most_visited_three_column_min_width">450dp</dimen>
+ <dimen name="icon_most_visited_layout_max_width">504dp</dimen>
+ <dimen name="icon_most_visited_layout_padding_top">16dp</dimen>
+ <dimen name="icon_most_visited_layout_padding_side">4dp</dimen>
+ <dimen name="icon_most_visited_layout_no_logo_padding_top">28dp</dimen>
+ <dimen name="icon_most_visited_vertical_spacing">7dp</dimen>
+ <dimen name="icon_most_visited_min_horizontal_spacing">4dp</dimen>
+ <dimen name="icon_most_visited_max_horizontal_spacing">16dp</dimen>
+ <dimen name="icon_most_visited_tile_width">80dp</dimen>
+ <dimen name="icon_most_visited_icon_size">48dp</dimen>
+ <dimen name="ntp_logo_height">116dp</dimen>
+ <dimen name="ntp_list_item_padding">16dp</dimen>
+ <dimen name="ntp_list_item_min_height">48dp</dimen>
+ <dimen name="ntp_list_item_text_size">16sp</dimen>
+ <dimen name="ntp_list_item_favicon_size">16dp</dimen>
+ <dimen name="ntp_list_item_favicon_container_size">24dp</dimen>
+ <dimen name="ntp_shadow_height">9dp</dimen>
+
+ <!-- Bookmarks page -->
+ <dimen name="bookmark_folder_min_height">48dp</dimen>
+ <dimen name="bookmark_folder_text_size">16sp</dimen>
+
+ <!-- Recent tabs page -->
+ <dimen name="recent_tabs_visible_separator_padding">8dp</dimen>
+ <dimen name="recent_tabs_promo_padding">16dp</dimen>
+
+ <!-- Undo bar -->
+ <dimen name="undo_bar_height">48dp</dimen>
+ <dimen name="undo_bar_tablet_width">450dp</dimen>
+ <dimen name="undo_bar_tablet_margin">24dp</dimen>
+
+ <!-- Bookmarks widget dimensions -->
+ <dimen name="widget_thumbnail_height">94dp</dimen>
+ <dimen name="widget_horizontal_spacing">6dp</dimen>
+ <dimen name="widget_vertical_spacing">6dp</dimen>
+ <dimen name="widget_column_width">80dp</dimen>
+ <dimen name="widget_favicon_size">16dp</dimen>
+
+ <!-- Reader Mode dimensions -->
+ <dimen name="reader_mode_text_size">14sp</dimen>
+
+ <!-- Enhanced bookmarks dimensions -->
+ <dimen name="enhanced_bookmark_min_grid_width">135dp</dimen>
+ <dimen name="enhanced_bookmark_item_corner_radius">3dp</dimen>
+ <dimen name="enhanced_bookmark_item_popup_width">140dp</dimen>
+ <dimen name="enhanced_bookmark_item_half_space">4dp</dimen>
+ <dimen name="enhanced_bookmark_folder_item_left">16dp</dimen>
+ <dimen name="enhanced_bookmark_folder_item_icon_size">40dp</dimen>
+ <dimen name="enhanced_bookmark_detail_image_height">232dp</dimen>
+ <dimen name="enhanced_bookmark_minimum_dialog_size_tablet">500dp</dimen>
+ <dimen name="enhanced_bookmark_list_mode_background_margin">10dp</dimen>
+ <dimen name="enhanced_bookmark_drawer_drawable_padding">18dp</dimen>
+
+</resources>
« no previous file with comments | « chrome/android/java_staging/res/values/colors_staging.xml ('k') | chrome/android/java_staging/res/values/ids_staging.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698