Bug 965361 - Show firefox watermark when you hide all panels in about:home. r=lucasr, a=sledru
authorSola Ogunsakin <oogunsakin@mozilla.com>
Wed, 12 Feb 2014 21:52:47 -0800
changeset 183126 839973474e62ebcbd632447f67ba1ee7bb2bd97f
parent 183125 a5fc9916e71328718a9f8df9a4ccac521fa8048f
child 183127 25e8e343ef752ed4a4976cd421c86fedf7baee3b
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr, sledru
bugs965361
milestone29.0a2
Bug 965361 - Show firefox watermark when you hide all panels in about:home. r=lucasr, a=sledru
mobile/android/base/home/HomePager.java
mobile/android/base/resources/drawable-hdpi/icon_home_empty_firefox.png
mobile/android/base/resources/drawable-mdpi/icon_home_empty_firefox.png
mobile/android/base/resources/drawable-xhdpi/icon_home_empty_firefox.png
mobile/android/base/resources/drawable/home_pager_empty_state.xml
--- a/mobile/android/base/home/HomePager.java
+++ b/mobile/android/base/home/HomePager.java
@@ -9,16 +9,17 @@ import org.mozilla.gecko.R;
 import org.mozilla.gecko.animation.PropertyAnimator;
 import org.mozilla.gecko.animation.ViewHelper;
 import org.mozilla.gecko.home.HomeAdapter.OnAddPanelListener;
 import org.mozilla.gecko.home.HomeConfig.PanelConfig;
 import org.mozilla.gecko.home.HomeConfig.PanelType;
 import org.mozilla.gecko.util.HardwareUtils;
 
 import android.content.Context;
+import android.graphics.drawable.Drawable;
 import android.os.Build;
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.support.v4.app.FragmentManager;
 import android.support.v4.app.LoaderManager;
 import android.support.v4.app.LoaderManager.LoaderCallbacks;
 import android.support.v4.content.Loader;
 import android.support.v4.view.ViewPager;
@@ -49,16 +50,19 @@ public class HomePager extends ViewPager
     private final HomeConfig mConfig;
     private ConfigLoaderCallbacks mConfigLoaderCallbacks;
 
     private String mInitialPanelId;
 
     // Whether or not we need to restart the loader when we show the HomePager.
     private boolean mRestartLoader;
 
+    // Cached original ViewPager background.
+    private final Drawable mOriginalBackground;
+
     // This is mostly used by UI tests to easily fetch
     // specific list views at runtime.
     static final String LIST_TAG_HISTORY = "history";
     static final String LIST_TAG_BOOKMARKS = "bookmarks";
     static final String LIST_TAG_READING_LIST = "reading_list";
     static final String LIST_TAG_TOP_SITES = "top_sites";
     static final String LIST_TAG_MOST_RECENT = "most_recent";
     static final String LIST_TAG_LAST_TABS = "last_tabs";
@@ -121,16 +125,18 @@ public class HomePager extends ViewPager
 
         //  We can call HomePager.requestFocus to steal focus from the URL bar and drop the soft
         //  keyboard. However, if there are no focusable views (e.g. an empty reading list), the
         //  URL bar will be refocused. Therefore, we make the HomePager container focusable to
         //  ensure there is always a focusable view. This would ordinarily be done via an XML
         //  attribute, but it is not working properly.
         setFocusableInTouchMode(true);
 
