Searched refs:preference (Results 151 - 175 of 184) sorted by relevance

12345678

/frameworks/base/core/java/android/preference/
H A DMultiSelectListPreference.java17 package android.preference;
35 * This preference will store a set of strings into the SharedPreferences.
105 * The array to find the value to save for a preference when an entry from
107 * second item in this array will be saved to the preference.
109 * @param entryValues The array to be used as values to save for the preference.
124 * Returns the array of values to be saved for the preference.
H A DSeekBarPreference.java17 package android.preference;
175 * Suppose a client uses this preference type without persisting. We
H A DVolumePreference.java17 package android.preference;
H A DDialogPreference.java17 package android.preference;
44 * actual preference controls.
79 // Fallback on the regular title of the preference
264 * Prepares the dialog builder to be shown when the preference is clicked.
282 * automatically on clicking on the preference. Call this method if you need to
323 * Returns whether the preference needs to display a soft input method when the dialog
409 * Gets the dialog that is shown by this preference.
H A DGenericInflater.java17 package android.preference;
H A DPreferenceActivity.java17 package android.preference;
68 * this class only allowed the display of a single set of preference; this
102 * <p>The following sample code shows a simple preference activity that
104 * of the activity itself as well as its two preference fragments is:</p>
106 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/PreferenceWithHeaders.java
119 * <p>Note that this XML resource contains a preference screen holding another
181 // extras that allow any preference activity to be launched as part of a wizard
216 // --- State for old mode when showing a single preference list
230 * The starting request code given out to preference framework.
419 * Intent to launch when the preference i
1560 onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
H A DLifecycle.java22 import android.support.v7.preference.PreferenceScreen;
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
H A DSuggestionParserTest.java27 import android.preference.PreferenceManager;
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java27 import android.preference.PreferenceManager;
77 // The user's current network preference setting.
99 // Gets the user's network preference settings
103 // is the default value to use if a preference value is not found.
225 // Checks whether the user set the preference to include summary text
254 // If the user set the preference to include summary text,
/frameworks/ml/nn/runtime/
H A DExecutionPlan.cpp660 uint32_t preference, ExecutionPlan* plan) const {
684 findBestDeviceForEachOperation(preference, devices, operationCount, deviceCount,
807 uint32_t preference,
823 // longer-running, depending on preference) than the CPU, then we
839 (preference == ANEURALNETWORKS_PREFER_LOW_POWER ? perf.powerUsage
659 partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, uint32_t preference, ExecutionPlan* plan) const argument
806 findBestDeviceForEachOperation( uint32_t preference, const std::vector<std::shared_ptr<Device>>& devices, const size_t operationCount, [[maybe_unused]] const size_t deviceCount, std::vector<int>* bestDeviceForOperation) const argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DListPreference.java17 package android.support.v7.preference;
33 * This preference will store a string into the SharedPreferences. This string will be the value
117 * The array to find the value to save for a preference when an entry from
119 * second item in this array will be saved to the preference.
121 * @param entryValues The array to be used as values to save for the preference.
136 * Returns the array of values to be saved for the preference.
188 * @param summary The summary for the preference.
H A DPreferenceDialogFragmentCompat.java17 package android.support.v7.preference;
44 * {@link android.support.v7.preference.DialogPreference}. Since the preference object may
166 * Get the preference that requested this dialog. Available after {@link #onCreate(Bundle)} has
183 * Prepares the dialog builder to be shown when the preference is clicked.
192 * Returns whether the preference needs to display a soft input method when the dialog
H A DPreferenceInflater.java17 package android.support.v7.preference;
36 * The {@link PreferenceInflater} is used to inflate preference hierarchies from
65 setDefaultPackages(new String[] {"android.support.v14.preference.",
66 "android.support.v7.preference."});
336 "Error parsing preference");
349 "Error parsing preference");
H A DSeekBarPreference.java17 package android.support.v7.preference;
32 * Preference based on android.preference.SeekBarPreference but uses support v7 preference as base.
33 * It contains a title and a seekbar and an optional seekbar value TextView. The actual preference
34 * layout is customizable by setting {@code android:layout} on the preference widget layout or
36 * The seekbar within the preference can be defined adjustable or not by setting {@code
37 * adjustable} attribute. If adjustable, the preference will be responsive to DPAD left/right keys.
42 * set directly on the preference widget layout.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java806 SharedPreferences preference = mContext.getSharedPreferences(
808 mMessageRejectionCount = preference.getInt(mDevice.getAddress(), 0);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java36 import android.preference.PreferenceManager;
80 // preference constants
165 // register for preference changes, so we can restart listeners on
209 Log.e(LOG_TAG, "Invalid preference for location min distance", e);
221 Log.e(LOG_TAG, "Invalid preference for location min time", e);
438 Log.d(LOG_TAG, "restarting listeners due to preference change");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierKeyDownloadMgrTest.java47 import static android.preference.PreferenceManager.getDefaultSharedPreferences;
H A DContextFixture.java60 import android.preference.PreferenceManager;
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java163 * Returns true if user preference is set to 24-hour format.
172 * Returns true if user preference with the given user handle is set to 24-hour format.
252 * to the current locale and the user's 12-/24-hour clock preference.
262 * to the current locale and the user's 12-/24-hour clock preference.
272 * to the current locale and the user's 12-/24-hour clock preference.
316 * in the order specified by the user's format preference. Note that this order is
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneFactory.java27 import android.preference.PreferenceManager;
H A DCarrierKeyDownloadManager.java19 import static android.preference.PreferenceManager.getDefaultSharedPreferences;
H A DSubscriptionInfoUpdater.java37 import android.preference.PreferenceManager;
/frameworks/ml/nn/runtime/test/
H A DTestPartitioning.cpp271 ExecutePreference preference, ExecutionPlan* plan) {
273 devices, static_cast<uint32_t>(preference), plan);
270 partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, ExecutePreference preference, ExecutionPlan* plan) argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java61 import android.preference.Preference_Delegate;
317 // to the system preference inflater.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java39 import android.preference.PreferenceManager;

Completed in 662 milliseconds

12345678