Searched refs:parentLimit (Results 1 – 3 of 3) sorted by relevance
/external/skia/legacy/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 …alar center_align_proc(SkScalar childLimit, SkScalar parentLimit) { return SkScalarHalf(parentLimi… 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 158 SkScalar parentLimit = (parent->*mainGetSizeP)() - startM - endM; in onLayoutChildren() local 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()
|
/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 …alar center_align_proc(SkScalar childLimit, SkScalar parentLimit) { return SkScalarHalf(parentLimi… 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 158 SkScalar parentLimit = (parent->*mainGetSizeP)() - startM - endM; in onLayoutChildren() local 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()
|
/external/icu4c/tools/toolutil/ |
D | pkgitems.cpp | 178 const char *itemID, *parent, *parentLimit, *suffix; in checkParent() local 197 for(parentLimit=suffix; parentLimit>itemID && *--parentLimit!='_';) {} in checkParent() 199 if(parentLimit!=itemID) { in checkParent() 202 parentLength=(int32_t)(parentLimit-itemID); in checkParent()
|