Home
last modified time | relevance | path

Searched refs:Preference (Results 1 – 25 of 75) sorted by relevance

123

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreferenceGroup.java5 import android.preference.Preference;
21 private ArrayList<Preference> preferenceList = new ArrayList<Preference>();
24 public void addItemFromInflater(Preference preference) { in addItemFromInflater()
29 public boolean addPreference(Preference preference) { in addPreference()
41 public Preference getPreference(int index) { in getPreference()
51 public boolean removePreference(Preference preference) { in removePreference()
66 public Preference findPreference(CharSequence key) { in findPreference()
72 final Preference preference = getPreference(i); in findPreference()
80 final Preference returnedPreference = ((PreferenceGroup)preference) in findPreference()
DShadowPreference.java5 import android.preference.Preference;
12 @Implements(Preference.class)
15 @RealObject private Preference realPreference;
32 protected Preference.OnPreferenceClickListener onClickListener;
172 …public void setOnPreferenceClickListener( Preference.OnPreferenceClickListener onPreferenceClickLi… in setOnPreferenceClickListener()
177 public Preference.OnPreferenceClickListener getOnPreferenceClickListener() { in getOnPreferenceClickListener()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DPreferenceLoader.java20 import android.preference.Preference;
102 public Preference inflate(Context context, Preference parent) throws Exception { in inflate()
103 Preference preference = create(context, (PreferenceGroup) parent); in inflate()
112 private Preference create(Context context, PreferenceGroup parent) throws Exception { in create()
113 Preference preference = constructPreference(context, parent); in create()
120 … private Preference constructPreference(Context context, PreferenceGroup parent) throws Exception { in constructPreference()
121 Class<? extends Preference> clazz = pickViewClass(); in constructPreference()
132 …return ((Constructor<? extends Preference>) clazz.getConstructor(Context.class, AttributeSet.class… in constructPreference()
135 …return ((Constructor<? extends Preference>) clazz.getConstructor(Context.class)).newInstance(conte… in constructPreference()
137 …return ((Constructor<? extends Preference>) clazz.getConstructor(Context.class, String.class)).new… in constructPreference()
[all …]
/external/chromium_org/base/prefs/
Dpref_service.cc165 const Preference* pref = FindPreference(path); in HasPrefPath()
194 const PrefService::Preference* PrefService::FindPreference( in FindPreference()
204 std::make_pair(pref_name, Preference( in FindPreference()
229 const Preference* pref = FindPreference(pref_name); in IsManagedPreference()
234 const Preference* pref = FindPreference(pref_name); in IsUserModifiablePreference()
257 const Preference* pref = FindPreference(path); in GetUserPrefValue()
328 const Preference* pref = FindPreference(path); in ClearPref()
407 const Preference* pref = FindPreference(path); in GetMutableUserPref()
442 const Preference* pref = FindPreference(path); in SetUserPrefValue()
464 PrefService::Preference::Preference(const PrefService* service, in Preference() function in PrefService::Preference
[all …]
Dpref_service.h61 class BASE_PREFS_EXPORT Preference {
67 Preference(const PrefService* service,
70 ~Preference() {} in ~Preference()
167 const PrefService::Preference* FindPreference(const char* path) const;
296 typedef base::hash_map<std::string, Preference> PreferenceMap;
Dmock_pref_change_callback.h22 const PrefService::Preference* pref =
/external/svox/pico/src/com/svox/pico/
DEngineSettings.java22 import android.preference.Preference;
24 import android.preference.Preference.OnPreferenceClickListener;
60 Preference pref = findPreference(available.get(i)); in onActivityResult()
71 Preference pref = findPreference(unavailableLang); in onActivityResult()
76 public boolean onPreferenceClick(Preference preference) { in onActivityResult()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceTest.java19 import android.preference.Preference;
20 import android.preference.Preference.OnPreferenceClickListener;
185 Preference.OnPreferenceClickListener onPreferenceClickListener = new OnPreferenceClickListener() { in shouldRememberOnClickListener()
187 public boolean onPreferenceClick(Preference preference) { in shouldRememberOnClickListener()
198 Preference.OnPreferenceClickListener onPreferenceClickListener = new OnPreferenceClickListener() { in shouldClickThroughToClickListener()
200 public boolean onPreferenceClick(Preference preference) { in shouldClickThroughToClickListener()
237 private static class TestPreference extends Preference {
DPreferenceGroupTest.java16 import android.preference.Preference;
31 private Preference pref1, pref2;
41 pref1 = new Preference(context); in setUp()
44 pref2 = new Preference(context); in setUp()
/external/chromium_org/chrome/browser/prefs/
Dpref_model_associator_unittest.cc38 const PrefService::Preference* pref = in SetPrefToEmpty()
78 const PrefService::Preference* pref = in TEST_F()
91 const PrefService::Preference* pref = in TEST_F()
108 const PrefService::Preference* pref = in TEST_F()
127 const PrefService::Preference* pref = in TEST_F()
146 const PrefService::Preference* pref = in TEST_F()
170 const PrefService::Preference* pref = in TEST_F()
193 const PrefService::Preference* pref = in TEST_F()
228 const PrefService::Preference* pref = in TEST_F()
246 const PrefService::Preference* pref = in TEST_F()
[all …]
Dsession_startup_pref.cc269 const PrefService::Preference* pref_restore = in TypeIsManaged()
278 const PrefService::Preference* pref_urls = in URLsAreManaged()
287 const PrefService::Preference* pref_restore = in TypeIsDefault()
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java21 import android.preference.Preference;
39 Preference eraseGameButton = getPreferenceManager().findPreference("erasegame"); in onCreate()
45 Preference configureKeyboardPref = getPreferenceManager().findPreference("keyconfig"); in onCreate()
DSliderPreference.java26 import android.preference.Preference;
28 public class SliderPreference extends Preference implements OnSeekBarChangeListener {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DPreferenceLoaderTest.java13 import android.preference.Preference;
72 …That(((PreferenceCategory)screen.getPreference(0)).getPreference(0), instanceOf(Preference.class)); in assertThatScreenMatchesExpected()
77 assertThat(screen.getPreference(4), instanceOf(Preference.class)); in assertThatScreenMatchesExpected()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp126 ConstantPreference Preference);
128 ConstantPreference Preference);
319 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() argument
327 if (Preference == WantBlockAddress) in getKnownConstant()
342 ConstantPreference Preference) { in ComputeValueKnownInPredecessors() argument
355 if (Constant *KC = getKnownConstant(V, Preference)) { in ComputeValueKnownInPredecessors()
385 if (Constant *KC = getKnownConstant(PredCst, Preference)) in ComputeValueKnownInPredecessors()
396 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors()
401 if (Constant *KC = getKnownConstant(CI, Preference)) in ComputeValueKnownInPredecessors()
413 assert(Preference == WantInteger && "One-bit non-integer type?"); in ComputeValueKnownInPredecessors()
[all …]
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_apitest.cc33 const PrefService::Preference* pref = prefs->FindPreference( in CheckPreferencesSet()
50 const PrefService::Preference* pref = prefs->FindPreference( in CheckPreferencesCleared()
143 const PrefService::Preference* pref = in IN_PROC_BROWSER_TEST_F()
171 const PrefService::Preference* pref = in IN_PROC_BROWSER_TEST_F()
189 const PrefService::Preference* pref = prefs->FindPreference( in IN_PROC_BROWSER_TEST_F()
Dchrome_direct_setting.cc40 const PrefService::Preference* preference = in RunSync()
72 const PrefService::Preference* preference = in RunSync()
/external/tcpdump/tests/
Dbgp_vpn_attrset.out6 Local Preference (5), length: 4, Flags [T]: 100
13 Local Preference (5), length: 4, Flags [T]: 44
/external/chromium_org/chrome/browser/ui/webui/
Dgesture_config_ui.cc60 const PrefService::Preference* pref = in UpdatePreferenceValue()
93 const PrefService::Preference* pref = in SetPreferenceValue()
/external/chromium_org/chrome/browser/chromeos/login/saml/
Dsaml_offline_signin_limiter_unittest.cc113 const PrefService::Preference* pref = in TEST_F()
157 const PrefService::Preference* pref = in TEST_F()
201 const PrefService::Preference* pref = in TEST_F()
245 const PrefService::Preference* pref = in TEST_F()
274 const PrefService::Preference* pref = in TEST_F()
306 const PrefService::Preference* pref = in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/font_settings/
Dfont_settings_api.cc158 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( in OnFontNamePrefChanged()
189 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( in OnFontPrefChanged()
254 const PrefService::Preference* pref = in RunSync()
359 const PrefService::Preference* pref = prefs->FindPreference(GetPrefName()); in RunSync()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Dsalsa_ui.cc130 const PrefService::Preference* pref = in SetPreferenceValue()
156 const PrefService::Preference* pref = in BackupPreferenceValue()
/external/chromium_org/chrome/browser/metrics/
Dchrome_metrics_service_accessor.cc21 const PrefService::Preference* uma_pref = in IsMetricsReportingEnabled()
/external/chromium_org/chrome/browser/net/
Dssl_config_service_manager_pref_unittest.cc197 const PrefService::Preference* version_min_pref = in TEST_F()
201 const PrefService::Preference* version_max_pref = in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/options/
Dcore_options_handler.cc61 const PrefService::Preference* preference) { in CanSetExtensionControlledPrefValue()
292 const PrefService::Preference* pref = in SetPref()
370 const PrefService::Preference* pref = in CreateValueForPref()
376 const PrefService::Preference* controlling_pref = in CreateValueForPref()

123