HomeSort by relevance Sort by last modified time
    Searched full:pref (Results 151 - 175 of 1107) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
AccountPreferences.java 75 AccountPreferences pref = mInstances.get(id); local
76 if (pref == null) {
77 pref = new AccountPreferences(context, id);
78 mInstances.put(id, pref);
80 return pref;
  /packages/apps/Settings/src/com/android/settings/users/
UserSettings.java 724 Preference pref; local
726 pref = mMePreference;
742 pref = new UserPreference(context, null, user.id,
745 pref.setOnPreferenceClickListener(this);
746 pref.setKey("id=" + user.id);
747 mUserListCategory.addPreference(pref);
749 pref.setSummary(R.string.user_owner);
751 pref.setTitle(user.name);
755 pref.setSummary(R.string.user_summary_restricted_not_set_up);
757 pref.setSummary(R.string.user_summary_not_set_up)
778 Preference pref = new UserPreference(getActivity(), null, UserPreference.USERID_UNKNOWN, local
800 Preference pref = new UserPreference(getActivity(), null, local
    [all...]
  /external/chromium_org/base/prefs/
pref_member_unittest.cc 34 GetPrefValueHelper() : value_(false), pref_thread_("pref thread") {
122 // Try changing back through the pref.
143 // Try changing back through the pref.
164 // Try changing back through the pref.
185 // Try changing back through the pref.
202 // Try changing through the pref member.
211 // Try adding through the pref.
220 // Try removing through the pref.
281 // Changing the pref does fire the observer.
298 IntegerPrefMember pref; local
    [all...]
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder.cpp 183 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, SkColorType pref, Mode mode) {
187 fDefaultPref = pref;
199 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, SkColorType pref) {
203 fDefaultPref = pref;
264 bool SkImageDecoder::DecodeFile(const char file[], SkBitmap* bm, SkColorType pref, Mode mode,
271 if (SkImageDecoder::DecodeStream(stream, bm, pref, mode, format)) {
279 bool SkImageDecoder::DecodeMemory(const void* buffer, size_t size, SkBitmap* bm, SkColorType pref,
287 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format);
290 bool SkImageDecoder::DecodeStream(SkStreamRewindable* stream, SkBitmap* bm, SkColorType pref,
299 success = codec->decode(stream, bm, pref, mode)
    [all...]
  /external/skia/src/images/
SkImageDecoder.cpp 183 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, SkColorType pref, Mode mode) {
187 fDefaultPref = pref;
199 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, SkColorType pref) {
203 fDefaultPref = pref;
264 bool SkImageDecoder::DecodeFile(const char file[], SkBitmap* bm, SkColorType pref, Mode mode,
271 if (SkImageDecoder::DecodeStream(stream, bm, pref, mode, format)) {
279 bool SkImageDecoder::DecodeMemory(const void* buffer, size_t size, SkBitmap* bm, SkColorType pref,
287 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format);
290 bool SkImageDecoder::DecodeStream(SkStreamRewindable* stream, SkBitmap* bm, SkColorType pref,
299 success = codec->decode(stream, bm, pref, mode)
    [all...]
  /packages/apps/Protips/src/com/android/protips/
ProtipWidget.java 73 SharedPreferences pref = context.getSharedPreferences(PREFS_NAME, 0); local
74 mMessage = pref.getInt(PREFS_TIP_NUMBER, 0);
75 mTipSet = pref.getInt(PREFS_TIP_SET, 0);
125 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); local
126 pref.putInt(PREFS_TIP_NUMBER, mMessage);
127 pref.apply();
138 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); local
139 pref.putInt(PREFS_TIP_NUMBER, mMessage);
140 pref.putInt(PREFS_TIP_SET, mTipSet);
141 pref.apply()
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
login_screen_default_policy_browsertest.cc 202 const PrefService::Preference* pref = local
204 ASSERT_TRUE(pref);
205 EXPECT_FALSE(pref->IsManaged());
206 EXPECT_FALSE(pref->IsDefaultValue());
207 EXPECT_TRUE(base::Value::Equals(&recommended_value, pref->GetValue()));
209 pref->GetRecommendedValue()));
228 const PrefService::Preference* pref = local
230 ASSERT_TRUE(pref);
231 EXPECT_FALSE(pref->IsManaged());
232 EXPECT_TRUE(pref->IsDefaultValue())
    [all...]
  /external/chromium_org/chrome/browser/metrics/variations/
variations_seed_store_unittest.cc 77 // Checks whether the pref with name |pref_name| is at its default value in
99 // Check that loading a seed without a hash pref set works correctly.
104 // Make sure the pref hasn't been changed.
114 // Check that loading a bad seed returns false and clears the pref.
138 // Make sure the pref was actually set.
145 // Make sure the stored seed from pref is the same as the seed we created.
148 // Check if trying to store a bad seed leaves the pref unchanged.
  /external/chromium_org/chrome/browser/ui/webui/chromeos/
salsa_ui.cc 130 const PrefService::Preference* pref = local
133 if (pref->GetType() == value->GetType()) {
135 } else if (pref->GetType() == base::Value::TYPE_DOUBLE &&
156 const PrefService::Preference* pref = local
159 if (!pref)
166 pref->IsDefaultValue() ? NULL : pref->GetValue()->DeepCopy();
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_urllib.py 83 pref = import_mod.prefix
89 names.extend([Name(name[0], prefix=pref), Comma()])
90 names.append(Name(MAPPING[import_mod.value][-1][0], prefix=pref))
99 pref = mod_member.prefix
113 mod_member.replace(Name(new_name, prefix=pref))
152 names.extend(handle_name(elt, pref))
154 names.extend(handle_name(elts[-1], pref))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_urllib.py 83 pref = import_mod.prefix
89 names.extend([Name(name[0], prefix=pref), Comma()])
90 names.append(Name(MAPPING[import_mod.value][-1][0], prefix=pref))
99 pref = mod_member.prefix
113 mod_member.replace(Name(new_name, prefix=pref))
152 names.extend(handle_name(elt, pref))
154 names.extend(handle_name(elts[-1], pref))
  /bionic/libc/arch-mips/string/
memset.S 32 * memset.S, version "64h" with 1 cache line horizon for "pref 30" and 14 nops
194 # "pref 30,64(a0)" prefetch, which can be used as "pref 30,0(a0)" after
196 # For "a2" below 160 there will be no such "pref 30 safe" 64-byte chunk.
199 bgtz v1,.Lloop16w_nopref30 # skip "pref 30,0(a0)"
200 subu t7,a2,96 # subtract "pref 30 unsafe" region
201 # below we have at least 1 64-byte chunk which is "pref 30 safe"
207 # Don't use "pref 30,0(a0)" for a0 in a "middle" of a cache line
208 # pref 30,0(a0)
209 # Here we are in the region, where it is safe to use "pref 30,64(a0)
    [all...]
  /bionic/libc/arch-mips64/string/
memset.S 32 * memset.S, version "64h" with 1 cache line horizon for "pref 30" and 14 nops
194 # "pref 30,64(a0)" prefetch, which can be used as "pref 30,0(a0)" after
196 # For "a2" below 160 there will be no such "pref 30 safe" 64-byte chunk.
199 bgtz v1,.Lloop16w_nopref30 # skip "pref 30,0(a0)"
200 subu t7,a2,96 # subtract "pref 30 unsafe" region
201 # below we have at least 1 64-byte chunk which is "pref 30 safe"
207 # Don't use "pref 30,0(a0)" for a0 in a "middle" of a cache line
208 # pref 30,0(a0)
209 # Here we are in the region, where it is safe to use "pref 30,64(a0)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/saml/
saml_offline_signin_limiter_unittest.cc 113 const PrefService::Preference* pref = local
115 ASSERT_TRUE(pref);
116 EXPECT_FALSE(pref->HasUserSetting());
132 pref = prefs->FindPreference(prefs::kSAMLLastGAIASignInTime);
133 ASSERT_TRUE(pref);
134 EXPECT_FALSE(pref->HasUserSetting());
157 const PrefService::Preference* pref = local
159 ASSERT_TRUE(pref);
160 EXPECT_FALSE(pref->HasUserSetting());
176 pref = prefs->FindPreference(prefs::kSAMLLastGAIASignInTime)
201 const PrefService::Preference* pref = local
245 const PrefService::Preference* pref = local
274 const PrefService::Preference* pref = local
306 const PrefService::Preference* pref = local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/users/
multi_profile_user_controller.h 28 // multi-profiles session. It caches the multi-profile user behavior pref backed
73 // Starts to observe the multiprofile user behavior pref of the given profile.
95 // Invoked when user behavior pref value changes.
  /external/chromium_org/chrome/browser/chromeos/settings/
stub_cros_settings_provider_unittest.cc 43 const base::Value* pref = provider_->Get(prefName); local
44 ASSERT_TRUE(pref);
45 ASSERT_TRUE(pref->Equals(value));
  /external/chromium_org/chrome/browser/resources/options/
sync_section.html 38 pref="settings.enable_screen_lock">
43 pref="settings.enable_screen_lock">
57 pref="sync.managed" hidden>
  /external/chromium_org/chrome/browser/spellchecker/
spelling_service_client_unittest.cc 303 PrefService* pref = profile_.GetPrefs(); local
304 pref->SetBoolean(prefs::kEnableContinuousSpellcheck, true);
305 pref->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
313 pref->SetString(prefs::kSpellCheckDictionary, kTests[i].language);
334 PrefService* pref = profile_.GetPrefs(); local
335 pref->SetBoolean(prefs::kEnableContinuousSpellcheck, false);
336 pref->SetBoolean(prefs::kSpellCheckUseSpellingService, false);
340 pref->SetBoolean(prefs::kEnableContinuousSpellcheck, true);
341 pref->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
348 pref->SetString(prefs::kSpellCheckDictionary, std::string())
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/
__init__.py 52 pref = '%s (%d): ' % (test.__name__, len(suite._tests))
53 print pref + " " * (25 - len(pref)),
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
CacheManager.java 64 SharedPreferences pref = PreferenceManager local
68 n = pref.getInt(KEY_CACHE_UP_TO_DATE, 0);
73 pref.edit().putInt(KEY_CACHE_UP_TO_DATE, 1).commit();
  /packages/apps/Mms/src/com/android/mms/util/
CacheManager.java 69 SharedPreferences pref = PreferenceManager local
73 n = pref.getInt(KEY_CACHE_UP_TO_DATE, 0);
78 pref.edit().putInt(KEY_CACHE_UP_TO_DATE, 1).commit();
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodSubtypePreference.java 65 final InputMethodSubtypePreference pref = (InputMethodSubtypePreference) rhs; local
74 if (pref.mIsSystemLocale) {
80 if (pref.mIsSystemLanguage) {
  /packages/services/Telephony/src/com/android/phone/
GsmUmtsAdditionalCallOptions.java 78 Preference pref = mPreferences.get(mInitIndex); local
79 if (pref instanceof CallWaitingCheckBoxPreference) {
80 ((CallWaitingCheckBoxPreference) pref).init(this, false);
  /packages/wallpapers/Basic/res/values/
strings.xml 46 <!-- Polar clock: label for "show seconds" pref -->
48 <!-- Polar clock: label for "variable widths" pref -->
50 <!-- Polar clock: label for "palette" pref -->
  /cts/tests/tests/preference2/src/android/preference2/cts/
PreferenceCategoryTest.java 38 Preference prefCat = mActivity.findPreference("pref-1");

Completed in 1743 milliseconds

1 2 3 4 5 67 8 91011>>