Lines Matching refs:SetStyle

140     button->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full);  in AddButton()
146 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in AddButton()
147 button1->SetStyle(STYLE_BACKGROUND_OPA, 200); // 200: background opacity in AddButton()
148 button1->SetStyle(STYLE_BORDER_RADIUS, 3); // 3: border radius in AddButton()
159 block->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in AddBlock()
160 block->SetStyle(STYLE_BACKGROUND_OPA, 200); // 200: background opacity in AddBlock()
166 block2->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in AddBlock()
167 block2->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in AddBlock()
173 block3->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in AddBlock()
174 block3->SetStyle(STYLE_BACKGROUND_OPA, 200); // 200: background opacity in AddBlock()
180 block4->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in AddBlock()
181 block4->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in AddBlock()
194 g_rootView1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in TestWindow()
198 g_rootView2->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in TestWindow()
202 g_rootView3->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in TestWindow()
203 g_rootView3->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in TestWindow()
209 label->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in TestWindow()
210 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in TestWindow()
211 label->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in TestWindow()
252 rootView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in TestWindowNumLimit()