Lines Matching refs:top
176 const top = proto?.top ?? 0;
179 if (left || top || right || bottom) {
180 return new Insets(left, top, right, bottom);
191 const top = proto.top || 0;
194 if (right == -1 && left == 0 && bottom == -1 && top == 0) EMPTY_RECT;
196 if (right - left <= 0 || bottom - top <= 0) return EMPTY_RECT;
198 return Rect.Companion.from(left, top, right, bottom);
207 const top = proto?.top ?? 0;
210 if (left || top || right || bottom) {
211 return new Rect(left, top, right, bottom);
222 const top = proto?.top ?? 0;
225 if (left || top || right || bottom) {
226 return new RectF(left, top, right, bottom);