|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.system.Preferences
public class Preferences
| Method Summary | |
|---|---|
static boolean |
getDpadMatchesTrackball()
Determine whether the D-pad should match the trackball behavior. |
static void |
setDpadMatchesTrackball(boolean dpadMatches)
Specify whether the D-pad should match the trackball behavior. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setDpadMatchesTrackball(boolean dpadMatches)
Specify whether the D-pad should match the trackball behavior.
If true, the d-pad moves line-by-line in folder views, list views, etc. If false, the d-pad may jump page by page or folder by folder.
This value is set by the user in the "Trackball & D-Pad" settings screen. If you
change it, be sure to first call getDpadMatchesTrackball(), then restore it to
that value when your app is suspended.
public static boolean getDpadMatchesTrackball()
Determine whether the D-pad should match the trackball behavior.
This value returns the value set in setDpadMatchesTrackball(boolean) if it
has been called, or the user's setting if not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||