Home
last modified time | relevance | path

Searched refs:getPrefs (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DLocalPreferences.java41 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 LocalPreferences
102 return getPrefs(context).getInt(key, PERMISSION_ASK); in getScopedAccessPermissionStatus()
108 getPrefs(context).edit().putInt(key, status).apply(); in setScopedAccessPermissionStatus()
/frameworks/base/core/java/android/text/method/
DPasswordTransformationMethod.java101 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); in onTextChanged()
DTextKeyListener.java302 /* package */ int getPrefs(Context context) { in getPrefs() method in TextKeyListener
DMultiTapKeyListener.java91 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()
DQwertyKeyListener.java90 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()