/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
InputViewManager.java | 57 * @param pref The preferences 60 public void setPreferences(SharedPreferences pref, EditorInfo editor);
|
LetterConverter.java | 46 * @param pref The preferences 48 public void setPreferences(SharedPreferences pref);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 102 * There's a known issue here, which is really a rare edge-case: if the pref dialog is open 104 * state changed (i.e. from valid to invalid or vice versa), the pref panel will display or 105 * hide the error as appropriate but the pref panel will fail to validate the apply/ok buttons 106 * appropriately. The easy workaround is to cancel the pref panel and enter it again. 122 * @return True if the apply/ok button should be enabled in the pref panel 197 // We may not have an sdk if the sdk path pref is empty or not valid. 217 // the whole pref panel. We can live without the Sdk target selector but 236 // We may not have an sdk if the sdk path pref is empty or not valid.
|
/external/chromium/chrome/browser/ |
external_protocol_handler.cc | 94 PrefService* pref = g_browser_process->local_state(); local 95 if (pref) { // May be NULL during testing. 96 DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes); 115 PrefService* pref = g_browser_process->local_state(); local 116 if (pref) { // May be NULL during testing. 117 DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes);
|
/external/chromium_org/base/prefs/ |
pref_member.cc | 44 // Add ourselves as a pref observer so we can keep our local value in sync. 73 const PrefService::Preference* pref = local 75 DCHECK(pref); 78 internal()->UpdateValue(pref->GetValue()->DeepCopy(), 79 pref->IsManaged(), 80 pref->IsUserModifiable(),
|
pref_value_store.h | 95 // indicated pref store, even if that value is currently being overridden by 102 // being controlled by the indicated pref store and not being overridden by 173 // Type of the pref store. 201 // Returns the pref store type identifying the source that controls the 219 // Called upon changes in individual pref stores in order to determine whether 220 // the user-visible pref value has changed. Triggers the change notification 222 // controlling the pref has changed. 225 // Called from the PrefStoreKeeper implementation when a pref value for |key| 226 // changed in the pref store for |type|. 232 // Initializes a pref store keeper. Sets up a PrefStoreKeeper that will tak [all...] |
/external/chromium_org/chrome/browser/extensions/api/preference/ |
preference_api.h | 55 // extension. In other words, these are not pref values *about* the extension, 78 // first, and |from_incognito| is set to true if the effective pref value is 158 // into a representation that is used in the pref stores of the browser. 159 // Returns the pref store representation in case of success or sets 184 // browser pref exists and the extension has the API permission needed to 185 // modify that pref. Sets |error_| if the extension doesn't have the needed
|
preference_api.cc | 215 "Trying to register pref transformer for " << browser_pref << " twice"; 223 // Mapping from extension pref keys to browser pref keys and permissions. 226 // Mapping from browser pref keys to extension event names and permissions. 229 // Mapping from browser pref keys to transformers. 270 const PrefService::Preference* pref = local 272 CHECK(pref); 276 transformer->BrowserToExtensionPref(pref->GetValue()); 279 pref->name()); 304 const PrefService::Preference* pref local 575 const PrefService::Preference* pref = local 660 const PrefService::Preference* pref = local [all...] |
/external/chromium_org/chrome/browser/prefs/ |
chrome_pref_service_unittest.cc | 37 const PrefService::Preference* pref = local 39 ASSERT_TRUE(pref); 40 const Value* value = pref->GetValue(); 53 pref = prefs.FindPreference(prefs::kCloudPrintProxyEnabled); 54 ASSERT_TRUE(pref); 55 value = pref->GetValue();
|
pref_model_associator.cc | 29 const sync_pb::PreferenceSpecifics& GetSpecifics(const syncer::SyncData& pref) { 30 DCHECK(pref.GetDataType() == syncer::PREFERENCES || 31 pref.GetDataType() == syncer::PRIORITY_PREFERENCES); 32 if (pref.GetDataType() == syncer::PRIORITY_PREFERENCES) { 33 return pref.GetSpecifics().priority_preference().preference(); 35 return pref.GetSpecifics().preference(); 123 DVLOG(1) << "Found user pref value for " << pref_name; 132 LOG(WARNING) << "Sync has null value for pref " << pref_name.c_str(); 137 << " which doesn't match pref type " 192 LOG(WARNING) << "Sync has null value for pref " << pref_name.c_str() 441 const PrefService::Preference* pref = local 505 const PrefService::Preference* pref = local [all...] |
/external/chromium_org/chrome/installer/util/ |
master_preferences_constants.h | 37 // Boolean pref that disables all logging. 41 // Boolean pref that triggers silent import of the default browser bookmarks. 43 // String pref that triggers silent import of bookmarks from the html file at 46 // Boolean pref that triggers silent import of the default browser history. 48 // Boolean pref that triggers silent import of the default browser homepage. 50 // Boolean pref that triggers silent import of the default search engine.
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 117 public boolean onPreferenceChange(Preference pref, Object newValue) { 118 CellBroadcastReceiver.startConfigService(pref.getContext()); 139 public boolean onPreferenceChange(Preference pref, Object newValue) { 140 final ListPreference listPref = (ListPreference) pref; 160 public boolean onPreferenceChange(Preference pref, Object newValue) { 161 final ListPreference listPref = (ListPreference) pref;
|
/packages/apps/Settings/src/com/android/settings/users/ |
UserSettings.java | 617 Preference pref; local 619 pref = mMePreference; 621 pref = new UserPreference(getActivity(), null, user.id, 624 pref.setOnPreferenceClickListener(this); 625 pref.setKey("id=" + user.id); 626 mUserListCategory.addPreference(pref); 628 pref.setSummary(R.string.user_owner); 630 pref.setTitle(user.name); 633 pref.setSummary(user.isRestricted() 637 pref.setSummary(R.string.user_summary_restricted_profile) 650 Preference pref = new UserPreference(getActivity(), null, UserPreference.USERID_UNKNOWN, local [all...] |
AppRestrictionsFragment.java | 334 AppRestrictionsPreference pref = (AppRestrictionsPreference) local 336 if (pref == null) return; 338 if ((Intent.ACTION_PACKAGE_ADDED.equals(action) && pref.isChecked()) 339 || (Intent.ACTION_PACKAGE_REMOVED.equals(action) && !pref.isChecked())) { 340 pref.setEnabled(true); 424 AppRestrictionsPreference pref = (AppRestrictionsPreference) findPreference( local 426 if (pref != null) { 427 pref.setEnabled(false); 768 Preference pref = mAppList.getPreference(i); local 769 if (pref instanceof AppRestrictionsPreference) 780 AppRestrictionsPreference pref = (AppRestrictionsPreference) v.getTag(); local 1019 AppRestrictionsPreference pref = mCustomRequestMap.get(requestCode); local [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_value_store_unittest.cc | 27 // Allows to capture pref notifications through gmock. 38 const char kManagedPlatformPref[] = "this.pref.managed_platform"; 39 const char kManagedCloudPref[] = "this.pref.managed_cloud"; 40 const char kCommandLinePref[] = "this.pref.command_line"; 41 const char kExtensionPref[] = "this.pref.extension"; 42 const char kUserPref[] = "this.pref.user"; 43 const char kRecommendedPlatformPref[] = "this.pref.recommended_platform"; 44 const char kRecommendedCloudPref[] = "this.pref.recommended_cloud"; 45 const char kDefaultPref[] = "this.pref.default"; 46 const char kMissingPref[] = "this.pref.does_not_exist" [all...] |
pref_member_unittest.cc | 116 // Try changing back through the pref. 137 // Try changing back through the pref. 158 // Try changing back through the pref. 179 // Try changing back through the pref. 211 // Try changing back through the pref. 255 // Changing the pref does fire the observer. 272 IntegerPrefMember pref; local
|
pref_service_unittest.cc | 74 // Setting the pref to the same value should not set the pref value a second 80 // Clearing the pref should cause the pref to fire. 86 // Clearing the pref again should not cause the pref to fire. 129 // Now try adding a second pref observer. 152 // the user pref file, it uses the correct fallback value instead. 161 const PrefService::Preference* pref = local 163 ASSERT_TRUE(pref); [all...] |
pref_member.cc | 35 // Add ourselves as a pref observer so we can keep our local value in sync. 66 const PrefService::Preference* pref = local 68 DCHECK(pref); 71 internal()->UpdateValue(pref->GetValue()->DeepCopy(), pref->IsManaged());
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManageAccountsSettings.java | 194 Preference pref = getPreferenceScreen().getPreference(i); local 195 if (pref instanceof AccountPreference) { 196 Account account = ((AccountPreference) pref).getAccount(); 234 Preference pref = getPreferenceScreen().getPreference(i); local 235 if (! (pref instanceof AccountPreference)) { 239 AccountPreference accountPref = (AccountPreference) pref; 393 Preference pref = prefs.getPreference(i); local 394 Intent intent = pref.getIntent(); 414 pref.setOnPreferenceClickListener(new FragmentStarter( 420 prefs.removePreference(pref); 436 Preference pref = getPreferenceScreen().getPreference(i); local [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreferenceCategory.java | 351 private void updatePreference(StorageItemPreference pref, long size) { 353 pref.setSummary(formatSize(size)); 354 final int order = pref.getOrder(); 355 mUsageBarPreference.addEntry(order, size / (float) mTotalSize, pref.color); 357 removePreference(pref); 415 public Intent intentForClick(Preference pref) { 421 final String key = pref.getKey(); 422 if (pref == mFormatPreference) { 426 } else if (pref == mItemApps) { 430 } else if (pref == mItemDownloads) [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_preferences.h | 129 virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, 133 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, 137 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, 140 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, 143 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, 194 // Returns the gallery's pref id. 205 // Returns the gallery's pref id. 321 // A mapping from device id to the set of gallery pref ids on that device. 322 // All pref ids in |device_map_| are also in |known_galleries_|.
|
media_galleries_dialog_controller.h | 137 virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, 140 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, 143 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, 145 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, 147 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref,
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceTest.java | 187 "pref-group"); 204 "pref-group"); 222 "pref-group"); 240 "pref-group"); 258 "pref-group");
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
startup_pages_handler.cc | 208 SessionStartupPref pref = SessionStartupPref::GetStartupPref(prefs); local 209 pref.urls = startup_custom_pages_table_model_->GetURLs(); 211 if (pref.urls.empty()) 212 pref.type = SessionStartupPref::DEFAULT; 214 SessionStartupPref::SetStartupPref(prefs, pref);
|
/external/chromium_org/ui/views/layout/ |
grid_layout.cc | 606 gfx::Size pref; local 612 pref = view_state->view->GetPreferredSize(); 614 view_state->pref_width = pref.width(); 616 view_state->pref_height = pref.height(); 618 view_state->remaining_width = pref.width(); 619 view_state->remaining_height = pref.height(); 810 gfx::Size pref; local 811 SizeRowsAndColumns(true, host_->width(), host_->height(), &pref); 850 gfx::Size pref; local 851 SizeRowsAndColumns(false, width, 0, &pref); [all...] |