+        mOriginalBackground = getBackground();
+
         mPageChangeListener = new PageChangeListener();
         setOnPageChangeListener(mPageChangeListener);
     }
 
     @Override
     public void addView(View child, int index, ViewGroup.LayoutParams params) {
         if (child instanceof Decor) {
             ((ViewPager.LayoutParams) params).isDecor = true;
@@ -311,19 +317,28 @@ public class HomePager extends ViewPager
             if (!panelConfig.isDisabled()) {
                 enabledPanels.add(panelConfig);
             }
         }
 
         // Update the adapter with the new panel configs
         adapter.update(enabledPanels);
 
-        // Hide the tab strip if the new configuration contains no panels.
         final int count = enabledPanels.size();
-        mTabStrip.setVisibility(count > 0 ? View.VISIBLE : View.INVISIBLE);
+        if (count == 0) {
+            // Set firefox watermark as background.
+            setBackgroundResource(R.drawable.home_pager_empty_state);
+            // Hide the tab strip as there are no panels.
+            mTabStrip.setVisibility(View.INVISIBLE);
+        } else {
+            mTabStrip.setVisibility(View.VISIBLE);
+            // Restore original background.
+            setBackgroundDrawable(mOriginalBackground);
+        }
+
         // Re-install the adapter with the final state
         // in the pager.
         setAdapter(adapter);
 
         // Use the default panel as defined in the HomePager's configuration
         // if the initial panel wasn't explicitly set by the show() caller,
         // or if the initial panel is not found in the adapter.
         final int itemPosition = (mInitialPanelId == null) ? -1 : adapter.getItemPosition(mInitialPanelId);
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e59641f68a4dcb3e9404c68b405394ca17fa9b64
GIT binary patch
literal 5057
zc%1E6XH-+$whly;BGn)rl7I*TrVvU(4GFynBnTn`Ap{aI2_&I+govnsfEX2}CKMY|
ztazj&Rf?6Og5u$TfHcK^@x0@CZ@hQM`SE_=HRj%H&9%R8uDNF!dyIX|-OXN7Tv;3d
z07yDI;5|3zsh^i9aPuxkhdOLdN*r4s4uKiMi6OBl0BkTbhyr$`lR_z;6jE?pWDmt0
z004&5h&~)2R~HPKN#9HQiP;-Vj{y7}=2o#0Byu=~0}i5u(ij%drMvf`U|O&R)Z54v
z?izukP-zbFED9msjYy6UC!>R*R+eD%Sj?sYI)y_5$I=fo*qB%g=%02mo9mz3Fevy>
z2q)YE`d?1@xVnRJOcn)fwAaXh3`d~ACg{BgBLvD6p$|sF5r#0hAq-(?fIwp4Xbi##
z{MUePp2i9e!Fb~B{yJ+@vw%`LoCpjI784V*H^y);lNAa>pwVa;90@}r4K@)5>^KI8
z6l=g>YyPr;r?AN^S_Fs2WPpF_q#$M##{vrd^$PR|SJ%G{GuVFxYBOZ8SW*NGu@?@b
z(_z2RY>p=-<e$-OVq63T=1E~Qqgdq4e1vHJkE8yX`V+Y64Q3yUwwV;tVLX!@MW--0
zj(7{`=99g_v|x;hE!qTOXlr9^ii8`RA`qrXBo>XwqL6l2go!EE=$DOu$F(!Xqmft~
z-V}~QAP}~OSQ8r?Tb!MtEe?*v;t|MSTt^0*Lt>CAzqqvj=HmX5i@~udBo32BWHJx`
zssMK?lfz_FnGs+d4y@x!BGVW@b={x&`O8%bixy1@wqr5r;6DS5q5T^N43Wqnl4+2!
z0TLBrWPl1bHZ~xIguo5pNJOwPIf!BcHwuFO#Si}f1P-?85bS?d%&)D@GW@yxyZ$$o
zzdMM+*lZitW`B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)uZaO&p~d?i+PxdYp&UM}<A93h
zY}By-V9eetn3G{95F{g3|H|2_(+N@^r=@erI`?|))--Z>5m)k0Ept5`>r@kWdF(ds
zG{X3NJn;jHx&|oqW4$#|dcuWs1f&X08k}G3&c62fgPmjaQ|pDDs*^<ko$M;s#dk`f
ztd0QznUAcA)=0rXmXl`ris*EtM(Ebdx>382A<Zw>;uZ{_&<-~!h2z785@ti%oa)Q3
zwzpl|piu~Ot1%_I!y7l%74%zqs9F$%5#ydSnh-6y)=t)ku3w+8;x0URTv8(?RYv|+
zVb_a(!7dQKT*eO8n7iHnW@5FVjK{vD;@bLO>!GRpeHSDBhHlKxmdy;79&W!?zL(xo
lOM}lnxv2B^hnLek{7N$Sv%APyb-#ZS*kBwjo6Y@_{sYo4$l(A0
new file mode 100644
--- /dev/null
+++ b/mobile/android/base/resources/drawable/home_pager_empty_state.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
+            xmlns:gecko="http://schemas.android.com/apk/res-auto">
+
+    <item android:maxLevel="0" android:drawable="@android:color/white"/>
+
+    <item>
+      <bitmap android:src="@drawable/icon_home_empty_firefox"
+              android:gravity="center"/>
+    </item>
+
+</layer-list>
\ No newline at end of file