Merge commit '11b34626139319004358354b74b8edb71416c919' into eclair-mr2-plus-aosp * commit '11b34626139319004358354b74b8edb71416c919': remove unused code.
This commit is contained in:
@@ -59,32 +59,6 @@ public class HandleView extends ImageView {
|
|||||||
return newFocus;
|
return newFocus;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
|
||||||
final boolean handled = super.onKeyDown(keyCode, event);
|
|
||||||
|
|
||||||
/* TODO
|
|
||||||
if (!handled && !mLauncher.isDrawerDown() && !isDirectionKey(keyCode)) {
|
|
||||||
return mLauncher.getApplicationsGrid().onKeyDown(keyCode, event);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
return handled;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onKeyUp(int keyCode, KeyEvent event) {
|
|
||||||
final boolean handled = super.onKeyUp(keyCode, event);
|
|
||||||
|
|
||||||
/* TODO
|
|
||||||
if (!handled && !mLauncher.isDrawerDown() && !isDirectionKey(keyCode)) {
|
|
||||||
return mLauncher.getApplicationsGrid().onKeyUp(keyCode, event);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
return handled;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onTouchEvent(MotionEvent ev) {
|
public boolean onTouchEvent(MotionEvent ev) {
|
||||||
if (ev.getAction() == MotionEvent.ACTION_DOWN && mLauncher.isAllAppsVisible()) {
|
if (ev.getAction() == MotionEvent.ACTION_DOWN && mLauncher.isAllAppsVisible()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user