Searched refs:preferred (Results 1 - 25 of 92) sorted by relevance

1234

/external/chromium_org/remoting/host/
H A Ddesktop_resizer.h26 // |preferred|. Implementations will generally do one of the following:
28 // driver, regardless of |preferred|.
29 // 2. Return a list containing just |preferred|, perhaps after imposing
34 const ScreenResolution& preferred) = 0;
H A Dresizing_host_observer.cc26 const ScreenResolution& preferred)
30 DCHECK(!preferred.IsEmpty());
32 // The client scale factor is the smaller of the candidate:preferred ratios
34 if ((candidate.dimensions().width() > preferred.dimensions().width()) ||
35 (candidate.dimensions().height() > preferred.dimensions().height())) {
37 static_cast<float>(preferred.dimensions().width()) /
40 static_cast<float>(preferred.dimensions().height()) /
49 // of the two aspect ratios (candidate and preferred) to the larger. The
50 // best aspect ratio is the one that most closely matches the preferred
58 static_cast<float>(preferred
25 CandidateResolution(const ScreenResolution& candidate, const ScreenResolution& preferred) argument
[all...]
H A Ddesktop_resizer_linux.cc132 const ScreenResolution& preferred) OVERRIDE;
203 const ScreenResolution& preferred) {
211 int width = std::min(std::max(preferred.dimensions().width(), min_width),
213 int height = std::min(std::max(preferred.dimensions().height(), min_height),
202 GetSupportedResolutions( const ScreenResolution& preferred) argument
H A Ddesktop_resizer_mac.cc29 const ScreenResolution& preferred) OVERRIDE;
59 const ScreenResolution& preferred) {
58 GetSupportedResolutions( const ScreenResolution& preferred) argument
H A Ddesktop_resizer_win.cc40 const ScreenResolution& preferred) OVERRIDE;
79 const ScreenResolution& preferred) {
78 GetSupportedResolutions( const ScreenResolution& preferred) argument
H A Dresizing_host_observer_unittest.cc65 const ScreenResolution& preferred) OVERRIDE {
68 result.push_back(preferred);
/external/libcxx/test/utilities/memory/util.dynamic.safety/
H A Dget_pointer_safety.pass.cpp21 r == std::pointer_safety::preferred ||
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDOMExtension.js208 * @param {?Size=} preferred
210 function Constraints(minimum, preferred)
220 this.preferred = preferred || minimum;
222 if (this.minimum.width > this.preferred.width || this.minimum.height > this.preferred.height)
223 throw new Error("Minimum size is greater than preferred.");
232 return !!constraints && this.minimum.isEqual(constraints.minimum) && this.preferred.isEqual(constraints.preferred);
242 return new Constraints(this.minimum.widthToMax(value), this.preferred
[all...]
/external/chromium_org/components/autofill/core/common/
H A Dpassword_form_fill_data_unittest.cc16 // Tests that the when there is a single preferred match, and no extra
30 form_on_page.preferred = false;
44 preferred_match.preferred = true;
60 // The preferred realm should be empty since it's the same as the realm of
78 // preferred match that was found using public suffix matching, an additional
93 form_on_page.preferred = false;
108 preferred_match.preferred = true;
122 exact_match.preferred = false;
138 public_suffix_match.preferred = false;
154 // The preferred real
[all...]
H A Dpassword_form.cc17 preferred(false),
46 preferred == form.preferred &&
80 << " preferred: " << form.preferred
H A Dpassword_form.h156 // the PasswordManager ensures that only one of them has a preferred bit set
160 bool preferred; member in struct:autofill::PasswordForm
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_store_change.h43 form().preferred == other.form().preferred &&
H A Dpassword_form_data.h29 const bool preferred; member in struct:password_manager::PasswordFormData
H A Dpassword_form_data.cc17 form->preferred = form_data.preferred;
H A Dpassword_form_manager.cc162 pending_credentials_.preferred = true;
334 pending_credentials_.preferred = credentials.preferred;
436 preferred_match_ = logins_result[i]->preferred ? logins_result[i]
468 // because a user may have chosen to 'Forget' the preferred match. So we
470 // be saved as preferred.
536 // The new_form is being used to sign in, so it is preferred.
537 DCHECK(pending_credentials_.preferred);
587 iter->second->preferred) {
588 // This wasn't the selected login but it used to be preferred
[all...]
H A Dpassword_form_manager_unittest.cc148 saved_match_.preferred = true;
234 credentials.preferred = true;
248 EXPECT_TRUE(GetPendingCredentials(&manager)->preferred);
275 EXPECT_TRUE(GetPendingCredentials(&manager)->preferred);
319 credentials.preferred = true;
330 EXPECT_TRUE(GetPendingCredentials(&manager)->preferred);
361 credentials.preferred = true;
377 EXPECT_TRUE(GetPendingCredentials(&manager)->preferred);
411 credentials.preferred = true;
539 login.preferred
[all...]
H A Dlogin_database_unittest.cc133 form.preferred = false;
228 form6.preferred = true;
249 EXPECT_TRUE(form6.preferred);
277 form.preferred = false;
332 form.preferred = false;
381 form.preferred = false;
421 form.preferred = false;
474 form.preferred = false;
711 form.preferred = true;
771 incomplete_form.preferred
[all...]
H A Dpassword_syncable_service.cc51 password_form.preferred == password_specifics.preferred() &&
394 CopyField(preferred);
425 new_password.preferred = password.preferred();
H A Dpassword_syncable_service_unittest.cc86 expected_password.preferred() == actual_password.preferred() &&
326 form1.preferred = true;
329 form2.preferred = false;
/external/chromium_org/ash/shell/
H A Dwidgets.cc110 gfx::Size preferred = view->GetPreferredSize(); local
111 view->SetBounds(left, top, preferred.width(), preferred.height());
112 top += preferred.height() + kVerticalPad;
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Dchrome_finder_unittest.cc71 base::FilePath preferred(FILE_PATH_LITERAL("preferred"));
74 existing_paths.push_back(dir2.Append(preferred));
77 rel_paths.push_back(preferred);
83 dir2.Append(preferred), existing_paths, rel_paths, locations));
/external/chromium_org/components/autofill/content/common/
H A Dautofill_param_traits_macros.h43 IPC_STRUCT_TRAITS_MEMBER(preferred)
/external/chromium_org/components/sync_driver/
H A Dnon_blocking_data_type_manager.h42 // The |preferred| flag indicates whether or not this type should be synced.
43 void RegisterType(syncer::ModelType type, bool preferred);
/external/chromium_org/chrome/browser/first_run/
H A Dtry_chrome_dialog_view.cc270 gfx::Size preferred = layout->GetPreferredSize(root_view); local
273 separator->SetSize(gfx::Size(preferred.width(), separator_height));
276 gfx::Rect pos = ComputeWindowPosition(preferred.width(), preferred.height(),
283 SetToastRegion(toast_window, preferred.width(), preferred.height());
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A Dformatutils9.cpp405 // VertexTypeMapping maps GL type & normalized flag to preferred and fallback D3D vertex types (as D3DVertexType enums).
411 enum { preferred = Preferred }; enumerator in enum:rx::d3d9::VertexTypeMappingBase::__anon11579
452 // Policy rules for use with Converter, to choose whether to use the preferred or fallback conversion.
454 template <class T> struct UsePreferred { enum { type = T::preferred }; };
457 // Converter ties it all together. Given an OpenGL type/norm/size and choice of preferred/fallback conversion,
499 #define TRANSLATION(type, norm, size, preferred) \
502 Converter<type, norm, size, preferred>::identity, \
503 Converter<type, norm, size, preferred>::finalSize, \
504 Converter<type, norm, size, preferred>::convertArray, \
505 static_cast<D3DDECLTYPE>(Converter<type, norm, size, preferred>
[all...]

Completed in 1292 milliseconds

1234