Commit Graph

31 Commits

Author SHA1 Message Date
Andrei Lazar
69cf1e9a01 Bug 1533723 Missing variants resources for search widget preview r=petru
Added preview assets for search widget within all variants.

Differential Revision: https://phabricator.services.mozilla.com/D23136

--HG--
extra : moz-landing-system : lando
2019-03-12 14:38:26 +00:00
Jan Henning
5f8503a563 Bug 1480854 - Use classic icons again on platforms prior to Oreo. r=jchen
We want to use the classic, non-adaptive icon again as our launcher icon on
Android versions prior to Oreo, as well as to continue using it in various
places within our app.

Unfortunately this means that we still have to provide duplicate resources for
those two purposes:
Because we don't want to use the adaptive icon internally, we can't use the same
resource directly for both internal usage and our launcher icon, because other-
wise on Oreo and above we'd receive the adaptive icon that way.
One possible workaround would have been to use the PNG files of our classic icon
directly as a drawable for internal useage and then create a differently named
XML bitmap for our launcher icon, which in turn would be overridden by the
adaptive icon on Oreo and above.
Unfortunately, modern usage demands that the launcher icon should be provided as
a mipmap resource, where XML bitmaps
- aren't officially supported
- unofficially work with some devices/launchers, but not all.

Therefore, our only choice is to provide separate drawables for our internal
icon and our launcher icon, even if prior to Android O both will have the same
contents. We'll also get rid of the separate round icon again, since
- on Android O and above, both round and non-round icons were using the same
  adaptive icon anyway
- prior to Android O our normal icon is already round enough, but not round
  enough to pass the lint check

--HG--
extra : rebase_source : 6c06c903f4fed2ef4aee3c5a915e18c437c5b510
extra : amend_source : ab3eab8e4dc2523a336aef2a4d2889ab7dbc76b9
extra : intermediate-source : 56f9803240157892066fa5b1703b8fe50c28020d
extra : source : 6183adcbfc9d81ab0cb854a4734a98f10a897d6b
2018-09-08 18:30:30 +02:00
Narcis Beleuzu
3d1a1f1883 Backed out changeset 56f980324015 (bug 1480854) for lint bustage. CLOSED TREE 2018-09-14 19:22:52 +03:00
Jan Henning
2bcbde60fe Bug 1480854 - Use classic icons again on platforms prior to Oreo. r=jchen
We want to use the classic, non-adaptive icon again as our launcher icon on
Android versions prior to Oreo, as well as to continue using it in various
places within our app.

Unfortunately this means that we still have to provide duplicate resources for
those two purposes:
Because we don't want to use the adaptive icon internally, we can't use the same
resource directly for both internal usage and our launcher icon, because other-
wise on Oreo and above we'd receive the adaptive icon that way.
One possible workaround would have been to use the PNG files of our classic icon
directly as a drawable for internal useage and then create a differently named
XML bitmap for our launcher icon, which in turn would be overridden by the
adaptive icon on Oreo and above.
Unfortunately, modern usage demands that the launcher icon should be provided as
a mipmap resource, where XML bitmaps
- aren't officially supported
- unofficially work with some devices/launchers, but not all.

Therefore, our only choice is to provide separate drawables for our internal
icon and our launcher icon, even if prior to Android O both will have the same
contents. We'll also get rid of the separate round icon again, since
- on Android O and above, both round and non-round icon were using the same
  adaptive icon anyway
- prior to Android O our normal icon is already round enough (ignoring the
  Fennec icon for local developer builds)

--HG--
extra : source : 6183adcbfc9d81ab0cb854a4734a98f10a897d6b
extra : amend_source : dc14ea076aafd9d24fd5ee7aebcf71348812942c
2018-09-08 18:30:30 +02:00
Petru Lingurar
9174e20795 Bug 1349522 - Provide alternative adaptive-icon with Android SDK O; r=jchen
Used the provided foreground layers and background color for the icons of
Release and Nightly.
Used the old icon and the provided background color for the icons of Beta and
Dev builds. Proper icons for them will be added in bug 1479724.

Added support for round icons which as per
https://developer.android.com/about/versions/nougat/android-7.1#circular-icons
can be required by certain launchers.

The old icons - /drawable/icon.png are still kept because they are used as
logos and also by SiteIdentityPopup.java.

MozReview-Commit-ID: EA9pojukhmw

