Home
last modified time | relevance | path

Searched refs:apply (Results 1 – 25 of 142) sorted by relevance

123456

/packages/apps/Contacts/tests/src/com/android/contacts/format/
DPrefixHighligherTest.java40 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/
DPreferences.java114 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/
DSearchSettingsImpl.java131 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/
DLocalBluetoothPreferences.java121 editor.apply(); in persistSelectedDeviceInPicker()
127 editor.apply(); in persistDiscoverableEndTimestamp()
139 editor.apply(); in persistDiscoveringTimestamp()
156 editor.apply(); in saveDockAutoConnectSetting()
162 editor.apply(); in removeDockAutoConnectSetting()
DDockService.java211 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/
DSocialWidgetSettings.java58 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/
DNativeNfcSecureElement.java48 mPrefsEditor.apply(); in doOpenSecureElementConnection()
57 mPrefsEditor.apply(); in doDisconnect()
DNativeNfcManager.java125 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/
DPrefixHighlighter.java43 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/
DNativeNfcSecureElement.java48 mPrefsEditor.apply(); in doOpenSecureElementConnection()
57 mPrefsEditor.apply(); in doDisconnect()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java81 .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/
DCellBroadcastReceiver.java153 .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/
DBrowserSettings.java224 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/
DBluetoothOppPreference.java132 ed.apply(); in setName()
144 ed.apply(); in setChannel()
153 ed.apply(); in removeChannel()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlideshowView.java104 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/
DImagePreset.java280 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/
DChartView.java119 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/
DSipSharedPreferences.java49 editor.apply(); in setPrimaryAccount()
74 editor.apply(); in setProfilesCount()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java108 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()
DComboPreferences.java150 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/
DComboPreferences.java160 public void apply() { in apply() method in ComboPreferences.MyEditor
161 mEditorGlobal.apply(); in apply()
162 mEditorLocal.apply(); in apply()
DCameraSettings.java117 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/
DBitmapCache.java74 bitmap = preset.apply(bitmap); in put()
96 bitmap = preset.apply(bitmap); in processPosition()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java257 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/
DCanvasAnimation.java24 public abstract void apply(GLCanvas canvas); in apply() method in CanvasAnimation

123456