v2 19 ash/display/display_pref_util.h T k2, const std::string& v2, v2 24 ash/display/display_pref_util.h (*map)[k2] = v2; v2 32 ash/display/display_pref_util.h T k2, const std::string& v2, v2 36 ash/display/display_pref_util.h (*map)[k2] = v2; v2 514 base/logging.h std::string* MakeCheckOpString(const t1& v1, const t2& v2, const char* names) { v2 516 base/logging.h ss << names << " (" << v1 << " vs. " << v2 << ")"; v2 547 base/logging.h inline std::string* Check##name##Impl(const t1& v1, const t2& v2, \ v2 549 base/logging.h if (v1 op v2) return NULL; \ v2 550 base/logging.h else return MakeCheckOpString(v1, v2, names); \ v2 552 base/logging.h inline std::string* Check##name##Impl(int v1, int v2, const char* names) { \ v2 553 base/logging.h if (v1 op v2) return NULL; \ v2 554 base/logging.h else return MakeCheckOpString(v1, v2, names); \ v2 93 base/third_party/xdg_mime/xdgmimealias.c alias_entry_cmp (const void *v1, const void *v2) v2 95 base/third_party/xdg_mime/xdgmimealias.c return strcmp (((XdgAlias *)v1)->alias, ((XdgAlias *)v2)->alias); v2 92 base/third_party/xdg_mime/xdgmimeicon.c icon_entry_cmp (const void *v1, const void *v2) v2 94 base/third_party/xdg_mime/xdgmimeicon.c return strcmp (((XdgIcon *)v1)->mime_type, ((XdgIcon *)v2)->mime_type); v2 98 base/third_party/xdg_mime/xdgmimeparent.c parent_entry_cmp (const void *v1, const void *v2) v2 100 base/third_party/xdg_mime/xdgmimeparent.c return strcmp (((XdgMimeParents *)v1)->mime, ((XdgMimeParents *)v2)->mime); v2 22 base/version_unittest.cc Version v2(v1); v2 23 base/version_unittest.cc v3 = v2; v2 24 base/version_unittest.cc EXPECT_TRUE(v2.IsValid()); v2 25 base/version_unittest.cc EXPECT_TRUE(v1.Equals(v2)); v2 318 cc/animation/transform_operation.cc gfx::Vector3dF v2 = gfx::CrossProduct(normal, v1); v2 334 cc/animation/transform_operation.cc double phi_x = atan2(gfx::DotProduct(v2, vx), gfx::DotProduct(v1, vx)); v2 335 cc/animation/transform_operation.cc double phi_z = atan2(gfx::DotProduct(v2, vz), gfx::DotProduct(v1, vz)); v2 516 cc/base/math_util.cc const gfx::Vector2dF& v2) { v2 517 cc/base/math_util.cc double dot_product = gfx::DotProduct(v1, v2) / v1.Length() / v2.Length(); v2 163 cc/base/math_util.h const gfx::Vector2dF& v2); v2 52 cc/base/scoped_ptr_vector_unittest.cc ScopedPtrVector<Data> v2; v2 53 cc/base/scoped_ptr_vector_unittest.cc v2.push_back(Data::Create(3)); v2 54 cc/base/scoped_ptr_vector_unittest.cc v2.push_back(Data::Create(4)); v2 55 cc/base/scoped_ptr_vector_unittest.cc v2.push_back(Data::Create(5)); v2 62 cc/base/scoped_ptr_vector_unittest.cc v.insert_and_take(it, v2); v2 72 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(3u, v2.size()); v2 73 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(NULL, v2[0]); v2 74 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(NULL, v2[1]); v2 75 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(NULL, v2[2]); v2 24 cc/output/geometry_binding.cc Vertex v0, v1, v2, v3; v2 43 cc/output/geometry_binding.cc Vertex v2 = {{quad_vertex_rect.right(), quad_vertex_rect.y(), 0.0f, }, v2 47 cc/output/geometry_binding.cc Quad x = {v0, v1, v2, v3}; v2 428 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc MockStringValue* v2 = new MockStringValue("https://www.chromium.org"); v2 441 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc EXPECT_CALL(*v2, Die()).Times(1); v2 443 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc InstallExtensionControlledPref(extension1(), kPref1, v2); v2 448 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc testing::Mock::VerifyAndClearExpectations(v2); v2 398 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<Version> v2; v2 399 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(provider_->GetExtensionDetails(id, &location, &v2)); v2 401 chrome/browser/extensions/extension_service_unittest.cc EXPECT_STREQ(version->GetString().c_str(), v2->GetString().c_str()); v2 79 chrome/browser/task_manager/task_manager.cc int OrderUnavailableValue(bool v1, bool v2) { v2 80 chrome/browser/task_manager/task_manager.cc if (!v1 && !v2) v2 27 chrome/installer/util/compat_checks.cc bool ParseSEPVersion(const std::wstring& version, int* v0, int* v1, int* v2) { v2 36 chrome/installer/util/compat_checks.cc if (!base::StringToInt(v[2], v2)) v2 42 chrome/installer/util/compat_checks.cc bool IsBadSEPVersion(int v0, int v1, int v2) { v2 47 chrome/installer/util/compat_checks.cc if (v2 < 3001) v2 55 chrome/installer/util/compat_checks.cc int v0, v1, v2; v2 57 chrome/installer/util/compat_checks.cc if (!ParseSEPVersion(ver_str, &v0, &v1, &v2)) v2 59 chrome/installer/util/compat_checks.cc return IsBadSEPVersion(v0, v1, v2); v2 332 content/public/android/javatests/src/org/chromium/content/browser/DeviceMotionAndOrientationTest.java private void verifyValues(double v1, double v2, double v3) { v2 334 content/public/android/javatests/src/org/chromium/content/browser/DeviceMotionAndOrientationTest.java assertEquals(v2, value2); v2 338 content/public/android/javatests/src/org/chromium/content/browser/DeviceMotionAndOrientationTest.java private void verifyValuesEpsilon(double v1, double v2, double v3) { v2 340 content/public/android/javatests/src/org/chromium/content/browser/DeviceMotionAndOrientationTest.java assertEquals(v2, value2, 0.1); v2 81 extensions/browser/value_store/value_store_change_unittest.cc DictionaryBuilder v2(*value); v2 87 extensions/browser/value_store/value_store_change_unittest.cc .Set("newValue", v2)) v2 1440 gpu/command_buffer/service/gles2_cmd_decoder.cc void DoVertexAttrib3f(GLuint index, GLfloat v0, GLfloat v1, GLfloat v2); v2 1442 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint index, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); v2 7036 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint index, GLfloat v0, GLfloat v1, GLfloat v2) { v2 7037 gpu/command_buffer/service/gles2_cmd_decoder.cc GLfloat v[4] = { v0, v1, v2, 1.0f, }; v2 7039 gpu/command_buffer/service/gles2_cmd_decoder.cc glVertexAttrib3f(index, v0, v1, v2); v2 7044 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint index, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { v2 7045 gpu/command_buffer/service/gles2_cmd_decoder.cc GLfloat v[4] = { v0, v1, v2, v3, }; v2 7047 gpu/command_buffer/service/gles2_cmd_decoder.cc glVertexAttrib4f(index, v0, v1, v2, v3); v2 94 ipc/ipc_channel_unittest.cc std::string v2("foobar"); v2 99 ipc/ipc_channel_unittest.cc EXPECT_TRUE(m.WriteString(v2)); v2 112 ipc/ipc_channel_unittest.cc EXPECT_EQ(v2, vs); v2 40 ipc/ipc_fuzzing_tests.cc int v2 = 666; v2 43 ipc/ipc_fuzzing_tests.cc EXPECT_TRUE(m.WriteInt(v2)); v2 53 ipc/ipc_fuzzing_tests.cc int v2 = 777; v2 56 ipc/ipc_fuzzing_tests.cc EXPECT_TRUE(m.WriteInt(v2)); v2 174 net/tools/balsa/balsa_headers_test.cc std::vector<base::StringPiece> v1, v2, v3; v2 177 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key2", &v2); v2 184 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(1u, v2.size()); v2 187 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value2", v2[0]); v2 454 third_party/cld/base/logging.h string* MakeCheckOpString(const t1& v1, const t2& v2, const char* names) { v2 456 third_party/cld/base/logging.h ss << names << " (" << v1 << " vs. " << v2 << ")"; v2 466 third_party/cld/base/logging.h inline string* Check##name##Impl(const t1& v1, const t2& v2, \ v2 468 third_party/cld/base/logging.h if (v1 op v2) return NULL; \ v2 469 third_party/cld/base/logging.h else return MakeCheckOpString(v1, v2, names); \ v2 471 third_party/cld/base/logging.h inline string* Check##name##Impl(int v1, int v2, const char* names) { \ v2 472 third_party/cld/base/logging.h return Check##name##Impl<int, int>(v1, v2, names); \ v2 184 third_party/harfbuzz-ng/src/hb-common.cc const void *v2) v2 187 third_party/harfbuzz-ng/src/hb-common.cc const unsigned char *p2 = (const unsigned char *) v2; v2 497 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); v2 499 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); v2 501 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); v2 503 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); v2 915 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); v2 917 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); v2 919 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); v2 921 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); v2 930 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); v2 931 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); v2 960 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); v2 962 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); v2 964 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); v2 966 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); v2 975 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); v2 976 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); v2 863 third_party/libpng/png.c png_64bit_product (long v1, long v2, unsigned long *hi_product, v2 871 third_party/libpng/png.c c = (v2 >> 16) & 0xffff; v2 872 third_party/libpng/png.c d = v2 & 0xffff; v2 3768 third_party/libpng/png.h PNG_EXTERN void png_64bit_product PNGARG((long v1, long v2, v2 823 third_party/libwebp/enc/quant.c const int v2 = abs(DCs[5]); v2 825 third_party/libwebp/enc/quant.c max_v = (v2 > max_v) ? v2 : max_v; v2 328 third_party/libxml/src/xmlschemas.c #define WXS_ARE_DEFAULT_STR_EQUAL(v1, v2) ((v1) == (v2)) v2 50 third_party/npapi/npspy/extern/nspr/plhash.h typedef PRIntn (PR_CALLBACK *PLHashComparator)(const void *v1, const void *v2); v2 135 third_party/npapi/npspy/extern/nspr/plhash.h PL_CompareStrings(const void *v1, const void *v2); v2 139 third_party/npapi/npspy/extern/nspr/plhash.h PL_CompareValues(const void *v1, const void *v2); v2 778 third_party/re2/re2/testing/re2_test.cc int64 v2; v2 783 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch("-100", "(-?\\d+)", &v2)); CHECK_EQ(v2, -100); v2 1340 third_party/re2/re2/testing/re2_test.cc StringPiece v2; v2 1341 third_party/re2/re2/testing/re2_test.cc EXPECT_TRUE(RE2::FullMatch(v2, re2)); v2 56822 third_party/sqlite/amalgamation/sqlite3.c const void *v1, *v2; v2 56832 third_party/sqlite/amalgamation/sqlite3.c v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc); v2 56833 third_party/sqlite/amalgamation/sqlite3.c n2 = v2==0 ? 0 : c2.n; v2 56834 third_party/sqlite/amalgamation/sqlite3.c rc = pColl->xCmp(pColl->pUser, n1, v1, n2, v2); v2 62542 third_party/sqlite/amalgamation/sqlite3.c int v2; /* Right operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ v2 64274 third_party/sqlite/amalgamation/sqlite3.c int v2; /* Right operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ v2 64285 third_party/sqlite/amalgamation/sqlite3.c u.ak.v2 = 2; v2 64287 third_party/sqlite/amalgamation/sqlite3.c u.ak.v2 = sqlite3VdbeIntValue(pIn2)!=0; v2 64291 third_party/sqlite/amalgamation/sqlite3.c u.ak.v1 = and_logic[u.ak.v1*3+u.ak.v2]; v2 64294 third_party/sqlite/amalgamation/sqlite3.c u.ak.v1 = or_logic[u.ak.v1*3+u.ak.v2]; v2 48 third_party/sqlite/src/src/test1.c u32 v2; v2 60 third_party/sqlite/src/src/test1.c assert( sizeof(p)==sizeof(v2) ); v2 61 third_party/sqlite/src/src/test1.c v2 = (u32)v; v2 62 third_party/sqlite/src/src/test1.c memcpy(&p, &v2, sizeof(p)); v2 1941 third_party/sqlite/src/src/vdbe.c int v2; /* Right operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ v2 1951 third_party/sqlite/src/src/vdbe.c v2 = 2; v2 1953 third_party/sqlite/src/src/vdbe.c v2 = sqlite3VdbeIntValue(pIn2)!=0; v2 1957 third_party/sqlite/src/src/vdbe.c v1 = and_logic[v1*3+v2]; v2 1960 third_party/sqlite/src/src/vdbe.c v1 = or_logic[v1*3+v2]; v2 857 third_party/sqlite/src/src/vdbemem.c const void *v1, *v2; v2 867 third_party/sqlite/src/src/vdbemem.c v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc); v2 868 third_party/sqlite/src/src/vdbemem.c n2 = v2==0 ? 0 : c2.n; v2 869 third_party/sqlite/src/src/vdbemem.c rc = pColl->xCmp(pColl->pUser, n1, v1, n2, v2); v2 541 third_party/talloc/libreplace/crypt.c { ufc_long v1, v2, *k1; v2 550 third_party/talloc/libreplace/crypt.c v1 = v2 = 0; k1 = &do_pc1[0][0][0]; v2 553 third_party/talloc/libreplace/crypt.c v2 |= k1[*key++ & 0x7f]; k1 += 128; v2 573 third_party/talloc/libreplace/crypt.c v2 = (v2 << rots[i]) | (v2 >> (28 - rots[i])); v2 574 third_party/talloc/libreplace/crypt.c v |= k1[(v2 >> 21) & 0x7f]; k1 += 128; v2 575 third_party/talloc/libreplace/crypt.c v |= k1[(v2 >> 14) & 0x7f]; k1 += 128; v2 576 third_party/talloc/libreplace/crypt.c v |= k1[(v2 >> 7) & 0x7f]; k1 += 128; v2 577 third_party/talloc/libreplace/crypt.c v |= k1[(v2 ) & 0x7f]; v2 590 third_party/talloc/libreplace/crypt.c { ufc_long v1, v2, x; v2 596 third_party/talloc/libreplace/crypt.c v1=v2=0; l1 >>= 3; l2 >>= 3; r1 >>= 3; r2 >>= 3; v2 598 third_party/talloc/libreplace/crypt.c v1 |= efp[15][ r2 & 0x3f][0]; v2 |= efp[15][ r2 & 0x3f][1]; v2 599 third_party/talloc/libreplace/crypt.c v1 |= efp[14][(r2 >>= 6) & 0x3f][0]; v2 |= efp[14][ r2 & 0x3f][1]; v2 600 third_party/talloc/libreplace/crypt.c v1 |= efp[13][(r2 >>= 10) & 0x3f][0]; v2 |= efp[13][ r2 & 0x3f][1]; v2 601 third_party/talloc/libreplace/crypt.c v1 |= efp[12][(r2 >>= 6) & 0x3f][0]; v2 |= efp[12][ r2 & 0x3f][1]; v2 603 third_party/talloc/libreplace/crypt.c v1 |= efp[11][ r1 & 0x3f][0]; v2 |= efp[11][ r1 & 0x3f][1]; v2 604 third_party/talloc/libreplace/crypt.c v1 |= efp[10][(r1 >>= 6) & 0x3f][0]; v2 |= efp[10][ r1 & 0x3f][1]; v2 605 third_party/talloc/libreplace/crypt.c v1 |= efp[ 9][(r1 >>= 10) & 0x3f][0]; v2 |= efp[ 9][ r1 & 0x3f][1]; v2 606 third_party/talloc/libreplace/crypt.c v1 |= efp[ 8][(r1 >>= 6) & 0x3f][0]; v2 |= efp[ 8][ r1 & 0x3f][1]; v2 608 third_party/talloc/libreplace/crypt.c v1 |= efp[ 7][ l2 & 0x3f][0]; v2 |= efp[ 7][ l2 & 0x3f][1]; v2 609 third_party/talloc/libreplace/crypt.c v1 |= efp[ 6][(l2 >>= 6) & 0x3f][0]; v2 |= efp[ 6][ l2 & 0x3f][1]; v2 610 third_party/talloc/libreplace/crypt.c v1 |= efp[ 5][(l2 >>= 10) & 0x3f][0]; v2 |= efp[ 5][ l2 & 0x3f][1]; v2 611 third_party/talloc/libreplace/crypt.c v1 |= efp[ 4][(l2 >>= 6) & 0x3f][0]; v2 |= efp[ 4][ l2 & 0x3f][1]; v2 613 third_party/talloc/libreplace/crypt.c v1 |= efp[ 3][ l1 & 0x3f][0]; v2 |= efp[ 3][ l1 & 0x3f][1]; v2 614 third_party/talloc/libreplace/crypt.c v1 |= efp[ 2][(l1 >>= 6) & 0x3f][0]; v2 |= efp[ 2][ l1 & 0x3f][1]; v2 615 third_party/talloc/libreplace/crypt.c v1 |= efp[ 1][(l1 >>= 10) & 0x3f][0]; v2 |= efp[ 1][ l1 & 0x3f][1]; v2 616 third_party/talloc/libreplace/crypt.c v1 |= efp[ 0][(l1 >>= 6) & 0x3f][0]; v2 |= efp[ 0][ l1 & 0x3f][1]; v2 618 third_party/talloc/libreplace/crypt.c ary[0] = v1; ary[1] = v2; v2 627 third_party/talloc/libreplace/crypt.c static char *output_conversion(ufc_long v1, ufc_long v2, const char *salt) v2 637 third_party/talloc/libreplace/crypt.c s = (v2 & 0xf) << 2; v2 638 third_party/talloc/libreplace/crypt.c v2 = (v2 >> 2) | ((v1 & 0x3) << 30); v2 641 third_party/talloc/libreplace/crypt.c outbuf[i + 2] = bin_to_ascii((v2 >> (56 - 6 * i)) & 0x3f); v2 43 ui/base/view_prop_unittest.cc scoped_ptr<ViewProp> v2(new ViewProp(nv1, kKey1, data2)); v2 58 ui/base/view_prop_unittest.cc scoped_ptr<ViewProp> v2(new ViewProp(nv2, kKey2, data2)); v2 66 ui/base/view_prop_unittest.cc v2.reset(NULL); v2 14 ui/gfx/geometry/point3_unittest.cc gfx::Vector3dF v2(-8.1f, 1.2f, 3.3f); v2 25 ui/gfx/geometry/point3_unittest.cc { gfx::Point3F(12.8f, 0.7f, 9.2f), a + v1 - v2 }, v2 26 ui/gfx/geometry/point3_unittest.cc { gfx::Point3F(-9.6f, 9.5f, -2.8f), a - v1 + v2 } v2 36 ui/gfx/geometry/point3_unittest.cc a -= v2; v2 54 ui/gfx/geometry/point_unittest.cc Vector2d v2(-8, 1); v2 65 ui/gfx/geometry/point_unittest.cc { Point(12, 1), a + v1 - v2 }, v2 66 ui/gfx/geometry/point_unittest.cc { Point(-10, 9), a - v1 + v2 } v2 70 ui/gfx/geometry/quad_f.cc Vector2dF v2 = point - r1; v2 75 ui/gfx/geometry/quad_f.cc double dot20 = DotProduct(v2, v0); v2 76 ui/gfx/geometry/quad_f.cc double dot21 = DotProduct(v2, v1); v2 119 ui/gfx/geometry/vector2d_unittest.cc Vector2dF v2 = ScaleVector2d( v2 122 ui/gfx/geometry/vector2d_unittest.cc EXPECT_EQ(double_values[i][0] * double_values[i][2], v2.x()); v2 123 ui/gfx/geometry/vector2d_unittest.cc EXPECT_EQ(double_values[i][1] * double_values[i][3], v2.y()); v2 144 ui/gfx/geometry/vector2d_unittest.cc Vector2dF v2 = ScaleVector2d( v2 147 ui/gfx/geometry/vector2d_unittest.cc EXPECT_EQ(single_values[i][0] * single_values[i][2], v2.x()); v2 148 ui/gfx/geometry/vector2d_unittest.cc EXPECT_EQ(single_values[i][1] * single_values[i][2], v2.y()); v2 95 ui/gfx/geometry/vector3d_unittest.cc Vector3dF v2 = ScaleVector3d( v2 100 ui/gfx/geometry/vector3d_unittest.cc EXPECT_EQ(triple_values[i][0] * triple_values[i][3], v2.x()); v2 101 ui/gfx/geometry/vector3d_unittest.cc EXPECT_EQ(triple_values[i][1] * triple_values[i][4], v2.y()); v2 102 ui/gfx/geometry/vector3d_unittest.cc EXPECT_EQ(triple_values[i][2] * triple_values[i][5], v2.z()); v2 131 ui/gfx/geometry/vector3d_unittest.cc Vector3dF v2 = ScaleVector3d( v2 136 ui/gfx/geometry/vector3d_unittest.cc EXPECT_EQ(single_values[i][0] * single_values[i][3], v2.x()); v2 137 ui/gfx/geometry/vector3d_unittest.cc EXPECT_EQ(single_values[i][1] * single_values[i][3], v2.y()); v2 138 ui/gfx/geometry/vector3d_unittest.cc EXPECT_EQ(single_values[i][2] * single_values[i][3], v2.z()); v2 167 ui/gfx/geometry/vector3d_unittest.cc double v2 = float_values[i][2]; v2 171 ui/gfx/geometry/vector3d_unittest.cc static_cast<double>(v2) * v2; v2 173 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF vector(v0, v1, v2); v2 501 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { v2 502 ui/gl/gl_bindings_skia_in_process.cc glUniform3i(location, v0, v1, v2); v2 505 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { v2 506 ui/gl/gl_bindings_skia_in_process.cc glUniform3i(location, v0, v1, v2); v2 517 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, v2 519 ui/gl/gl_bindings_skia_in_process.cc glUniform4i(location, v0, v1, v2, v3); v2 522 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLUniform4i(GLint location, GLint v0, GLint v1, GLint v2, v2 524 ui/gl/gl_bindings_skia_in_process.cc glUniform4i(location, v0, v1, v2, v3); v2 11 ui/v2/public/event.h namespace v2 { v2 10 ui/v2/public/event_dispatcher.h namespace v2 { v2 10 ui/v2/public/event_handler.h namespace v2 { v2 10 ui/v2/public/event_target.h namespace v2 { v2 11 ui/v2/public/layout.h namespace v2 { v2 14 ui/v2/public/painter.h namespace v2 { v2 22 ui/v2/public/view.h namespace v2 { v2 14 ui/v2/public/view_observer.h namespace v2 { v2 12 ui/v2/public/window.h namespace v2 { v2 8 ui/v2/src/event_processor.h namespace v2 { v2 8 ui/v2/src/paint_processor.h namespace v2 { v2 15 ui/v2/src/view_private.h namespace v2 { v2 36 ui/v2/src/view_unittest.cc View v2; v2 40 ui/v2/src/view_unittest.cc v2.AddChild(v11); v2 41 ui/v2/src/view_unittest.cc EXPECT_EQ(1U, v2.children().size()); v2 156 ui/views/corewm/desktop_capture_controller_unittest.cc DesktopViewInputTest* v2 = new DesktopViewInputTest(); v2 157 ui/views/corewm/desktop_capture_controller_unittest.cc v2->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); v2 158 ui/views/corewm/desktop_capture_controller_unittest.cc root2->AddChildView(v2); v2 180 ui/views/corewm/desktop_capture_controller_unittest.cc EXPECT_FALSE(v2->received_gesture_event()); v2 182 ui/views/corewm/desktop_capture_controller_unittest.cc v2->Reset(); v2 194 ui/views/corewm/desktop_capture_controller_unittest.cc EXPECT_TRUE(v2->received_gesture_event()); v2 359 ui/views/corewm/tooltip_controller_unittest.cc TooltipTestView* v2 = new TooltipTestView; v2 361 ui/views/corewm/tooltip_controller_unittest.cc view_->AddChildView(v2); v2 366 ui/views/corewm/tooltip_controller_unittest.cc v2->SetBoundsRect(view_bounds); v2 370 ui/views/corewm/tooltip_controller_unittest.cc v2->set_tooltip_text(v2_tt); v2 385 ui/views/corewm/tooltip_controller_unittest.cc View::ConvertPointToWidget(v2, &v2_point); v2 584 ui/views/focus/focus_manager_unittest.cc FocusInAboutToRequestFocusFromTabTraversalView* v2 = v2 586 ui/views/focus/focus_manager_unittest.cc v2->SetFocusable(true); v2 587 ui/views/focus/focus_manager_unittest.cc v2->set_view_to_focus(v1); v2 588 ui/views/focus/focus_manager_unittest.cc GetContentsView()->AddChildView(v2); v2 607 ui/views/focus/focus_manager_unittest.cc views::View* v2 = new View; v2 608 ui/views/focus/focus_manager_unittest.cc v2->SetFocusable(true); v2 609 ui/views/focus/focus_manager_unittest.cc pane1->AddChildView(v2); v2 634 ui/views/focus/focus_manager_unittest.cc EXPECT_EQ(v2, focus_manager->GetFocusedView()); v2 677 ui/views/focus/focus_manager_unittest.cc views::View* v2 = new View; v2 678 ui/views/focus/focus_manager_unittest.cc v2->SetFocusable(true); v2 679 ui/views/focus/focus_manager_unittest.cc GetContentsView()->AddChildView(v2); v2 687 ui/views/focus/focus_manager_unittest.cc v2->RequestFocus(); v2 688 ui/views/focus/focus_manager_unittest.cc EXPECT_TRUE(v2->HasFocus()); v2 689 ui/views/focus/focus_manager_unittest.cc EXPECT_EQ(v2, GetWidget()->GetFocusManager()->GetStoredFocusView()); v2 36 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); v2 37 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 42 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 10, 20), v2->bounds()); v2 49 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); v2 50 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 55 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 10, 20, 10), v2->bounds()); v2 62 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 20)); v2 63 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 68 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(25, 7, 10, 86), v2->bounds()); v2 75 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 20)); v2 76 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 80 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0), v2->bounds()); v2 97 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); v2 98 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 102 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 10, 10), v2->bounds()); v2 111 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); v2 112 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 118 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(60, 10, 30, 20).ToString(), v2->bounds().ToString()); v2 125 ui/views/layout/box_layout_unittest.cc View* v2 = new ProportionallySizedView(2); v2 126 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 132 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 10, 20, 40), v2->bounds()); v2 145 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); v2 146 ui/views/layout/box_layout_unittest.cc host_->AddChildView(v2); v2 150 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v2->GetPreferredSize().width(), host_->bounds().width()) << i; v2 151 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v2->GetPreferredSize().height(), host_->bounds().height()) << i; v2 154 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v2->GetPreferredSize().width(), v2->bounds().width()) << i; v2 155 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v2->GetPreferredSize().height(), v2->bounds().height()) << i; v2 371 ui/views/layout/grid_layout.cc static bool CompareByColumnSpan(const ViewState* v1, const ViewState* v2) { v2 372 ui/views/layout/grid_layout.cc return v1->col_span < v2->col_span; v2 375 ui/views/layout/grid_layout.cc static bool CompareByRowSpan(const ViewState* v1, const ViewState* v2) { v2 376 ui/views/layout/grid_layout.cc return v1->row_span < v2->row_span; v2 128 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(20, 20)); v2 136 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 144 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(10, 0, 20, 20, &v2); v2 151 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 40)); v2 160 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 168 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(0, 20, 10, 40, &v2); v2 175 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 20)); v2 185 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 193 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(90, 20, 10, 20, &v2); v2 200 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 20)); v2 210 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 219 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(0, 20, 10, 20, &v2); v2 235 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); v2 239 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 249 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(12, 0, 10, 10, &v2); v2 268 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(20, 10)); v2 272 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2, 2, 1); v2 280 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(10, 0, 20, 10, &v2); v2 287 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); v2 296 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 304 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(50, 0, 10, 10, &v2); v2 311 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); v2 319 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 324 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(100, 0, 10, 10, &v2); v2 331 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); v2 339 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 344 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(110, 0, 10, 10, &v2); v2 353 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); v2 364 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 370 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(10, 0, 11, 10, &v2); v2 378 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); v2 385 ui/views/layout/grid_layout_unittest.cc layout.AddView(&v2); v2 393 ui/views/layout/grid_layout_unittest.cc ExpectViewBoundsEquals(0, 90, 50, 10, &v2); v2 52 ui/views/view_model_unittest.cc View v1, v2, v3; v2 54 ui/views/view_model_unittest.cc v2.set_id(1); v2 58 ui/views/view_model_unittest.cc model.Add(&v2, 1); v2 68 ui/views/view_model_unittest.cc View v1, v2, v3; v2 70 ui/views/view_model_unittest.cc v2.set_id(1); v2 74 ui/views/view_model_unittest.cc model.Add(&v2, 1); v2 26 ui/views/view_model_utils_unittest.cc View v1, v2, v3; v2 29 ui/views/view_model_utils_unittest.cc model.Add(&v2, 1); v2 47 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::HORIZONTAL, -10, 0)); v2 49 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::HORIZONTAL, 4, 0)); v2 51 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::HORIZONTAL, 12, 0)); v2 70 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::VERTICAL, 0, -10)); v2 72 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::VERTICAL, 0, 4)); v2 74 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::VERTICAL, 0, 12)); v2 378 ui/views/view_unittest.cc TestView* v2 = new TestView(); v2 379 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); v2 390 ui/views/view_unittest.cc v1->AddChildView(v2); v2 393 ui/views/view_unittest.cc v2->Reset(); v2 399 ui/views/view_unittest.cc EXPECT_EQ(v2->last_mouse_event_type_, ui::ET_MOUSE_PRESSED); v2 400 ui/views/view_unittest.cc EXPECT_EQ(v2->location_.x(), 10); v2 401 ui/views/view_unittest.cc EXPECT_EQ(v2->location_.y(), 20); v2 407 ui/views/view_unittest.cc v2->Reset(); v2 412 ui/views/view_unittest.cc EXPECT_EQ(v2->last_mouse_event_type_, ui::ET_MOUSE_DRAGGED); v2 413 ui/views/view_unittest.cc EXPECT_EQ(v2->location_.x(), -50); v2 414 ui/views/view_unittest.cc EXPECT_EQ(v2->location_.y(), -60); v2 420 ui/views/view_unittest.cc v2->Reset(); v2 424 ui/views/view_unittest.cc EXPECT_EQ(v2->last_mouse_event_type_, ui::ET_MOUSE_RELEASED); v2 425 ui/views/view_unittest.cc EXPECT_EQ(v2->location_.x(), -100); v2 426 ui/views/view_unittest.cc EXPECT_EQ(v2->location_.y(), -100); v2 438 ui/views/view_unittest.cc TestView* v2 = new TestView(); v2 439 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); v2 442 ui/views/view_unittest.cc v2->Reset(); v2 452 ui/views/view_unittest.cc v1->AddChildView(v2); v2 454 ui/views/view_unittest.cc v2->delete_on_pressed_ = true; v2 476 ui/views/view_unittest.cc TestView* v2 = new TestViewConsumeGesture(); v2 477 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); v2 492 ui/views/view_unittest.cc v1->AddChildView(v2); v2 493 ui/views/view_unittest.cc v2->AddChildView(v3); v2 501 ui/views/view_unittest.cc v2->Reset(); v2 510 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_GESTURE_TAP, v2->last_gesture_event_type_); v2 511 ui/views/view_unittest.cc EXPECT_EQ(gfx::Point(10, 10), v2->location_); v2 521 ui/views/view_unittest.cc v2->Reset(); v2 532 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_UNKNOWN, v2->last_gesture_event_type_); v2 554 ui/views/view_unittest.cc TestView* v2 = new TestViewIgnoreScrollGestures(); v2 555 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); v2 570 ui/views/view_unittest.cc v1->AddChildView(v2); v2 571 ui/views/view_unittest.cc v2->AddChildView(v3); v2 579 ui/views/view_unittest.cc v2->Reset(); v2 588 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_GESTURE_TAP, v2->last_gesture_event_type_); v2 589 ui/views/view_unittest.cc EXPECT_EQ(gfx::Point(10, 10), v2->location_); v2 592 ui/views/view_unittest.cc v2->Reset(); v2 602 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_UNKNOWN, v2->last_gesture_event_type_); v2 614 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_GESTURE_TAP, v2->last_gesture_event_type_); v2 616 ui/views/view_unittest.cc v2->Reset(); v2 632 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_GESTURE_END, v2->last_gesture_event_type_); v2 635 ui/views/view_unittest.cc v2->Reset(); v2 646 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_UNKNOWN, v2->last_gesture_event_type_); v2 718 ui/views/view_unittest.cc View* v2 = new View; v2 720 ui/views/view_unittest.cc vs->StoreView(s2, v2); v2 721 ui/views/view_unittest.cc root_view->AddChildView(v2); v2 725 ui/views/view_unittest.cc v2->AddChildView(v21); v2 844 ui/views/view_unittest.cc HitTestView* v2 = new HitTestView(true); v2 845 ui/views/view_unittest.cc v2->SetBoundsRect(v2_bounds); v2 846 ui/views/view_unittest.cc root_view->AddChildView(v2); v2 860 ui/views/view_unittest.cc EXPECT_TRUE(v2->HitTestPoint(ConvertPointToView(v2, v2_centerpoint))); v2 863 ui/views/view_unittest.cc EXPECT_FALSE(v2->HitTestPoint(ConvertPointToView(v2, v2_origin))); v2 867 ui/views/view_unittest.cc EXPECT_FALSE(v2->HitTestRect(ConvertRectToView(v2, r1))); v2 870 ui/views/view_unittest.cc EXPECT_TRUE(v2->HitTestRect(ConvertRectToView(v2, r2))); v2 873 ui/views/view_unittest.cc EXPECT_TRUE(v2->HitTestRect(ConvertRectToView(v2, r3))); v2 876 ui/views/view_unittest.cc EXPECT_FALSE(v2->HitTestRect(ConvertRectToView(v2, r4))); v2 880 ui/views/view_unittest.cc EXPECT_EQ(v2, root_view->GetEventHandlerForPoint(v2_centerpoint)); v2 887 ui/views/view_unittest.cc EXPECT_EQ(v2, root_view->GetTooltipHandlerForPoint(v2_centerpoint)); v2 926 ui/views/view_unittest.cc TestView* v2 = new TestView; v2 927 ui/views/view_unittest.cc v2->SetBounds(150, 0, 250, 100); v2 928 ui/views/view_unittest.cc root_view->AddChildView(v2); v2 991 ui/views/view_unittest.cc EXPECT_EQ(v2, result_view); v2 998 ui/views/view_unittest.cc EXPECT_EQ(v2, result_view); v2 1246 ui/views/view_unittest.cc TestView* v2 = new TestView; v2 1247 ui/views/view_unittest.cc v2->SetBounds(105, 0, 100, 100); v2 1248 ui/views/view_unittest.cc root_view->AddChildView(v2); v2 1252 ui/views/view_unittest.cc v2->AddChildView(v21); v2 1259 ui/views/view_unittest.cc v2->Reset(); v2 1300 ui/views/view_unittest.cc EXPECT_FALSE(v2->last_mouse_event_type_); v2 1792 ui/views/view_unittest.cc TestView* v2 = new TestView(); v2 1793 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 200, 100)); v2 1803 ui/views/view_unittest.cc v1->AddChildView(v2); v2 1807 ui/views/view_unittest.cc v2->SchedulePaint(); v2 1820 ui/views/view_unittest.cc v2->SchedulePaint(); v2 1831 ui/views/view_unittest.cc TestView* v2 = new TestView(); v2 1832 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 200, 100)); v2 1841 ui/views/view_unittest.cc v1->AddChildView(v2); v2 1853 ui/views/view_unittest.cc v2->Reset(); v2 1860 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, v2->last_mouse_event_type_); v2 1861 ui/views/view_unittest.cc EXPECT_EQ(190, v2->location_.x()); v2 1862 ui/views/view_unittest.cc EXPECT_EQ(10, v2->location_.y()); v2 1869 ui/views/view_unittest.cc transform = v2->GetTransform(); v2 1872 ui/views/view_unittest.cc v2->SetTransform(transform); v2 1878 ui/views/view_unittest.cc v2->Reset(); v2 1885 ui/views/view_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, v2->last_mouse_event_type_); v2 1886 ui/views/view_unittest.cc EXPECT_EQ(10, v2->location_.x()); v2 1887 ui/views/view_unittest.cc EXPECT_EQ(20, v2->location_.y()); v2 1892 ui/views/view_unittest.cc v2->SetTransform(gfx::Transform()); v2 1896 ui/views/view_unittest.cc v2->AddChildView(v3); v2 1905 ui/views/view_unittest.cc transform = v2->GetTransform(); v2 1908 ui/views/view_unittest.cc v2->SetTransform(transform); v2 1913 ui/views/view_unittest.cc v2->Reset(); v2 1928 ui/views/view_unittest.cc v2->SetTransform(gfx::Transform()); v2 1932 ui/views/view_unittest.cc v2->Reset(); v2 1948 ui/views/view_unittest.cc transform = v2->GetTransform(); v2 1951 ui/views/view_unittest.cc v2->SetTransform(transform); v2 2383 ui/views/view_unittest.cc TestView* v2 = new TestView; v2 2385 ui/views/view_unittest.cc v1->AddChildView(v2); v2 2388 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(20, 20, 100, 200)); v2 2392 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(25, 25, 15, 40), v2->ConvertRectToParent(rect)); v2 2393 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 35, 15, 40), v2->ConvertRectToWidget(rect)); v2 2399 ui/views/view_unittest.cc v2->SetTransform(t2); v2 2402 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(25, 100, 40, 15), v2->ConvertRectToParent(rect)); v2 2403 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 110, 40, 15), v2->ConvertRectToWidget(rect)); v2 2411 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(25, 100, 40, 15), v2->ConvertRectToParent(rect)); v2 2415 ui/views/view_unittest.cc v2->ConvertRectToWidget(rect).ToString()); v2 2490 ui/views/view_unittest.cc scoped_ptr<ObserverView> v2(new ObserverView()); v2 2491 ui/views/view_unittest.cc v2->AddChildView(v3); v2 2495 ui/views/view_unittest.cc EXPECT_TRUE(v2->has_add_details()); v2 2496 ui/views/view_unittest.cc EXPECT_FALSE(v2->has_remove_details()); v2 2497 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v2->add_details().parent); v2 2498 ui/views/view_unittest.cc EXPECT_EQ(v3, v2->add_details().child); v2 2499 ui/views/view_unittest.cc EXPECT_EQ(NULL, v2->add_details().move_view); v2 2503 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v3->add_details().parent); v2 2508 ui/views/view_unittest.cc v2->ResetTestState(); v2 2512 ui/views/view_unittest.cc v1.AddChildView(v2.get()); v2 2519 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v1.add_details().child); v2 2522 ui/views/view_unittest.cc EXPECT_TRUE(v2->has_add_details()); v2 2523 ui/views/view_unittest.cc EXPECT_FALSE(v2->has_remove_details()); v2 2524 ui/views/view_unittest.cc EXPECT_EQ(&v1, v2->add_details().parent); v2 2525 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v2->add_details().child); v2 2526 ui/views/view_unittest.cc EXPECT_EQ(NULL, v2->add_details().move_view); v2 2531 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v3->add_details().child); v2 2536 ui/views/view_unittest.cc v2->ResetTestState(); v2 2540 ui/views/view_unittest.cc v1.RemoveChildView(v2.get()); v2 2547 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v1.remove_details().child); v2 2550 ui/views/view_unittest.cc EXPECT_FALSE(v2->has_add_details()); v2 2551 ui/views/view_unittest.cc EXPECT_TRUE(v2->has_remove_details()); v2 2552 ui/views/view_unittest.cc EXPECT_EQ(&v1, v2->remove_details().parent); v2 2553 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v2->remove_details().child); v2 2554 ui/views/view_unittest.cc EXPECT_EQ(NULL, v2->remove_details().move_view); v2 2565 ui/views/view_unittest.cc v2->AddChildView(v4); v2 2569 ui/views/view_unittest.cc v2->ResetTestState(); v2 2584 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v1.add_details().move_view); v2 2588 ui/views/view_unittest.cc EXPECT_FALSE(v2->has_add_details()); v2 2589 ui/views/view_unittest.cc EXPECT_TRUE(v2->has_remove_details()); v2 2590 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v2->remove_details().parent); v2 2591 ui/views/view_unittest.cc EXPECT_EQ(v4, v2->remove_details().child); v2 2592 ui/views/view_unittest.cc EXPECT_EQ(&v1, v2->remove_details().move_view); v2 2602 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v4->remove_details().parent); v2 2607 ui/views/view_unittest.cc EXPECT_EQ(v2.get(), v4->add_details().move_view); v2 2650 ui/views/view_unittest.cc View* v2 = new View; v2 2653 ui/views/view_unittest.cc v1.AddChildView(v2); v2 2654 ui/views/view_unittest.cc v2->AddChildView(v3); v2 2658 ui/views/view_unittest.cc EXPECT_TRUE(v1.Contains(v2)); v2 2661 ui/views/view_unittest.cc EXPECT_FALSE(v2->Contains(NULL)); v2 2662 ui/views/view_unittest.cc EXPECT_TRUE(v2->Contains(v2)); v2 2663 ui/views/view_unittest.cc EXPECT_FALSE(v2->Contains(&v1)); v2 2664 ui/views/view_unittest.cc EXPECT_TRUE(v2->Contains(v3)); v2 2669 ui/views/view_unittest.cc EXPECT_FALSE(v3->Contains(v2)); v2 2776 ui/views/view_unittest.cc View v2; v2 2778 ui/views/view_unittest.cc v2.set_id(kV2ID); v2 2790 ui/views/view_unittest.cc v1.AddChildView(&v2); v2 2791 ui/views/view_unittest.cc v2.AddChildView(&v3); v2 2792 ui/views/view_unittest.cc v2.AddChildView(&v4); v2 2795 ui/views/view_unittest.cc EXPECT_EQ(&v2, v1.GetViewByID(kV2ID)); v2 2799 ui/views/view_unittest.cc EXPECT_EQ(NULL, v2.GetViewByID(kV1ID)); // It can get only from child views. v2 2817 ui/views/view_unittest.cc View v1, v2, v3; v2 2819 ui/views/view_unittest.cc v1.AddChildView(&v2); v2 2821 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); v2 2825 ui/views/view_unittest.cc v1.AddChildViewAt(&v2, 0); v2 2826 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); v2 2829 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); v2 2833 ui/views/view_unittest.cc v1.AddChildViewAt(&v2, 1); v2 2834 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v2)); v2 2836 ui/views/view_unittest.cc v1.AddChildViewAt(&v2, 0); v2 2837 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); v2 2841 ui/views/view_unittest.cc v1.AddChildView(&v2); v2 2842 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); v2 2845 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); v2 2936 ui/views/view_unittest.cc View* v2 = new View; v2 2937 ui/views/view_unittest.cc v1->AddChildView(v2); v2 2938 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer() == NULL); v2 2939 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(10, 20, 30, 40)); v2 2940 ui/views/view_unittest.cc v2->SetPaintToLayer(true); v2 2941 ui/views/view_unittest.cc ASSERT_TRUE(v2->layer() != NULL); v2 2942 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), v2->layer()->parent()); v2 2943 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds()); v2 2949 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer() != NULL); v2 2950 ui/views/view_unittest.cc EXPECT_EQ(root_layer, v2->layer()->parent()); v2 2952 ui/views/view_unittest.cc EXPECT_EQ(root_layer->children()[0], v2->layer()); v2 2955 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 50, 30, 40), v2->layer()->bounds()); v2 2962 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer() != NULL); v2 2964 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), v2->layer()->parent()); v2 2968 ui/views/view_unittest.cc EXPECT_EQ(v1->layer()->children()[0], v2->layer()); v2 2969 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds()); v2 2982 ui/views/view_unittest.cc View* v2 = new View; v2 2983 ui/views/view_unittest.cc v1->AddChildView(v2); v2 2987 ui/views/view_unittest.cc v2->AddChildView(v3); v2 3025 ui/views/view_unittest.cc View* v2 = new View; v2 3026 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(10, 11, 40, 50)); v2 3027 ui/views/view_unittest.cc v1->AddChildView(v2); v2 3028 ui/views/view_unittest.cc v2->SetPaintToLayer(true); v2 3029 ui/views/view_unittest.cc ASSERT_TRUE(v2->layer() != NULL); v2 3030 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 41, 40, 50), v2->layer()->bounds()); v2 3033 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 47, 40, 50), v2->layer()->bounds()); v2 3035 ui/views/view_unittest.cc v2->SetPosition(gfx::Point(11, 12)); v2 3036 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(36, 48, 40, 50), v2->layer()->bounds()); v2 3041 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(31, 42, 40, 50), v2->layer()->bounds()); v2 3043 ui/views/view_unittest.cc v2->SetVisible(false); v2 3044 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(10, 11, 20, 30)); v2 3045 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 41, 20, 30), v2->layer()->bounds()); v2 3075 ui/views/view_unittest.cc View* v2 = new View; v2 3076 ui/views/view_unittest.cc v2->SetBounds(50, 10, 30, 10); v2 3077 ui/views/view_unittest.cc EXPECT_FALSE(v2->layer()); v2 3078 ui/views/view_unittest.cc view->AddChildView(v2); v2 3079 ui/views/view_unittest.cc v2->SetPaintToLayer(true); v2 3081 ui/views/view_unittest.cc v2->layer()->bounds()); v2 3082 ui/views/view_unittest.cc gfx::Rect l2bounds = v2->layer()->bounds(); v2 3086 ui/views/view_unittest.cc EXPECT_EQ(l2bounds, v2->layer()->bounds()); v2 3096 ui/views/view_unittest.cc EXPECT_EQ(l2bounds, v2->layer()->bounds()); v2 3099 ui/views/view_unittest.cc v2->SetBounds(v2->x() + 5, v2->y(), v2->width(), v2->height()); v2 3101 ui/views/view_unittest.cc EXPECT_EQ(l2bounds, v2->layer()->bounds()); v2 3186 ui/views/view_unittest.cc View* v2 = new View; v2 3187 ui/views/view_unittest.cc v1->AddChildView(v2); v2 3188 ui/views/view_unittest.cc v2->SetPaintToLayer(true); v2 3190 ui/views/view_unittest.cc v2->layer())); v2 3191 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer()->IsDrawn()); v2 3196 ui/views/view_unittest.cc v2->layer())); v2 3199 ui/views/view_unittest.cc content_view->AddChildView(v2); v2 3203 ui/views/view_unittest.cc v2->layer())); v2 3204 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer()->IsDrawn()); v2 3256 ui/views/view_unittest.cc View* v2 = new View; v2 3257 ui/views/view_unittest.cc v1->AddChildView(v2); v2 3260 ui/views/view_unittest.cc v2->AddChildView(v3); v2 3270 ui/views/view_unittest.cc v2->SetVisible(false); v2 3274 ui/views/view_unittest.cc v2->SetVisible(true); v2 3278 ui/views/view_unittest.cc v2->SetVisible(false); v2 3379 ui/views/view_unittest.cc View* v2 = new View(); v2 3380 ui/views/view_unittest.cc v2->SetPaintToLayer(true); v2 3381 ui/views/view_unittest.cc v->AddChildView(v2); v2 3387 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_pre[1]); v2 3397 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_post[2]); v2 3409 ui/views/view_unittest.cc View* v2 = new View(); v2 3410 ui/views/view_unittest.cc v2->SetPaintToLayer(true); v2 3411 ui/views/view_unittest.cc v->AddChildView(v2); v2 3419 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_pre[1]); v2 3428 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_post[2]); v2 3517 ui/views/view_unittest.cc View* v2 = new View(); v2 3518 ui/views/view_unittest.cc v2->SetBounds(0, 1, 100, 101); v2 3526 ui/views/view_unittest.cc w1->GetRootView()->AddChildView(v2); v2 3527 ui/views/view_unittest.cc v2->AddChildView(v3); v2 3530 ui/views/view_unittest.cc v2->AddChildView(v4); v2 1501 ui/views/widget/widget_unittest.cc EventCountView* v2 = new EventCountView(); v2 1502 ui/views/widget/widget_unittest.cc v2->SetBounds(0, 10, 10, 10); v2 1503 ui/views/widget/widget_unittest.cc root_view->AddChildView(v2); v2 1511 ui/views/widget/widget_unittest.cc EXPECT_EQ(0, v2->GetEventCount(ui::ET_MOUSE_ENTERED)); v2 1514 ui/views/widget/widget_unittest.cc v2->SetBounds(0, 0, 10, 10); v2 1515 ui/views/widget/widget_unittest.cc EXPECT_EQ(0, v2->GetEventCount(ui::ET_MOUSE_ENTERED)); v2 1518 ui/views/widget/widget_unittest.cc EXPECT_EQ(1, v2->GetEventCount(ui::ET_MOUSE_ENTERED)); v2 234 ui/views/widget/window_reorderer_unittest.cc View* v2 = new View(); v2 235 ui/views/widget/window_reorderer_unittest.cc v2->SetPaintToLayer(true); v2 236 ui/views/widget/window_reorderer_unittest.cc v2->layer()->set_name("v2"); v2 237 ui/views/widget/window_reorderer_unittest.cc contents_view->AddChildView(v2); v2 252 ui/views/widget/window_reorderer_unittest.cc v2->AddChildView(v12);