--HG--
extra : rebase_source : d960bb0785b329a91493d9fe2c126549a5641189
2018-08-02 15:06:24 +03:00
Noemi Erli
4d0e91be08 Backed out changeset 4eb0d7bd1a00 (bug 1349522) for android-lint bustage 2018-08-02 11:16:02 +03:00
Petru Lingurar
5d642587f1 Bug 1349522 - Provide alternative adaptive-icon with Android SDK O; r=jchen
Used the provided foreground layers and background color for the icons of
Release and Nightly.
Used the old icon and the provided background color for the icons of Beta and
Dev builds. Proper icons for them will be added in bug 1479724.

The old icons - /drawable/icon.png are still kept because they are used as
logos and also by SiteIdentityPopup.java.

MozReview-Commit-ID: EA9pojukhmw

--HG--
extra : rebase_source : e546ab143aaba73751c729c79926df3fb08c3b8c
2018-07-31 13:18:33 +03:00
Timothy Guan-tin Chien
a2a559db3e Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu

--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +08:00
Nick Alexander
a562b72999 Bug 1221344 - Remove Fennec Search Activity. r=gueroJeff,sebastian,snorp
MozReview-Commit-ID: L7rihfeqvzH

--HG--
extra : rebase_source : 3170b86ef2c95e642c451c3e9bbe9db83bc9edcf
2017-10-19 14:14:36 -07:00
Nevin Chen
be71ed84b1 Bug 1398362 - Change the image with correct size. r=maliu
MozReview-Commit-ID: 98jIGHzIHlr

--HG--
extra : rebase_source : b3655628835aa7d02a994e7918c190a5f97ee048
2017-10-24 13:19:23 +08:00
Jing-wei Wu
a556345663 Bug 1402882 - Update firstrun welcome image for nightly/beta/release. r=nechen
MozReview-Commit-ID: AzV4Sl8iGc5

--HG--
extra : rebase_source : 8c8ffc53936432da7cac9ecddbe76c5ba9f9130f
2017-10-03 15:18:04 +08:00
Jing-wei Wu
69bc7bda88 Bug 1399378 - Update Fennec logo icons for 57 beta/release. r=nechen
MozReview-Commit-ID: CUy4RSuiRnD

--HG--
extra : rebase_source : f6c9486833bacfd89fbd404bbd65997a2a44ee23
2017-09-28 17:08:56 +08:00
Nevin Chen
b3d37628ea Bug 1380698 - Use SVG for splash screen logo for all channels. r=maliu
MozReview-Commit-ID: 8e7LPmaEaP5

--HG--
extra : rebase_source : a754d1fb7fec39f545b0e86d651dd277f4ad2c87
2017-07-19 19:12:50 +08:00
Nevin Chen
79cc2a56cd Bug 1378688 - Scale the image to save APK size, respect channel, and hide splash screen when the user interact with url bar. r=maliu
MozReview-Commit-ID: 6VEEbVKY5oA

--HG--
rename : mobile/android/app/src/main/res/drawable-xxxhdpi/firefox_logo.png => mobile/android/branding/official/res/drawable/firefox_logo.png
extra : rebase_source : a5ae4a473c1dbdfe5e71f6ebac4f528f5ea7f574
2017-07-12 16:52:24 +08:00
Michael Comella
8d94840259 Bug 1193580 - Losslessy compress png assets. r=liuche
Note that this not the originally reviewed patch in the bug, but a re-run of
the algorithm that produced that patch.

--HG--
extra : commitid : 51DOIx3PKb8
extra : amend_source : f2e6b601240a9b31df7aadd96f6c53f0a6c430ef
2015-08-13 10:43:51 -07:00
Michael Comella
84d9a29051 Bug 1193580 - Backout changeset 1c1d97b563f410d571e4925dab3f53fcae6c5272.
This is temporary and only to easy the landing of bug 1150742.

--HG--
extra : commitid : HqtUgOKzbAH
2015-08-13 10:27:24 -07:00
Michael Comella
b2ff90e701 Bug 1193580 - Losslessly compress png assets. r=liuche
--HG--
extra : commitid : 62OPFTGobSc
extra : rebase_source : d0ccddfdd4692fb96916738c827722b73e6a2fb1
2015-08-11 16:52:38 -07:00
Chenxia Liu
b7e9d2d629 Bug 1162930 - Remove mdpi from branding/. r=mhaigh
--HG--
extra : commitid : BZqe6WGwbMx
extra : rebase_source : 878cf0285860ff5ecae35099831626a10cd5bb20
2015-07-30 17:56:40 -07:00
Michael Comella
24c71b8faa Bug 1150974 - Run trimage on all png assets in mobile/. r=rnewman
The command I ran was:
  for i in `find mobile -name "*.png" | sed "s/\(.*\)\/.*\.png/\1/" | sort | uniq`; do trimage -d ${i}; done

