use of com.android.settingslib.cm.ShortcutPickHelper in project android_frameworks_base by crdroidandroid.
the class LockscreenShortcutsActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.lockscreen_shortcuts);
getActionBar().setDisplayHomeAsUpEnabled(true);
mPicker = new ShortcutPickHelper(this, this);
mShortcutHelper = new LockscreenShortcutsHelper(this, this);
ColorMatrix cm = new ColorMatrix();
cm.setSaturation(0);
mFilter = new ColorMatrixColorFilter(cm);
ImageView unlockButton = (ImageView) findViewById(R.id.middle_button);
mDefaultTintList = unlockButton.getImageTintList();
createActionList();
initiateViews();
updateDrawables();
}
use of com.android.settingslib.cm.ShortcutPickHelper in project android_frameworks_base by ResurrectionRemix.
the class LockscreenShortcutsActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.lockscreen_shortcuts);
getActionBar().setDisplayHomeAsUpEnabled(true);
mPicker = new ShortcutPickHelper(this, this);
mShortcutHelper = new LockscreenShortcutsHelper(this, this);
ColorMatrix cm = new ColorMatrix();
cm.setSaturation(0);
mFilter = new ColorMatrixColorFilter(cm);
ImageView unlockButton = (ImageView) findViewById(R.id.middle_button);
mDefaultTintList = unlockButton.getImageTintList();
createActionList();
initiateViews();
updateDrawables();
}
Aggregations