Lines Matching refs:sib

1167     UIView* sib = parent_->GetChildById(id);
1168 if (sib != nullptr) {
1169 int16_t margin = sib->style_->marginLeft_ - style_->marginLeft_;
1170 SetPosition(sib->GetX() - margin + offset, GetY());
1179 UIView* sib = parent_->GetChildById(id);
1180 if (sib != nullptr) {
1181 int16_t margin = sib->style_->marginRight_ - style_->marginRight_;
1182 SetPosition(sib->GetX() + sib->rect_.GetWidth() - rect_.GetWidth() - offset + margin, GetY());
1191 UIView* sib = parent_->GetChildById(id);
1192 if (sib != nullptr) {
1193 int16_t margin = sib->style_->marginTop_ - style_->marginTop_;
1194 SetPosition(GetX(), sib->GetY() + offset - margin);
1203 UIView* sib = parent_->GetChildById(id);
1204 if (sib != nullptr) {
1205 int16_t margin = sib->style_->marginBottom_ - style_->marginBottom_;
1206 SetPosition(GetX(), sib->GetY() + sib->rect_.GetHeight() - rect_.GetHeight() - offset + margin);
1215 UIView* sib = parent_->GetChildById(id);
1216 if (sib != nullptr) {
1218 (sib->style_->marginRight_ - sib->style_->marginLeft_ - style_->marginRight_ + style_->marginLeft_) /
1220 SetPosition(sib->GetX() + sib->rect_.GetWidth() / 2 - rect_.GetWidth() / 2 + margin + offset, GetY());
1228 UIView* sib = parent_->GetChildById(id);
1229 if (sib != nullptr) {
1231 (sib->style_->marginBottom_ - sib->style_->marginTop_ - style_->marginBottom_ + style_->marginTop_) /
1233 SetPosition(GetX(), sib->GetY() + sib->rect_.GetHeight() / 2 - rect_.GetHeight() / 2 + margin + offset);
1242 UIView* sib = parent_->GetChildById(id);
1243 if (sib != nullptr) {
1244 int16_t margin = sib->style_->marginLeft_ + style_->marginRight_;
1245 SetPosition(sib->GetX() - offset - rect_.GetWidth() - margin, GetY());
1254 UIView* sib = parent_->GetChildById(id);
1255 if (sib != nullptr) {
1256 int16_t margin = sib->style_->marginRight_ + style_->marginLeft_;
1257 SetPosition(sib->GetX() + sib->rect_.GetWidth() + offset + margin, GetY());
1266 UIView* sib = parent_->GetChildById(id);
1267 if (sib != nullptr) {
1268 int16_t margin = sib->style_->marginTop_ + style_->marginBottom_;
1269 SetPosition(GetX(), sib->GetY() - offset - rect_.GetHeight() - margin);
1278 UIView* sib = parent_->GetChildById(id);
1279 if (sib != nullptr) {
1280 int16_t margin = sib->style_->marginBottom_ + style_->marginTop_;
1281 SetPosition(GetX(), sib->GetY() + sib->rect_.GetHeight() + offset + margin);