--HG--
extra : rebase_source : 90ae53a7e3c63834b1bbb251cc4e5c48e5d20f08
2015-04-03 11:26:06 -07:00
Margaret Leibovic
d0f73d3852 Bug 1050405 - Add images for search widget preview. r=mfinkle 2014-11-05 16:17:55 -08:00
Margaret Leibovic
8f49efe603 Bug 1055657 - Add branding icons for search widget. r=mfinkle 2014-11-05 16:17:55 -08:00
Chenxia Liu
d13415f95e Bug 1042809 - Part 0: Icons. r=lucasr 2014-08-21 17:18:42 -07:00
Wes Johnston
e8f465a4f5 Bug 1050403 - Update widget style. r=margaret 2014-08-15 11:04:36 -07:00
Wes Johnston
2a00c999a3 Bug 1035642 - Add branding resources for simple search widget. r=mfinkle 2014-07-30 10:45:15 -07:00
Richard Newman
41311cf9db Bug 959379 - 192x192 app icon for Fennec. DONTBUILD, r=none, assets only. 2014-07-07 13:32:54 -07:00
Nick Alexander
7760713d9e Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
extra : rebase_source : f6ec8a38594e70520b10202c735dc019f8c856fd
2013-12-11 21:20:07 -08:00
Carsten "Tomcat" Book
b35c0e3a73 Backed out changeset a829f4d2584a (bug 934646) Android Nightlies Build Bustage
--HG--
rename : mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png => mobile/android/branding/aurora/content/fennec_144x144.png
rename : mobile/android/branding/aurora/res/drawable-mdpi/icon.png => mobile/android/branding/aurora/content/fennec_48x48.png
rename : mobile/android/branding/aurora/res/drawable-hdpi/icon.png => mobile/android/branding/aurora/content/fennec_72x72.png
rename : mobile/android/branding/aurora/res/drawable-xhdpi/icon.png => mobile/android/branding/aurora/content/fennec_96x96.png
rename : mobile/android/branding/beta/res/drawable-xxhdpi/icon.png => mobile/android/branding/beta/content/fennec_144x144.png
rename : mobile/android/branding/beta/res/drawable-mdpi/icon.png => mobile/android/branding/beta/content/fennec_48x48.png
rename : mobile/android/branding/beta/res/drawable-hdpi/icon.png => mobile/android/branding/beta/content/fennec_72x72.png
rename : mobile/android/branding/beta/res/drawable-xhdpi/icon.png => mobile/android/branding/beta/content/fennec_96x96.png
rename : mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png => mobile/android/branding/nightly/content/fennec_144x144.png
rename : mobile/android/branding/nightly/res/drawable-mdpi/icon.png => mobile/android/branding/nightly/content/fennec_48x48.png
rename : mobile/android/branding/nightly/res/drawable-hdpi/icon.png => mobile/android/branding/nightly/content/fennec_72x72.png
rename : mobile/android/branding/nightly/res/drawable-xhdpi/icon.png => mobile/android/branding/nightly/content/fennec_96x96.png
rename : mobile/android/branding/official/res/drawable-xxhdpi/icon.png => mobile/android/branding/official/content/fennec_144x144.png
rename : mobile/android/branding/official/res/drawable-mdpi/icon.png => mobile/android/branding/official/content/fennec_48x48.png
rename : mobile/android/branding/official/res/drawable-hdpi/icon.png => mobile/android/branding/official/content/fennec_72x72.png
rename : mobile/android/branding/official/res/drawable-xhdpi/icon.png => mobile/android/branding/official/content/fennec_96x96.png
rename : mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png => mobile/android/branding/unofficial/content/fennec_144x144.png
rename : mobile/android/branding/unofficial/res/drawable-mdpi/icon.png => mobile/android/branding/unofficial/content/fennec_48x48.png
rename : mobile/android/branding/unofficial/res/drawable-hdpi/icon.png => mobile/android/branding/unofficial/content/fennec_72x72.png
rename : mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png => mobile/android/branding/unofficial/content/fennec_96x96.png
2013-11-20 15:16:00 +01:00
Nick Alexander
193f865ba8 Bug 934646 - Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
2013-11-18 09:31:55 -08:00
Chris Peterson
62e122e7f7 Bug 848409 - Part 2: Remove unused Android defaults.xml resource files. r=kats 2013-03-06 16:37:38 +00:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Peterson
929200be45 Bug 708114 part 2 - Add resource flag to enable Android StrictMode for nightly and local builds. r=dougt a=android-only 2011-12-12 17:15:38 -08:00