Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tabs] Improve text and image rendering. (#7803)
The frames for title and image were not pixel-aligned, resulting in somewhat blurry text and images. Part of #7748
- Loading branch information
Robert Moore
committed
Jul 8, 2019
1 parent
4c41b10
commit 0dc3125
Showing
46 changed files
with
45 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-75 Bytes
(96%)
...s_64/MDCTabBarViewItemViewSnapshotTests/testContentFrameForTextOnly_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.51 KB
(90%)
...ViewItemViewSnapshotTests/testLongTitleLargeImageWidestSizeLTRLatin_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.06 KB
(91%)
...iewItemViewSnapshotTests/testLongTitleLargeImageWidestSizeRTLArabic_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-823 Bytes
(85%)
...ViewSnapshotTests/testShortTitleNoImageIntrinsicContentSizeLTRLatin_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-601 Bytes
(86%)
...iewSnapshotTests/testShortTitleNoImageIntrinsicContentSizeRTLArabic_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-823 Bytes
(85%)
...BarViewItemViewSnapshotTests/testShortTitleNoImageSizeToFitLTRLatin_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-601 Bytes
(86%)
...arViewItemViewSnapshotTests/testShortTitleNoImageSizeToFitRTLArabic_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-278 Bytes
(97%)
...arViewSnapshotTests/testChangingImageOfSelectedItemAfterAddingToBar_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-278 Bytes
(97%)
...ViewSnapshotTests/testChangingImageOfUnselectedItemAfterAddingToBar_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-278 Bytes
(97%)
.../testChangingSelectedImageOfSelectedItemAfterAddingToBarDoesNothing_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-278 Bytes
(97%)
...estChangingSelectedImageOfUnselectedItemAfterAddingToBarDoesNothing_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.13 KB
(89%)
...abBarViewSnapshotTests/testChangingSelectedItemIgnoresSelectedImage_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-491 Bytes
(95%)
...64/MDCTabBarViewSnapshotTests/testChangingSelectionUpdatesItemStyle_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-87 Bytes
(95%)
...abBarViewSnapshotTests/testCustomInsetsToNegateInternalLeadingInset_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-277 Bytes
(97%)
.../MDCTabBarViewSnapshotTests/testCustomSelectionIndicatorStrokeColor_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-569 Bytes
(90%)
...iewSnapshotTests/testItemsLargerThanBoundsChangesToScrollableLayout_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(90%)
...DCTabBarViewSnapshotTests/testItemsWithMixedTitlesAndImagesLTRLatin_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-320 Bytes
(96%)
...CTabBarViewSnapshotTests/testItemsWithMixedTitlesAndImagesRTLArabic_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(87%)
...ldens_64/MDCTabBarViewSnapshotTests/testItemsWithOnlyTitlesLTRLatin_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-785 Bytes
(88%)
...dens_64/MDCTabBarViewSnapshotTests/testItemsWithOnlyTitlesRTLArabic_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.13 KB
(90%)
..._64/MDCTabBarViewSnapshotTests/testItemsWithTitlesAndImagesLTRLatin_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-330 Bytes
(92%)
...aviorWhenBoundsExceedsIntrinsicContentSizeAndRemainsLessThanMaximum_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-301 Bytes
(96%)
...sts/testLayoutBehaviorWhenBoundsExceedsMaximumWidthForNumberOfItems_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-94 Bytes
(99%)
..._64/MDCTabBarViewSnapshotTests/testRemovingSelectedItemUpdatesStyle_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-363 Bytes
(97%)
..._test_goldens/goldens_64/MDCTabBarViewSnapshotTests/testRippleColor_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-801 Bytes
(84%)
...MDCTabBarViewSnapshotTests/testSelectedItemInitiallyVisibleLTRLatin_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-307 Bytes
(92%)
...DCTabBarViewSnapshotTests/testSelectedItemInitiallyVisibleRTLArabic_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-278 Bytes
(97%)
...rViewSnapshotTests/testSelectionIndicatorStrokeColorResetsToDefault_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-278 Bytes
(97%)
...ViewSnapshotTests/testSetImageTintColorExplicitlyToNilUsesTintColor_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-278 Bytes
(97%)
...CTabBarViewSnapshotTests/testSetImageTintColorForExplicitItemStates_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-278 Bytes
(97%)
...pshotTests/testSetImageTintColorForNormalStateAppliesToSelectedItem_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-278 Bytes
(97%)
...iewSnapshotTests/testSetTitleColorExplicitlyToNilRendersSomeDefault_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-386 Bytes
(96%)
...4/MDCTabBarViewSnapshotTests/testSetTitleColorForExplicitItemStates_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-307 Bytes
(97%)
...wSnapshotTests/testSetTitleColorForNormalStateAppliesToSelectedItem_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-278 Bytes
(97%)
...BarViewSnapshotTests/testSetTitleFontExplicitlyToNilUsesDefaultFont_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-232 Bytes
(98%)
...64/MDCTabBarViewSnapshotTests/testSetTitleFontForExplicitItemStates_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-220 Bytes
(97%)
...ewSnapshotTests/testSetTitleFontForNormalStateAppliesToSelectedItem_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-775 Bytes
(91%)
...SettingBoundsToIntrinsicContentSizeResultsInJustifiedLayoutLTRLatin_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-928 Bytes
(88%)
...ettingBoundsToIntrinsicContentSizeResultsInJustifiedLayoutRTLArabic_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-799 Bytes
(89%)
...arrowWithItemsLessThanMinimumWidthResultsInScrollableLayoutLTRLatin_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-785 Bytes
(88%)
...rrowWithItemsLessThanMinimumWidthResultsInScrollableLayoutRTLArabic_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-436 Bytes
(98%)
...ngItemLimitsItemWidthToItemMaximumWhenBoundsAreIntrinsicContentSize_11_2@2x.png
Oops, something went wrong.
Binary file modified
BIN
-757 Bytes
(94%)
...sts/testVeryLongItemLimitsItemWidthToItemMaximumWhenBoundsTooNarrow_11_2@2x.png
Oops, something went wrong.