/external/chromium_org/ash/display/ |
display_change_observer_chromeos_unittest.cc | 43 std::vector<Resolution> resolutions = local 45 ASSERT_EQ(6u, resolutions.size()); 46 EXPECT_EQ("1920x1200", resolutions[0].size.ToString()); 47 EXPECT_FALSE(resolutions[0].interlaced); 49 EXPECT_EQ("1920x1080", resolutions[1].size.ToString()); 50 EXPECT_FALSE(resolutions[1].interlaced); 52 EXPECT_EQ("1280x720", resolutions[2].size.ToString()); 53 EXPECT_FALSE(resolutions[2].interlaced); 55 EXPECT_EQ("1024x768", resolutions[3].size.ToString()); 56 EXPECT_TRUE(resolutions[3].interlaced) [all...] |
display_info_unittest.cc | 50 EXPECT_EQ(3u, info.resolutions().size()); 51 EXPECT_EQ("300x200", info.resolutions()[0].size.ToString()); 52 EXPECT_EQ("200x200", info.resolutions()[1].size.ToString()); 53 EXPECT_EQ("100x100", info.resolutions()[2].size.ToString());
|
display_change_observer_chromeos.cc | 64 // resolutions with non-interlaced ones. 148 std::vector<Resolution> resolutions; local 150 resolutions = GetResolutionList(output); 170 displays.back().set_resolutions(resolutions);
|
display_info.cc | 100 std::vector<Resolution> resolutions; local 109 resolutions.push_back(Resolution(gfx::Size(width, height), false)); 121 display_info.set_resolutions(resolutions); 260 return ToString() + ", resolutions=" + resolutions_str;
|
display_info.h | 38 // [origin-]widthxheight[*device_scale_factor][#resolutions list] 67 // 200x100 window at 0,0 origin, with 3 possible resolutions, 145 const std::vector<Resolution>& resolutions() const { function in class:ash::internal::DisplayInfo 153 // excluding resolutions. 157 // including resolutions. 191 // The list of resolutions supported by this display.
|
display_manager.cc | 58 // for the full list of resolutions. 432 const std::vector<Resolution>& resolutions = display_info.resolutions(); local 433 DCHECK_NE(0u, resolutions.size()); 435 std::find_if(resolutions.begin(), 436 resolutions.end(), 438 if (iter == resolutions.end()) { 442 } else if (iter == resolutions.begin()) { [all...] |
display_manager_unittest.cc | 720 std::vector<Resolution> resolutions; local 721 resolutions.push_back(Resolution(gfx::Size(1000, 500), false)); 722 resolutions.push_back(Resolution(gfx::Size(800, 300), false)); 723 resolutions.push_back(Resolution(gfx::Size(400, 500), false)); 725 native_display_info.set_resolutions(resolutions); [all...] |
/external/chromium_org/remoting/host/ |
desktop_resizer_mac.cc | 40 std::list<ScreenResolution>* resolutions); 61 std::list<ScreenResolution> resolutions; local 62 GetSupportedModesAndResolutions(&modes, &resolutions); 63 return resolutions; 73 std::list<ScreenResolution> resolutions; local 74 GetSupportedModesAndResolutions(&modes, &resolutions); 79 for (std::list<ScreenResolution>::const_iterator i = resolutions.begin(); 80 i != resolutions.end(); ++i, ++index) { 122 std::list<ScreenResolution>* resolutions) { 146 resolutions->push_back(resolution) [all...] |
resizing_host_observer.cc | 79 // this does not differentiate between resolutions that don't require 155 // If the implementation returns any resolutions, pick the best one according 157 std::list<ScreenResolution> resolutions = local 159 if (resolutions.empty()) 161 CandidateResolution best_candidate(resolutions.front(), resolution); 162 for (std::list<ScreenResolution>::const_iterator i = ++resolutions.begin(); 163 i != resolutions.end(); ++i) {
|
desktop_resizer_win.cc | 83 // Enumerate the resolutions to return, and where there are multiple modes of 91 std::list<ScreenResolution> resolutions; 129 resolutions.push_back(candidate_resolution); 135 return resolutions;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
CtsTestHelper.java | 49 public static String getTestDetails(List<SelectableResolution> resolutions) { 51 for (int i = 0; i < resolutions.size(); i++) { 52 SelectableResolution res = resolutions.get(i);
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaProperties.java | 61 * Supported resolutions for specific aspect ratios 338 * Get the supported resolutions for the specified aspect ratio. 340 * @param aspectRatio The aspect ratio for which the resolutions are 345 final Pair<Integer, Integer>[] resolutions; local 348 resolutions = ASPECT_RATIO_3_2_RESOLUTIONS; 353 resolutions = ASPECT_RATIO_4_3_RESOLUTIONS; 358 resolutions = ASPECT_RATIO_5_3_RESOLUTIONS; 363 resolutions = ASPECT_RATIO_11_9_RESOLUTIONS; 368 resolutions = ASPECT_RATIO_16_9_RESOLUTIONS; 384 Pair<Integer, Integer>[] tmpResolutions = new Pair[resolutions.length] [all...] |
OverlayFrame.java | 210 final Pair<Integer, Integer>[] resolutions; local 211 resolutions = MediaProperties.getSupportedResolutions(nativeHelper.nativeHelperGetAspectRatio()); 214 maxResolution = resolutions[resolutions.length - 1];
|
MediaImageItem.java | 147 final Pair<Integer, Integer>[] resolutions = local 153 final Pair<Integer, Integer> maxResolution = resolutions[resolutions.length - 1]; [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
display_options_handler.cc | 191 std::vector<ash::internal::Resolution> resolutions; local 206 resolutions.push_back(ash::internal::Resolution( 210 for (size_t i = 0; i < display_info.resolutions().size(); ++i) 211 resolutions.push_back(display_info.resolutions()[i]); 213 std::sort(resolutions.begin(), resolutions.end(), CompareResolution); 218 for (size_t i = 0; i < resolutions.size(); ++i) { 220 gfx::Size resolution = resolutions[i].size; 229 // because |resolutions| is sorted by its area [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
AaptQuickFixTest.java | 131 IMarkerResolution[] resolutions = aaptQuickFix.getResolutions(marker); local 132 assertNotNull(resolutions); 133 assertEquals(1, resolutions.length); 134 IMarkerResolution resolution = resolutions[0]; 239 IMarkerResolution[] resolutions = aaptQuickFix.getResolutions(marker); local 240 assertNotNull(resolutions); 241 assertEquals(1, resolutions.length); 242 IMarkerResolution resolution = resolutions[0];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFixGenerator.java | 127 List<IMarkerResolution> resolutions = new ArrayList<IMarkerResolution>(); local 130 AddSuppressAnnotation.createFixes(marker, id, resolutions); 133 resolutions.add(new MoreInfoProposal(id, marker.getAttribute(IMarker.MESSAGE, null))); 134 resolutions.add(new SuppressProposal(resource, id, false)); 135 resolutions.add(new SuppressProposal(resource.getProject(), id, true /* all */)); 136 resolutions.add(new SuppressProposal(resource, id, true /* all */)); 137 resolutions.add(new ClearMarkersProposal(resource, true /* all */)); 139 if (resolutions.size() > 0) { 140 return resolutions.toArray(new IMarkerResolution[resolutions.size()]) 287 List<IMarkerResolution> resolutions = new ArrayList<IMarkerResolution>(); local [all...] |
AddSuppressAnnotation.java | 141 // and besides we don't want to keep offering marker resolutions on this 304 * Adds any applicable suppress lint fix resolutions into the given list 308 * @param resolutions a list to add the created resolutions into, if any 311 List<IMarkerResolution> resolutions) { 407 resolutions.add(new AddSuppressAnnotation(id, marker, declaration, desc, null)); 418 resolutions.add(new AddSuppressAnnotation(id, marker, declaration, desc,
|
/external/doclava/src/com/google/doclava/ |
AnnotationInstanceInfo.java | 93 System.out.println("Resolutions for Annotation:"); 100 ArrayList<Resolution> resolutions = mResolutions; local 104 for (Resolution resolution : resolutions) {
|
AnnotationValueInfo.java | 99 System.out.println("Resolutions for Annotation Value:"); 106 ArrayList<Resolution> resolutions = mResolutions; local 110 for (Resolution resolution : resolutions) {
|
TypeInfo.java | 373 System.out.println("Resolutions for Type " + mSimpleTypeName + ":"); 380 ArrayList<Resolution> resolutions = mResolutions; local 384 for (Resolution resolution : resolutions) {
|
/external/chromium_org/chrome/test/functional/ |
youtube.py | 237 """Test various video resolutions.""" 239 resolutions = self.ExecuteJavascript(""" 243 resolutions = resolutions.split(',') 244 for res in resolutions:
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/XME/ |
xme.c | 312 XiGMiscResolutionInfo *resolutions; local 333 resolutions = (XiGMiscResolutionInfo*)Xmalloc(size); 334 if (!resolutions) { 341 _XReadPad(dpy, (void*)resolutions, size); 343 *presolutions = resolutions;
|
/external/chromium_org/v8/src/ |
promise.js | 253 var resolutions = []; 256 deferred.resolve(resolutions); 261 resolutions[i] = x; 262 if (--count === 0) deferred.resolve(resolutions);
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/ |
SettingsDialog.java | 78 // Array of windowed resolutions 522 * <code>updateResolutionChoices</code> updates the available resolutions 578 ArrayList<String> resolutions = new ArrayList<String>(modes.length); local 581 if (!resolutions.contains(res)) { 582 resolutions.add(res); 586 String[] res = new String[resolutions.size()]; 587 resolutions.toArray(res);
|