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

Side by Side Diff: chrome/android/java/res/values/dimens.xml

Issue 2033683002: [Android] Specify compositor tab title size in scaled pixels. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TitleBitmapFactory.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <resources> 6 <resources>
7 <!-- Connection info popup dimensions --> 7 <!-- Connection info popup dimensions -->
8 <dimen name="connection_info_padding_wide">24dp</dimen> 8 <dimen name="connection_info_padding_wide">24dp</dimen>
9 <dimen name="connection_info_padding_thin">16dp</dimen> 9 <dimen name="connection_info_padding_thin">16dp</dimen>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 <dimen name="data_reduction_promo_normal_text_size">14sp</dimen> 130 <dimen name="data_reduction_promo_normal_text_size">14sp</dimen>
131 <dimen name="data_reduction_promo_button_text_size">13sp</dimen> 131 <dimen name="data_reduction_promo_button_text_size">13sp</dimen>
132 <dimen name="data_reduction_promo_illustration_margin_bottom">30dp</dimen> 132 <dimen name="data_reduction_promo_illustration_margin_bottom">30dp</dimen>
133 133
134 <!-- Compositor Tab Title Dimensions --> 134 <!-- Compositor Tab Title Dimensions -->
135 <dimen name="compositor_tab_title_bar_shadow_x_offset">0.6667dp</dimen> <!-- 1px hdpi --> 135 <dimen name="compositor_tab_title_bar_shadow_x_offset">0.6667dp</dimen> <!-- 1px hdpi -->
136 <dimen name="compositor_tab_title_bar_shadow_y_offset">0.6667dp</dimen> <!-- 1px hdpi --> 136 <dimen name="compositor_tab_title_bar_shadow_y_offset">0.6667dp</dimen> <!-- 1px hdpi -->
137 <dimen name="compositor_tab_title_bar_shadow_x_offset_incognito">-0.6667dp</ dimen> <!-- -1px hdpi --> 137 <dimen name="compositor_tab_title_bar_shadow_x_offset_incognito">-0.6667dp</ dimen> <!-- -1px hdpi -->
138 <dimen name="compositor_tab_title_bar_shadow_y_offset_incognito">-0.6667dp</ dimen> <!-- -1px hdpi --> 138 <dimen name="compositor_tab_title_bar_shadow_y_offset_incognito">-0.6667dp</ dimen> <!-- -1px hdpi -->
139 <!-- The size of the text for tab titles. --> 139 <!-- The size of the text for tab titles. -->
140 <dimen name="compositor_tab_title_text_size">13dp</dimen> 140 <dimen name="compositor_tab_title_text_size">13sp</dimen>
141 <!-- The size of the bounding box for favicons. --> 141 <!-- The size of the bounding box for favicons. -->
142 <dimen name="compositor_tab_title_favicon_size">16dp</dimen> 142 <dimen name="compositor_tab_title_favicon_size">16dp</dimen>
143 <!-- Slop value for allowing slight misses on the compositor button. --> 143 <!-- Slop value for allowing slight misses on the compositor button. -->
144 <dimen name="compositor_button_slop">10dp</dimen> 144 <dimen name="compositor_button_slop">10dp</dimen>
145 145
146 <!-- User Picture Dimensions --> 146 <!-- User Picture Dimensions -->
147 <dimen name="user_picture_size">40dp</dimen> 147 <dimen name="user_picture_size">40dp</dimen>
148 <dimen name="badged_user_picture_height">40dp</dimen> 148 <dimen name="badged_user_picture_height">40dp</dimen>
149 <!-- The design spec is that the center of the badge should be 4dp from the right edge of the 149 <!-- The design spec is that the center of the badge should be 4dp from the right edge of the
150 user picture. This is equivalent to a badged_user_picture_width of 46dp assu ming a badge_radius 150 user picture. This is equivalent to a badged_user_picture_width of 46dp assu ming a badge_radius
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 <dimen name="payments_section_logo_height">36dp</dimen> 338 <dimen name="payments_section_logo_height">36dp</dimen>
339 <dimen name="payments_section_logo_width">56dp</dimen> 339 <dimen name="payments_section_logo_width">56dp</dimen>
340 <dimen name="payments_section_add_button_height">48dp</dimen> 340 <dimen name="payments_section_add_button_height">48dp</dimen>
341 <dimen name="payments_ui_max_dialog_width">0dp</dimen> 341 <dimen name="payments_ui_max_dialog_width">0dp</dimen>
342 <dimen name="payments_ui_translation">100dp</dimen> 342 <dimen name="payments_ui_translation">100dp</dimen>
343 343
344 <!-- Dialog dimensions. 344 <!-- Dialog dimensions.
345 https://www.google.com/design/spec/components/dialogs.html#dialogs-simp le-dialogs --> 345 https://www.google.com/design/spec/components/dialogs.html#dialogs-simp le-dialogs -->
346 <dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are mult iples of this. --> 346 <dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are mult iples of this. -->
347 </resources> 347 </resources>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TitleBitmapFactory.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698