Lines Matching defs:properties
396 //TODO: Also need to test property sync and dirty flag when properties change.
398 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties();
400 EXPECT_EQ(0.0f, properties->getTranslateX());
401 properties->setTranslateX(1.0f);
402 EXPECT_EQ(1.0f, properties->getTranslateX());
404 EXPECT_EQ(0.0f, properties->getTranslateY());
405 properties->setTranslateY(1.0f);
406 EXPECT_EQ(1.0f, properties->getTranslateY());
408 EXPECT_EQ(0.0f, properties->getRotation());
409 properties->setRotation(1.0f);
410 EXPECT_EQ(1.0f, properties->getRotation());
412 EXPECT_EQ(1.0f, properties->getScaleX());
413 properties->setScaleX(0.0f);
414 EXPECT_EQ(0.0f, properties->getScaleX());
416 EXPECT_EQ(1.0f, properties->getScaleY());
417 properties->setScaleY(0.0f);
418 EXPECT_EQ(0.0f, properties->getScaleY());
420 EXPECT_EQ(0.0f, properties->getPivotX());
421 properties->setPivotX(1.0f);
422 EXPECT_EQ(1.0f, properties->getPivotX());
424 EXPECT_EQ(0.0f, properties->getPivotY());
425 properties->setPivotY(1.0f);
426 EXPECT_EQ(1.0f, properties->getPivotY());