Updating assets.
Change-Id: Ieab9698bbbe94a3087c9f405c4318f5575e2a842
|
Before Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 422 B |
|
Before Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 223 B |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 162 B |
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 184 B |
|
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 185 B |
|
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 198 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 198 B |
|
After Width: | Height: | Size: 303 B |
|
Before Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 271 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 144 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 893 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 213 B |
|
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 810 B |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 185 B |
|
After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 157 B |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 400 B |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 256 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 517 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 92 B After Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B |
@@ -182,13 +182,13 @@ public class CellLayout extends ViewGroup {
|
||||
final Resources res = getResources();
|
||||
|
||||
mNormalBackground = res.getDrawable(R.drawable.homescreen_blue_normal_holo);
|
||||
mActiveBackground = res.getDrawable(R.drawable.homescreen_green_normal_holo);
|
||||
mActiveGlowBackground = res.getDrawable(R.drawable.homescreen_green_strong_holo);
|
||||
mActiveBackground = res.getDrawable(R.drawable.homescreen_blue_strong_holo);
|
||||
mActiveGlowBackground = res.getDrawable(R.drawable.homescreen_blue_strong_holo);
|
||||
|
||||
mNormalBackgroundMini = res.getDrawable(R.drawable.homescreen_small_blue);
|
||||
mNormalGlowBackgroundMini = res.getDrawable(R.drawable.homescreen_small_blue_strong);
|
||||
mActiveBackgroundMini = res.getDrawable(R.drawable.homescreen_small_green);
|
||||
mActiveGlowBackgroundMini = res.getDrawable(R.drawable.homescreen_small_green_strong);
|
||||
mActiveBackgroundMini = res.getDrawable(R.drawable.homescreen_small_blue_strong);
|
||||
mActiveGlowBackgroundMini = res.getDrawable(R.drawable.homescreen_small_blue_strong);
|
||||
mOverScrollLeft = res.getDrawable(R.drawable.overscroll_glow_left);
|
||||
mOverScrollRight = res.getDrawable(R.drawable.overscroll_glow_right);
|
||||
mForegroundPadding =
|
||||
|
||||
@@ -100,7 +100,7 @@ public class Hotseat extends FrameLayout {
|
||||
BubbleTextView allAppsButton = (BubbleTextView)
|
||||
inflater.inflate(R.layout.application, mContent, false);
|
||||
allAppsButton.setCompoundDrawablesWithIntrinsicBounds(null,
|
||||
context.getResources().getDrawable(R.drawable.apps_hotseat_button), null, null);
|
||||
context.getResources().getDrawable(R.drawable.ic_allapps), null, null);
|
||||
// allAppsButton.setText(context.getString(R.string.all_apps_button_label));
|
||||
allAppsButton.setContentDescription(context.getString(R.string.all_apps_button_label));
|
||||
allAppsButton.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@@ -1807,7 +1807,7 @@ public abstract class PagedView extends ViewGroup {
|
||||
* fill its space on the track or not.
|
||||
*/
|
||||
protected boolean hasElasticScrollIndicator() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private void updateScrollingIndicator() {
|
||||
|
||||
@@ -1221,19 +1221,23 @@ public class Workspace extends SmoothPagedView
|
||||
final int height = getHeight();
|
||||
final int pageHeight = getChildAt(0).getHeight();
|
||||
|
||||
// This determines the height of the glowing edge: 90% of the page height
|
||||
final int padding = (int) ((height - pageHeight) * 0.5f + pageHeight * 0.1f);
|
||||
// Set the height of the outline to be the height of the page
|
||||
final int offset = (height - pageHeight - mPaddingTop - mPaddingBottom) / 2;
|
||||
final int paddingTop = mPaddingTop + offset;
|
||||
final int paddingBottom = mPaddingBottom + offset;
|
||||
|
||||
final CellLayout leftPage = (CellLayout) getChildAt(mCurrentPage - 1);
|
||||
final CellLayout rightPage = (CellLayout) getChildAt(mCurrentPage + 1);
|
||||
|
||||
if (leftPage != null && leftPage.getIsDragOverlapping()) {
|
||||
final Drawable d = getResources().getDrawable(R.drawable.page_hover_left_holo);
|
||||
d.setBounds(mScrollX, padding, mScrollX + d.getIntrinsicWidth(), height - padding);
|
||||
d.setBounds(mScrollX, paddingTop, mScrollX + d.getIntrinsicWidth(),
|
||||
height - paddingBottom);
|
||||
d.draw(canvas);
|
||||
} else if (rightPage != null && rightPage.getIsDragOverlapping()) {
|
||||
final Drawable d = getResources().getDrawable(R.drawable.page_hover_right_holo);
|
||||
d.setBounds(mScrollX + width - d.getIntrinsicWidth(), padding, mScrollX + width, height - padding);
|
||||
d.setBounds(mScrollX + width - d.getIntrinsicWidth(), paddingTop, mScrollX + width,
|
||||
height - paddingBottom);
|
||||
d.draw(canvas);
|
||||
}
|
||||
}
|
||||
@@ -3359,13 +3363,6 @@ public class Workspace extends SmoothPagedView
|
||||
mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true because we want the scrolling indicator to stretch to fit the space.
|
||||
*/
|
||||
protected boolean hasElasticScrollIndicator() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void showDockDivider(boolean immediately) {
|
||||
final ViewGroup parent = (ViewGroup) getParent();
|
||||
final View qsbDivider = (ImageView) (parent.findViewById(R.id.qsb_divider));
|
||||
|
||||