/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
D | PrefixHighligherTest.java | 40 CharSequence seq = mPrefixHighlighter.apply("", new char[0]); in testApply_EmptyPrefix() 43 seq = mPrefixHighlighter.apply("test", new char[0]); in testApply_EmptyPrefix() 50 CharSequence seq = mPrefixHighlighter.apply("test", charArray); in testSetText_MatchingPrefix() 53 seq = mPrefixHighlighter.apply("Test", charArray); in testSetText_MatchingPrefix() 56 seq = mPrefixHighlighter.apply("TEst", charArray); in testSetText_MatchingPrefix() 59 seq = mPrefixHighlighter.apply("a test", charArray); in testSetText_MatchingPrefix() 64 final CharSequence seq = mPrefixHighlighter.apply("test", "TA".toCharArray()); in testSetText_NotMatchingPrefix() 69 final CharSequence seq = mPrefixHighlighter.apply("a test's tests are not tests", in testSetText_FirstMatch() 76 CharSequence seq = mPrefixHighlighter.apply("atest", charArray); in testSetText_NoMatchingMiddleOfWord() 79 seq = mPrefixHighlighter.apply("atest otest", charArray); in testSetText_NoMatchingMiddleOfWord() [all …]
|
/packages/apps/Email/src/com/android/email/ |
D | Preferences.java | 114 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply(); in clearLegacyBackupPreference() 118 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply(); in setEnableDebugLogging() 126 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply(); in setEnableExchangeLogging() 134 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply(); in setEnableExchangeFileLogging() 142 mSharedPreferences.edit().putBoolean(INHIBIT_GRAPHICS_ACCELERATION, value).apply(); in setInhibitGraphicsAcceleration() 150 mSharedPreferences.edit().putBoolean(FORCE_ONE_MINUTE_REFRESH, value).apply(); in setForceOneMinuteRefresh() 158 mSharedPreferences.edit().putBoolean(ENABLE_STRICT_MODE, value).apply(); in setEnableStrictMode() 174 mSharedPreferences.edit().putString(DEVICE_UID, result).apply(); in getDeviceUID() 184 mSharedPreferences.edit().putInt(ONE_TIME_INITIALIZATION_PROGRESS, progress).apply(); in setOneTimeInitializationProgress() 192 mSharedPreferences.edit().putInt(AUTO_ADVANCE_DIRECTION, direction).apply(); in setAutoAdvanceDirection() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchSettingsImpl.java | 131 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); in storeBoolean() 135 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); in storeInt() 139 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); in storeLong() 143 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value)); in storeString() 147 SharedPreferencesCompat.apply(getSearchPreferences().edit().remove(name)); in removePref() 199 SharedPreferencesCompat.apply(prefs.edit() in haveVoiceSearchHintsExpired() 256 SharedPreferencesCompat.apply(sharedPrefEditor); in setSearchBaseDomain()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothPreferences.java | 121 editor.apply(); in persistSelectedDeviceInPicker() 127 editor.apply(); in persistDiscoverableEndTimestamp() 139 editor.apply(); in persistDiscoveringTimestamp() 156 editor.apply(); in saveDockAutoConnectSetting() 162 editor.apply(); in removeDockAutoConnectSetting()
|
D | DockService.java | 211 prefs.edit().putInt(KEY_CONNECT_RETRY_COUNT, retryCount + 1).apply(); in onStartCommand() 221 prefs.edit().putInt(KEY_CONNECT_RETRY_COUNT, retryCount + 1).apply(); in onStartCommand() 236 prefs.edit().remove(KEY_CONNECT_RETRY_COUNT).apply(); in onStartCommand() 309 prefs.edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in msgTypeDisableBluetooth() 313 prefs.edit().putBoolean(KEY_DISABLE_BT, true).apply(); in msgTypeDisableBluetooth() 344 prefs.edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in msgTypeUndockedPermanent() 375 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in msgTypeDocked() 696 getPrefs().edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in handleBtStateChange() 705 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in handleBtStateChange() 753 prefs.edit().remove(KEY_DISABLE_BT).apply(); in handleBluetoothStateOn() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
D | SocialWidgetSettings.java | 58 editor.apply(); in remove() 85 editor.apply(); in setContactUri() 112 editor.apply(); in ensureMigrated() 113 settings.edit().putBoolean(KEY_MIGRATED, true).apply(); in ensureMigrated()
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
D | NativeNfcSecureElement.java | 48 mPrefsEditor.apply(); in doOpenSecureElementConnection() 57 mPrefsEditor.apply(); in doDisconnect()
|
D | NativeNfcManager.java | 125 prefs.edit().putLong(PREF_FIRMWARE_MODTIME, modtime).apply(); in checkFirmware() 145 editor.apply(); in initialize() 160 editor.apply(); in deinitialize()
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | PrefixHighlighter.java | 43 view.setText(apply(text, prefix)); in setText() 52 public CharSequence apply(CharSequence text, char[] prefix) { in apply() method in PrefixHighlighter
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeNfcSecureElement.java | 48 mPrefsEditor.apply(); in doOpenSecureElementConnection() 57 mPrefsEditor.apply(); in doDisconnect()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorUtils.java | 81 .remove(KEY_ANYTHING_SAVED).apply(); in cleanupForTest() 86 mPrefs.edit().remove(KEY_DEFAULT_ACCOUNT).apply(); in removeDefaultAccountForTest() 94 mPrefs.edit().putString(KEY_KNOWN_ACCOUNTS, "").putString(KEY_DEFAULT_ACCOUNT, "").apply(); in resetPreferenceValues() 134 editor.apply(); in saveDefaultAndAllAccounts()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 153 .apply(); in tryCdmaSetCategory() 159 .apply(); in tryCdmaSetCategory() 164 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, enable).apply(); in tryCdmaSetCategory() 169 CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, enable).apply(); in tryCdmaSetCategory()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserSettings.java | 224 mPrefs.edit().remove(PREF_TEXT_SIZE).apply(); 455 edit.apply(); in setDebugEnabled() 508 .apply(); in resetDefaultPreferences() 639 mPrefs.edit().putInt(PREF_TEXT_ZOOM, getRawTextZoom(percent)).apply(); in setTextZoom() 649 mPrefs.edit().putInt(PREF_DOUBLE_TAP_ZOOM, getRawDoubleTapZoom(percent)).apply(); in setDoubleTapZoom() 713 mPrefs.edit().putString(PREF_HOMEPAGE, value).apply(); in setHomePage() 721 mPrefs.edit().putBoolean(PREF_AUTOFILL_ENABLED, value).apply(); in setAutofillEnabled() 943 .apply(); in setLastRecovered() 964 .apply(); in setLastRunPaused()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppPreference.java | 132 ed.apply(); in setName() 144 ed.apply(); in setChannel() 153 ed.apply(); in removeChannel()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlideshowView.java | 104 mPrevAnimation.apply(canvas); in render() 114 mCurrentAnimation.apply(canvas); in render() 141 public void apply(GLCanvas canvas) { in apply() method in SlideshowView.SlideshowAnimation
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | ImagePreset.java | 280 public Bitmap apply(Bitmap original) { in apply() method in ImagePreset 285 bitmap = mGeoData.apply(original, mScaleFactor, mIsHighQuality); in apply() 291 bitmap = filter.apply(bitmap, mScaleFactor, mIsHighQuality); in apply() 296 bitmap = mImageBorder.apply(bitmap, mScaleFactor, mIsHighQuality); in apply()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartView.java | 119 Gravity.apply(params.gravity, width, height, parentRect, childRect); in onLayout() 146 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), in layoutSweep() 154 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(), in layoutSweep()
|
/packages/apps/Phone/src/com/android/phone/sip/ |
D | SipSharedPreferences.java | 49 editor.apply(); in setPrimaryAccount() 74 editor.apply(); in setProfilesCount()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 108 editor.apply(); in initialCameraPictureSize() 303 editor.apply(); in upgradeLocalPreferences() 349 editor.apply(); in upgradeGlobalPreferences() 360 editor.apply(); in writePreferredCameraId() 431 editor.apply(); in restorePreferences() 438 editor.apply(); in restorePreferences()
|
D | ComboPreferences.java | 150 public void apply() { in apply() method in ComboPreferences.MyEditor 151 mEditorGlobal.apply(); in apply() 152 mEditorLocal.apply(); in apply()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ComboPreferences.java | 160 public void apply() { in apply() method in ComboPreferences.MyEditor 161 mEditorGlobal.apply(); in apply() 162 mEditorLocal.apply(); in apply()
|
D | CameraSettings.java | 117 editor.apply(); in initialCameraPictureSize() 354 editor.apply(); in upgradeLocalPreferences() 405 editor.apply(); in upgradeOldVersion() 430 editor.apply(); in writePreferredCameraId() 500 editor.apply(); in restorePreferences() 507 editor.apply(); in restorePreferences()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | BitmapCache.java | 74 bitmap = preset.apply(bitmap); in put() 96 bitmap = preset.apply(bitmap); in processPosition()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchService.java | 257 editor.apply(); in saveNotification() 289 editor.apply(); in clearSavedNotification() 358 editor.apply(); in writeToSharedPrefs() 375 editor.apply(); in writeSharedPrefsStarted() 402 editor.apply(); in writeSharedPrefsLap() 422 editor.apply(); in writeSharedPrefsStopped()
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | CanvasAnimation.java | 24 public abstract void apply(GLCanvas canvas); in apply() method in CanvasAnimation
|