Searched refs:childLimit (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/views/ |
D | SkStackViewLayout.cpp | 61 typedef SkScalar (*AlignProc)(SkScalar childLimit, SkScalar parentLimit); 66 static SkScalar left_align_proc(SkScalar childLimit, SkScalar parentLimit) { return 0; } in left_align_proc() argument 67 …SkScalar center_align_proc(SkScalar childLimit, SkScalar parentLimit) { return SkScalarHalf(parent… in center_align_proc() argument 68 static SkScalar right_align_proc(SkScalar childLimit, SkScalar parentLimit) { return parentLimit - … in right_align_proc() argument 69 static SkScalar fill_align_proc(SkScalar childLimit, SkScalar parentLimit) { return 0; } in fill_align_proc() argument 151 …SkScalar childLimit = compute_children_limit(parent, mainGetSizeP, &childCount, flexMask, &flex… in onLayoutChildren() local 156 childLimit += (childCount - 1) * fSpacer; in onLayoutChildren() 159 SkScalar pos = startM + gAlignProcs[fPack](childLimit, parentLimit); in onLayoutChildren() 164 if (flexCount > 0 && parentLimit > childLimit) in onLayoutChildren() 165 flexAmount = (parentLimit - childLimit) / flexCount; in onLayoutChildren()
|