Home
last modified time | relevance | path

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

/external/skia/src/views/
DSkStackViewLayout.cpp54 typedef SkScalar (*AlignProc)(SkScalar childLimit, SkScalar parentLimit);
59 static SkScalar left_align_proc(SkScalar childLimit, SkScalar parentLimit) { return 0; } in left_align_proc() argument
60 …alar center_align_proc(SkScalar childLimit, SkScalar parentLimit) { return SkScalarHalf(parentLimi… in center_align_proc() argument
61 static SkScalar right_align_proc(SkScalar childLimit, SkScalar parentLimit) { return parentLimit - … in right_align_proc() argument
62 static SkScalar fill_align_proc(SkScalar childLimit, SkScalar parentLimit) { return 0; } in fill_align_proc() argument
151 SkScalar parentLimit = (parent->*mainGetSizeP)() - startM - endM; in onLayoutChildren() local
152 SkScalar pos = startM + gAlignProcs[fPack](childLimit, parentLimit); in onLayoutChildren()
157 if (flexCount > 0 && parentLimit > childLimit) in onLayoutChildren()
158 flexAmount = (parentLimit - childLimit) / flexCount; in onLayoutChildren()
/external/chromium/third_party/icu/source/tools/toolutil/
Dpkgitems.cpp103 const char *itemID, *parent, *parentLimit, *suffix; in checkParent() local
122 for(parentLimit=suffix; parentLimit>itemID && *--parentLimit!='_';) {} in checkParent()
124 if(parentLimit!=itemID) { in checkParent()
127 parentLength=(int32_t)(parentLimit-itemID); in checkParent()
/external/icu4c/tools/toolutil/
Dpkgitems.cpp180 const char *itemID, *parent, *parentLimit, *suffix; in checkParent() local
199 for(parentLimit=suffix; parentLimit>itemID && *--parentLimit!='_';) {} in checkParent()
201 if(parentLimit!=itemID) { in checkParent()
204 parentLength=(int32_t)(parentLimit-itemID); in checkParent()