/external/skia/gm/rebaseline_server/ |
imagepairset_test.py | 17 import imagepair namespace 25 imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS: { 29 imagepair.KEY__IMAGEPAIRS__IMAGE_A_URL: 'test1/1111.png', 30 imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL: 'test1/1111.png', 31 imagepair.KEY__IMAGEPAIRS__IS_DIFFERENT: False, 34 imagepair.KEY__IMAGEPAIRS__DIFFERENCES: { 39 imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS: { 43 imagepair.KEY__IMAGEPAIRS__IMAGE_A_URL: 'test2/2222.png', 44 imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL: 'test2/22223.png', 45 imagepair.KEY__IMAGEPAIRS__IS_DIFFERENT: True [all...] |
imagepair_test.py | 9 Test imagepair.py 19 import imagepair namespace 39 """Tests ImagePair, using a real ImageDiffDB to download real images. 55 # 4. expected result of ImagePair.as_dict() 134 # Test fix for http://skbug.com/2368 -- how do we handle an ImagePair 167 image_pair = imagepair.ImagePair(
|
imagepair.py | 9 ImagePair class (see class docstring for details) 15 # Keys used within ImagePair dictionary representations. 25 class ImagePair(object): 75 """Returns a dictionary describing this ImagePair.
|
compare_rendered_pictures.py | 23 import imagepair namespace 148 for imagepair in imagepairs_for_this_skp: 149 if imagepair: 150 all_image_pairs.add_image_pair(imagepair) 151 result_type = imagepair.extra_columns_dict\ 154 failing_image_pairs.add_image_pair(imagepair) 181 """Creates an ImagePair object for this pair of images. 190 An ImagePair object, or None if both image_dict_A and image_dict_B are 229 return imagepair.ImagePair( [all...] |
imagepairset.py | 17 import imagepair namespace 60 """Adds an ImagePair; this may be repeated any number of times.""" 61 # Special handling when we add the first ImagePair... 66 raise Exception('added ImagePair with base_url "%s" instead of "%s"' % ( 79 an ImagePair's extra_columns dictionary) 89 an ImagePair's extra_columns dictionary) 109 """Records one column_id/value extraColumns pair found within an ImagePair. 117 an ImagePair's extra_columns dictionary)
|
compare_to_expectations.py | 27 import imagepair namespace 104 imagepair.KEY__IMAGEPAIRS__EXPECTATIONS: { 109 imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS: { 124 mod[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 126 mod[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 129 mod[imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL]) 135 value = mod[imagepair.KEY__IMAGEPAIRS__EXPECTATIONS].get(field) 139 mod[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 329 image_pair = imagepair.ImagePair( [all...] |
compare_configs.py | 25 import imagepair namespace 152 image_pair = imagepair.ImagePair( 163 'got exception while creating ImagePair for image_name '
|
/external/skia/gm/rebaseline_server/static/ |
view.html | 295 <!-- imagepair-selection checkbox column --> 299 <tr ng-repeat="imagePair in limitedImagePairs" valign="top" 303 {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][constants.KEY__EXTRACOLUMNS__RESULT_TYPE]}} 307 ng-click="showOnlyResultType(imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][constants.KEY__EXTRACOLUMNS__RESULT_TYPE])" 308 title="show only results of type {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][constants.KEY__EXTRACOLUMNS__RESULT_TYPE]}}"> 321 {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][categoryName]}} 325 ng-disabled="imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][categoryName] == categoryValueMatch[categoryName]" 326 ng-click="setCategoryValueMatch(categoryName, imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][categoryName])" 327 title="show only results of {{categoryName}} {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][categoryName]}}"> 340 {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][constants.KEY__EXTRACOLUMNS__CONFIG]} [all...] |
loader.js | 37 var imagePair = unfilteredImagePairs[i]; 38 var extraColumnValues = imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS]; 50 (viewingTab == imagePair.tab)) { 51 filteredImagePairs.push(imagePair); 81 var imagePair = unfilteredImagePairs[i]; 82 imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN] = 1; 83 filteredImagePairs[i] = imagePair; 89 var imagePair = unfilteredImagePairs[numPairs-1]; 90 var nextRowImageAUrl = imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL]; 91 var nextRowImageBUrl = imagePair[constants.KEY__IMAGEPAIRS__IMAGE_B_URL] [all...] |
constants.js | 24 // NOTE: Keep these in sync with ../imagepair.py
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/static/ |
view.html | 298 <!-- imagepair-selection checkbox column --> 302 <tr ng-repeat="imagePair in limitedImagePairs" valign="top" 307 {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][columnName]}} 312 ng-click="showOnlyColumnValue(columnName, imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][columnName])" 313 title="show only results of {{extraColumnHeaders[columnName][constants.KEY__EXTRACOLUMNHEADERS__HEADER_TEXT]}} {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][columnName]}}"> 328 <a ng-repeat="bug in imagePair[constants.KEY__IMAGEPAIRS__EXPECTATIONS][constants.KEY__EXPECTATIONS__BUGS]" 336 <td width="{{imageSize}}" ng-if="imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN] > 0" rowspan="{{imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN]}}"> 337 <div ng-if="imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL] != null"> 338 <a href="{{imageSets[constants.KEY__IMAGESETS__SET__IMAGE_A][constants.KEY__IMAGESETS__FIELD__BASE_URL]}}/{{imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL]}}" target="_blank">View Image</a><br/ [all...] |
live-view.html | 327 <!-- imagepair-selection checkbox column --> 331 <tr ng-repeat="imagePair in limitedImagePairs" valign="top" 336 {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][columnName]}} 341 ng-click="showOnlyColumnValue(columnName, imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][columnName])" 342 title="show only results of {{extraColumnHeaders[columnName][constants.KEY__EXTRACOLUMNHEADERS__HEADER_TEXT]}} {{imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS][columnName]}}"> 357 <a ng-repeat="bug in imagePair[constants.KEY__IMAGEPAIRS__EXPECTATIONS][constants.KEY__EXPECTATIONS__BUGS]" 365 <td width="{{imageSize}}" ng-if="imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN] > 0" rowspan="{{imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN]}}"> 366 <div ng-if="imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL] != null"> 367 <a href="{{imageSets[constants.KEY__IMAGESETS__SET__IMAGE_A][constants.KEY__IMAGESETS__FIELD__BASE_URL]}}/{{imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL]}}" target="_blank">View Image</a><br/ [all...] |
live-loader.js | 43 var imagePair = unfilteredImagePairs[i]; 44 var extraColumnValues = imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS]; 47 // showingColumnValues[columnName], don't include this imagePair. 61 if (allColumnValuesAreVisible && (viewingTab == imagePair.tab)) { 62 filteredImagePairs.push(imagePair); 92 var imagePair = unfilteredImagePairs[i]; 93 imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN] = 1; 94 filteredImagePairs[i] = imagePair; 100 var imagePair = unfilteredImagePairs[numPairs-1]; 101 var nextRowImageAUrl = imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL] [all...] |
loader.js | 37 var imagePair = unfilteredImagePairs[i]; 38 var extraColumnValues = imagePair[constants.KEY__IMAGEPAIRS__EXTRACOLUMNS]; 41 // showingColumnValues[columnName], don't include this imagePair. 55 if (allColumnValuesAreVisible && (viewingTab == imagePair.tab)) { 56 filteredImagePairs.push(imagePair); 86 var imagePair = unfilteredImagePairs[i]; 87 imagePair[constants.KEY__IMAGEPAIRS__ROWSPAN] = 1; 88 filteredImagePairs[i] = imagePair; 94 var imagePair = unfilteredImagePairs[numPairs-1]; 95 var nextRowImageAUrl = imagePair[constants.KEY__IMAGEPAIRS__IMAGE_A_URL] [all...] |
constants.js | 27 // NOTE: Keep these in sync with ../imagepair.py
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
imagepairset_test.py | 17 import imagepair namespace 25 imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS: { 29 imagepair.KEY__IMAGEPAIRS__IMAGE_A_URL: 'test1/1111.png', 30 imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL: 'test1/1111.png', 31 imagepair.KEY__IMAGEPAIRS__IS_DIFFERENT: False, 34 imagepair.KEY__IMAGEPAIRS__DIFFERENCES: { 39 imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS: { 43 imagepair.KEY__IMAGEPAIRS__IMAGE_A_URL: 'test2/2222.png', 44 imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL: 'test2/22223.png', 45 imagepair.KEY__IMAGEPAIRS__IS_DIFFERENT: True [all...] |
imagepair_test.py | 9 Test imagepair.py 19 import imagepair namespace 40 """Tests ImagePair, using a real ImageDiffDB to download real images. 56 # 4. expected result of ImagePair.as_dict() 146 # Test fix for http://skbug.com/2368 -- how do we handle an ImagePair 196 image_pair = imagepair.ImagePair(
|
imagepair.py | 9 ImagePair class (see class docstring for details) 15 # Keys used within ImagePair dictionary representations. 30 class ImagePair(object): 89 """Returns a dictionary describing this ImagePair. 109 # TODO(epoger): Is it wasteful for every imagepair to have its own
|
imagepairset.py | 71 """Adds an ImagePair; this may be repeated any number of times.""" 72 # Special handling when we add the first ImagePair... 78 raise Exception('added ImagePair with base_url "%s" instead of "%s"' % ( 81 raise Exception('added ImagePair with base_url "%s" instead of "%s"' % ( 94 an ImagePair's extra_columns dictionary) 104 an ImagePair's extra_columns dictionary) 124 """Records one column_id/value extraColumns pair found within an ImagePair. 132 an ImagePair's extra_columns dictionary)
|
writable_expectations.py | 24 import imagepair namespace 96 expectations = modification[imagepair.KEY__IMAGEPAIRS__EXPECTATIONS] 99 filepath=modification[imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL]) 100 extra_columns = modification[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 101 dictname = modification[imagepair.KEY__IMAGEPAIRS__SOURCE_JSON_FILE]
|
compare_to_expectations.py | 27 import imagepair namespace 114 imagepair.KEY__IMAGEPAIRS__EXPECTATIONS: { 119 imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS: { 134 mod[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 136 mod[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 139 mod[imagepair.KEY__IMAGEPAIRS__IMAGE_B_URL]) 145 value = mod[imagepair.KEY__IMAGEPAIRS__EXPECTATIONS].get(field) 149 mod[imagepair.KEY__IMAGEPAIRS__EXTRACOLUMNS] 348 image_pair = imagepair.ImagePair( [all...] |
compare_configs.py | 24 import imagepair namespace 152 image_pair = imagepair.ImagePair( 164 'got exception while creating ImagePair for test '
|
compare_rendered_pictures.py | 34 import imagepair namespace 389 """Creates an ImagePair object for this pair of images. 408 An ImagePair object, or None if both image_dict_A and image_dict_B are 452 return imagepair.ImagePair( 463 'got exception while creating ImagePair for'
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/static/new/js/ |
app.js | 960 * Extract the column values from an ImagePair (contained in the server 965 function getColValues(imagePair, filterCols, otherCols) { 968 result.push(imagePair.extraColumns[filterCols[i].key]); 972 result.push(get_robust(imagePair, ['expectations', otherCols[i].key])); 981 function getImageValues(imagePair, imageCols) { 987 percent = get_robust(imagePair, CO[i].percentField); 988 value = get_robust(imagePair, CO[i].valueField); 989 url = get_robust(imagePair, CO[i].urlField); [all...] |