summaryrefslogtreecommitdiff
path: root/src/com/android/browser/PieControl.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-02-25 09:45:06 -0800
committerMichael Kolb <kolby@google.com>2011-03-02 17:32:24 -0800
commit2a56ecaf153d788a1acebc54b670347a1a58d693 (patch)
treebcb217a561c8cd04db76be511e813fcb1b8cb1c6 /src/com/android/browser/PieControl.java
parent0803e101ec185564b76874af0148e99de41ff9db (diff)
add haptic feedback, fix QC
reduced number of QC entries fixed qc behavior with new titlebar add haptic feedback to qc selection change qc rendering from flat paint to bitmap shader Change-Id: I4b89fea1aec7ce680147f663f2c22d0d369f4194
Diffstat (limited to 'src/com/android/browser/PieControl.java')
-rw-r--r--src/com/android/browser/PieControl.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/android/browser/PieControl.java b/src/com/android/browser/PieControl.java
index 23dcced6..2e2eba43 100644
--- a/src/com/android/browser/PieControl.java
+++ b/src/com/android/browser/PieControl.java
@@ -64,22 +64,22 @@ public class PieControl implements OnClickListener, PieMenu.PieController {
LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT,
LayoutParams.MATCH_PARENT);
mPie.setLayoutParams(lp);
- mForward = makeMenuView(R.drawable.ic_pie_forward);
- mPie.addItem(mForward);
- mRefresh = makeMenuView(R.drawable.ic_pie_refresh);
- mPie.addItem(mRefresh);
+ mNewTab = makeMenuView(R.drawable.ic_pie_new_tab);
+ mPie.addItem(mNewTab);
mBack = makeMenuView(R.drawable.ic_pie_back);
mPie.addItem(mBack);
mUrl = makeMenuView(R.drawable.ic_pie_web);
mPie.addItem(mUrl);
mBookmarks = makeMenuView(R.drawable.ic_pie_bookmarks);
mPie.addItem(mBookmarks);
- mNewTab = makeMenuView(R.drawable.ic_pie_new_tab);
- mPie.addItem(mNewTab);
mOptions = makeMenuView(R.drawable.ic_pie_more);
mPie.addItem(mOptions);
- setClickListener(mBack, mForward, mRefresh, mUrl, mOptions,
- mBookmarks, mNewTab);
+ setClickListener(mBack,
+ mUrl,
+ mOptions,
+ mBookmarks,
+ mNewTab
+ );
mPie.setController(this);
}
container.addView(mPie);