Home
last modified time | relevance | path

Searched refs:parentLimit (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/views/
DSkStackViewLayout.cpp61 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/icu/icu4c/source/tools/toolutil/
Dpkgitems.cpp176 const char *itemID, *parent, *parentLimit, *suffix; in checkParent() local
195 for(parentLimit=suffix; parentLimit>itemID && *--parentLimit!='_';) {} in checkParent()
197 if(parentLimit!=itemID) { in checkParent()
200 parentLength=(int32_t)(parentLimit-itemID); in checkParent()