ash: Update app list UI to match latest crwm.

- Tile app list item horizontally;
- Move item title to the bottom;
- Update padding for model view: 45px from left/right and 32px from top/bottom;
- Change shade from 0.4 black to 0.2 black;
- Update animation;
- Defer app list widget activation until showing animation is finished;

BUG=117238,117073
TEST=Verify fix for issue 117238.

Review URL: https://chromiumcodereview.appspot.com/9677065

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126665 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/gfx/transform_util.cc b/ui/gfx/transform_util.cc
new file mode 100644
index 0000000..e5fc484
--- /dev/null
+++ b/ui/gfx/transform_util.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/gfx/transform_util.h"
+
+#include "ui/gfx/point.h"
+
+namespace ui {
+
+Transform GetScaleTransform(const gfx::Point& anchor, float scale) {
+  ui::Transform transform;
+  transform.ConcatScale(scale, scale);
+  transform.ConcatTranslate(anchor.x() * (1 - scale),
+                            anchor.y() * (1 - scale));
+  return transform;
+}
+
+}  // namespace ui