Searched refs:getPrefs (Results 1 – 5 of 5) sorted by relevance
41 return getPrefs(context).getBoolean(KEY_FILE_SIZE, false); in getDisplayFileSize()46 return getPrefs(context).getInt(createKey(root), fallback); in getViewMode()50 getPrefs(context).edit().putBoolean(KEY_FILE_SIZE, display).apply(); in setDisplayFileSize()54 return getPrefs(context).getBoolean(INCLUDE_DEVICE_ROOT + action, false); in getShowDeviceRoot()59 getPrefs(context).edit().putBoolean(INCLUDE_DEVICE_ROOT + action, display).apply(); in setShowDeviceRoot()64 getPrefs(context).edit().putInt(createKey(root), viewMode).apply(); in setViewMode()67 private static SharedPreferences getPrefs(Context context) { in getPrefs() method in LocalPreferences102 return getPrefs(context).getInt(key, PERMISSION_ASK); in getScopedAccessPermissionStatus()108 getPrefs(context).edit().putInt(key, status).apply(); in setScopedAccessPermissionStatus()
101 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); in onTextChanged()
302 /* package */ int getPrefs(Context context) { in getPrefs() method in TextKeyListener
91 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()
90 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()