/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 74 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, 78 SkDPoint result2 = line2.ptAtT(ts[1][i]); 81 result2 = line2.ptAtT(ts[1][i ^ 1]); 88 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { 90 SkASSERT(ValidLine(line2)); 92 int pts = i.intersect(line1, line2); 95 check_results(reporter, line1, line2, i); 96 if (line1[0] == line1[1] || line2[0] == line2[1]) { 103 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left) 185 const SkDLine& line2 = coincidentTests[index][1]; local 190 const SkDLine& line2 = tests[index][1]; local 195 const SkDLine& line2 = noIntersect[index][1]; local [all...] |
PathOpsDLineTest.cpp | 35 SkDLine line2; local 37 line2.set(pts); 38 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); 46 line2 = line.subDivide(1, 0); 47 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]); 48 line2 = SkDLine::SubDivide(pts, 1, 0); 49 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]) [all...] |
PathOpsQuadLineIntersectionThreadedTest.cpp | 103 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; local 104 testLineIntersect(state.fReporter, quad, line2, x, y);
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
SeedTest.java | 41 String line2 = getNextLine(s2); local 42 if (line1 != null || line2 != null) { 43 assertEquals(line1, line2);
|
/frameworks/base/core/java/android/provider/ |
SearchRecentSuggestions.java | 154 * @param line2 If you have configured your recent suggestions provider with 161 public void saveRecentQuery(final String queryString, final String line2) { 165 if (!mTwoLineDisplay && !TextUtils.isEmpty(line2)) { 172 saveRecentQueryBlocking(queryString, line2); 188 private void saveRecentQueryBlocking(String queryString, String line2) { 197 values.put(SuggestionColumns.DISPLAY2, line2);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
PipelinedMsgParser.java | 227 String line2 = null; local 255 line2 = readLine(inputStream); 256 inputBuffer.append(line2); 257 if (line2.trim().equals("")) 269 inputBuffer.append(line2);
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 53 public static float[] lineIntersect(float[] line1, float[] line2) { 58 float c0 = line2[0]; 59 float c1 = line2[1]; 60 float d0 = line2[2]; 61 float d1 = line2[3];
|
/external/chromium_org/base/ |
file_util.cc | 99 std::string line1, line2; local 101 getline(file2, line2); 116 std::string::size_type end2 = line2.find_last_not_of("\r\n"); 118 line2.clear(); 119 else if (end2 + 1 < line2.length()) 120 line2.erase(end2 + 1); 122 if (line1 != line2)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
StringIO.py | 302 line2 = f.read(len(line)) 303 if line != line2: 305 f.seek(len(line2), 1) 309 line2 = f.read() 310 if line != line2:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
StringIO.py | 302 line2 = f.read(len(line)) 303 if line != line2: 305 f.seek(len(line2), 1) 309 line2 = f.read() 310 if line != line2:
|
/external/chromium/chrome/browser/autofill/ |
address.h | 49 void set_line2(const string16& line2);
|
address.cc | 174 void Address::set_line2(const string16& line2) { 175 line2_ = line2; 177 Tokenize(line2, kAddressSplitChars, &line2_tokens_);
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
verify_filelist.py | 173 def compare(line1, line2): 175 line2 = SplitPattern(line2)[0].lower() 176 return cmp(line1, line2)
|
/external/chromium/base/ |
file_util.cc | 123 std::string line1, line2; local 125 getline(file2, line2); 140 std::string::size_type end2 = line2.find_last_not_of("\r\n"); 142 line2.clear(); 143 else if (end2 + 1 < line2.length()) 144 line2.erase(end2 + 1); 146 if (line1 != line2)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_expectations.py | 418 def merge_expectation_lines(line1, line2, model_all_expectations): 419 """Merges the expectations of line2 into line1 and returns a fresh object.""" 421 return line2 422 if line2 is None: 424 if model_all_expectations and line1.filename != line2.filename: 425 return line2 432 result.filename = line2.filename 433 result.line_numbers = line1.line_numbers + "," + line2.line_numbers 436 result.parsed_expectations = set(line1.parsed_expectations) | set(line2.parsed_expectations) 437 result.expectations = list(set(line1.expectations) | set(line2.expectations) [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentsCreateFragment.java | 221 final View line2 = convertView.findViewById(R.id.line2); local 239 if (line2 != null) line2.setVisibility(View.GONE);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SearchRecentSuggestionsTest.java | 83 String line2 = "line2"; local 84 srs.saveRecentQuery(query2, line2); 105 assertEquals(line2, c
|
/external/chromium_org/chrome/common/extensions/ |
PRESUBMIT.py | 119 for i, (line1, line2) in enumerate( 121 if line1 != line2: 123 (changes, i + 1, line1, line2))
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 195 SpannableString line2 = new SpannableString("Bob: hi there!"); local 196 line2.setSpan(bold, 0, 3, 0); 208 .addLine(line2)
|
/art/runtime/verifier/ |
register_line.h | 161 int CompareLine(const RegisterLine* line2) const { 162 DCHECK(monitors_ == line2->monitors_); 163 // TODO: DCHECK(reg_to_lock_depths_ == line2->reg_to_lock_depths_); 164 return memcmp(line_.get(), line2->line_.get(), num_regs_ * sizeof(uint16_t));
|
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 239 final String line2 = "2"; local 240 address.setAddressLine(5, line2); 241 assertEquals(line2, address.getAddressLine(5));
|
/cts/apps/CtsVerifier/include/colorchecker/ |
colorcheckertest.h | 82 Vec2f findCrossing(std::vector<int> line1, std::vector<int> line2);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 330 String line2 = lines.get(1); // the line we're interested in
local 333 StringTokenizer tok = new StringTokenizer(line2, " ");
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 102 public static float[] lineIntersect(float[] line1, float[] line2) { 107 float c0 = line2[0]; 108 float c1 = line2[1]; 109 float d0 = line2[2]; 110 float d1 = line2[3];
|
/packages/apps/Music/src/com/android/music/ |
ArtistAlbumBrowserActivity.java | 572 TextView line2; field in class:ArtistAlbumBrowserActivity.ArtistAlbumListAdapter.ViewHolder 643 vh.line2 = (TextView) v.findViewById(R.id.line2); 657 vh.line2 = (TextView) v.findViewById(R.id.line2); 685 vh.line2.setText(songs_albums); 733 vh.line2.setText(builder.toString()); [all...] |