Lines Matching refs:view
17 package android.support.v4.view;
21 import android.view.View;
34 static ColorStateList getBackgroundTintList(View view) {
35 return (view instanceof TintableBackgroundView)
36 ? ((TintableBackgroundView) view).getSupportBackgroundTintList()
40 static void setBackgroundTintList(View view, ColorStateList tintList) {
41 if (view instanceof TintableBackgroundView) {
42 ((TintableBackgroundView) view).setSupportBackgroundTintList(tintList);
46 static PorterDuff.Mode getBackgroundTintMode(View view) {
47 return (view instanceof TintableBackgroundView)
48 ? ((TintableBackgroundView) view).getSupportBackgroundTintMode()
52 static void setBackgroundTintMode(View view, PorterDuff.Mode mode) {
53 if (view instanceof TintableBackgroundView) {
54 ((TintableBackgroundView) view).setSupportBackgroundTintMode(mode);
58 static boolean isLaidOut(View view) {
59 return view.getWidth() > 0 && view.getHeight() > 0;
62 static int getMinimumWidth(View view) {
75 return (int) sMinWidthField.get(view);
85 static int getMinimumHeight(View view) {
98 return (int) sMinHeightField.get(view);
108 static boolean isAttachedToWindow(View view) {
109 return view.getWindowToken() != null;