/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/ |
DifferenceVisualizer.java | 22 public abstract int[] getDifferences(int[] ideal, int[] given);
|
PassFailVisualizer.java | 27 * @param given the produced result 30 public int[] getDifferences(int[] ideal, int[] given) { 33 if (ideal[y] == given[y]) {
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PassComparer.java | 23 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width,
|
PSNRComparer.java | 40 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 60 if (ideal[index] == given[index]) { 63 MSE += (Color.red(ideal[index]) - Color.red(given[index])) * 64 (Color.red(ideal[index]) - Color.red(given[index])); 65 MSE += (Color.blue(ideal[index]) - Color.blue(given[index])) * 66 (Color.blue(ideal[index]) - Color.blue(given[index])); 67 MSE += (Color.green(ideal[index]) - Color.green(given[index])) * 68 (Color.green(ideal[index]) - Color.green(given[index]));
|
NearPixelComparer.java | 22 * Checks to see that a pixel at a given location is the same as the corresponding pixel. If the 31 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 45 if (!pixelsAreSame(ideal[index], given[index])) { 60 private boolean pixelsAreSame(int ideal, int given) { 61 int error = Math.abs(Color.red(ideal) - Color.red(given)); 62 error += Math.abs(Color.green(ideal) - Color.green(given)); 63 error += Math.abs(Color.blue(ideal) - Color.blue(given));
|
BitmapComparer.java | 27 * Compares the two bitmaps given using Java. 34 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 43 Allocation given, int offset, int stride, int width, int height, 49 * This calculates the position in an array that would represent a bitmap given the parameters.
|
ThresholdDifferenceComparer.java | 46 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 52 int error = Math.abs(Color.red(ideal[index]) - Color.red(given[index])); 53 error += Math.abs(Color.blue(ideal[index]) - Color.blue(given[index])); 54 error += Math.abs(Color.green(ideal[index]) - Color.green(given[index])); 58 " given color " + Integer.toHexString(given[index])); 69 Allocation given, int offset, int stride, int width, int height, 80 mScript.set_given(given);
|
ExactComparer.java | 36 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 43 if (ideal[index] != given[index]) { 47 " given color : " + Integer.toHexString(given[index])); 60 Allocation given, int offset, int stride, int width, int height, 70 mScript.set_given(given);
|
MeanSquaredComparer.java | 44 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 46 float totalError = getMSE(ideal, given, offset, stride, width, height); 53 Allocation given, int offset, int stride, int width, int height, 62 mScript.set_given(given); 78 public static float getMSE(int[] ideal, int[] given, int offset, int stride, int width, 86 float givenSum = getColorSum(given[index]);
|
BaseRenderScriptComparer.java | 16 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 24 Allocation given, int offset, int stride, int width, int height, 28 Allocation given, int offset, int stride, int width, int height, 35 return verifySameRowsRS(resources, ideal, given, offset, stride, width, height, 67 //Create the allocation from that given array
|
/frameworks/base/tools/aidl/ |
search_path.h | 14 // given is the class name we're looking for 15 char* find_import_file(const char* given);
|
search_path.cpp | 19 find_import_file(const char* given) 21 string expected = given;
|
/external/chromium_org/tools/json_schema_compiler/ |
json_schema_test.py | 88 given = [ 95 expected, json_schema.DeleteNodes(given, matcher=should_delete))
|
/external/qemu/disas/ |
arm.c | 3875 long given; local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
ExceptionMessages.h | 71 static String indexExceedsMaximumBound(const char* name, NumberType given, NumberType bound) 73 bool eq = given == bound; 78 result.append(formatNumber(given)); 88 static String indexExceedsMinimumBound(const char* name, NumberType given, NumberType bound) 90 bool eq = given == bound; 95 result.append(formatNumber(given)); 105 static String indexOutsideRange(const char* name, NumberType given, NumberType lowerBound, BoundType lowerType, NumberType upperBound, BoundType upperType) 111 result.append(formatNumber(given));
|
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/ |
config.py | 19 given = urlparse.urlparse(url) 22 if (given.scheme == allowed.scheme and 23 given.hostname == allowed.hostname and 24 given.path.startswith(allowed.path)):
|
/external/compiler-rt/make/ |
util.mk | 33 # Set the given make variable to the given value. 38 # Append the given value to the given make variable. 43 # Check whether the given variable is defined. 48 # Check whether the given variable is undefined. 53 # Get the value of the given make variable, or the default-value if the variable 80 # Check that a value is true, or give an error including the given message 93 # Check that all command line variables are in the given list. This routine is
|
/build/tools/releasetools/ |
edify_generator.py | 42 to a given line length, replacing nulls with spaces and/or newlines 110 the given timestamp.""" 118 """Assert that the device identifier is the given string.""" 146 """Check that the given file (or MTD reference) has one of the 147 given *sha1 hashes, checking the version saved in cache if the 155 """Check that the given file (or MTD reference) has one of the 156 given *sha1 hashes.""" 168 """Mount the partition with the given mount_point. 189 """Unpack a given directory from the OTA package into the given [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
template_renderer.py | 24 Specify |data_sources| to only include the DataSources with the given names
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
generate_notice.py | 6 """Build the NOTICE file distributed with the NaCl SDK from a set of given 81 parser.error('No output file given. See -o.') 83 parser.error('No root directory given. See --root.')
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
NameConverter.java | 51 * Converts the given structured name (provided as a map from {@link StructuredName} fields to 73 * Converts the given structured name (provided as ContentValues) into a display name string. 89 * Helper method for fetching the display name via the given URI. 110 * Converts the given display name string into a structured name (as a map from 143 * Converts the given display name string into a structured name (inserting the structured 174 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues. 178 * If this method cannot parse given phoneticName, null values will be stored. 189 String given = null; local 199 given = strings[1]; 204 given = strings[2] [all...] |
/external/markdown/markdown/ |
inlinepatterns.py | 141 """Return a ElementTree element from the given match. 224 """ Return a link element from the given match. """ 276 """ Return a img element from the given match. """ 338 """ Return a link Element given an autolink (`<http://example/com>`). """ 347 Return a mailto link Element given an automail link (`<foo@example.com>`).
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay_accessibility_helper.js | 11 // Speaks all the shortcut with the given modifiers. 34 // Speaks given shortcut description.
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
generichelper.js | 40 * Registers a handler factory for a given type. 43 * for a request of a given type.
|
/external/chromium_org/mojo/public/js/bindings/ |
support.js | 13 * Waits on the given handle until the state indicated by |signals| is 27 * Cancels the asyncWait operation specified by the given |waitId|.
|