use of com.android.settings.rr.ShortcutPickHelper in project Resurrection_packages_apps_Settings by ResurrectionRemix.
the class GestureAnywhereBuilderActivity method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.ga_gestures_list);
mAdapter = new GesturesAdapter(this);
setListAdapter(mAdapter);
if (sStore == null) {
sStore = GestureLibraries.fromFile(mStoreFile);
//Add this to save your rename Gesture. This will solve your Rename Gesture Problem.
sStore.save();
}
mEmpty = (TextView) findViewById(android.R.id.empty);
loadGestures();
mPicker = new ShortcutPickHelper(this, this);
registerForContextMenu(getListView());
}
use of com.android.settings.rr.ShortcutPickHelper in project Resurrection_packages_apps_Settings by ResurrectionRemix.
the class ActionFragment method onCreate.
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
if (icicle != null) {
String holderTag = icicle.getString(KEY_FOCUSED_PREFERENCE);
if (holderTag != null) {
mHolderTag = holderTag;
}
}
mPicker = new ShortcutPickHelper(getActivity(), this);
mPrefHolder = new ArrayList<ActionPreference>();
}
Aggregations