Lines Matching refs:mInstance
30 private final ViewGroup mInstance;
39 mInstance = instance;
56 return new MarginLayoutParams(mInstance.getContext(), attrs);
69 int count = mInstance.getChildCount();
81 final View child = mInstance.getChildAt(i);
109 final Drawable drawable = mInstance.getForeground();
116 mInstance.resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
117 mInstance.resolveSizeAndState(maxHeight, heightMeasureSpec,
128 final int width = Math.max(0, mInstance.getMeasuredWidth()
134 childWidthMeasureSpec = mInstance.getChildMeasureSpec(widthMeasureSpec,
142 final int height = Math.max(0, mInstance.getMeasuredHeight()
148 childHeightMeasureSpec = mInstance.getChildMeasureSpec(heightMeasureSpec,
161 final int count = mInstance.getChildCount();
170 final View child = mInstance.getChildAt(i);
197 return mInstance.isForegroundInsidePadding() ? Math.max(mInstance.getPaddingLeft(), 0) :
198 mInstance.getPaddingLeft() + 0;
202 return mInstance.isForegroundInsidePadding() ? Math.max(mInstance.getPaddingRight(), 0) :
203 mInstance.getPaddingRight() + 0;
207 return mInstance.isForegroundInsidePadding() ? Math.max(mInstance.getPaddingTop(), 0) :
208 mInstance.getPaddingTop() + 0;
212 return mInstance.isForegroundInsidePadding() ? Math.max(mInstance.getPaddingBottom(), 0) :
213 mInstance.getPaddingBottom() + 0;