Home | History | Annotate | Download | only in widget

Lines Matching defs:View

28 import android.view.View;
29 import android.view.ViewGroup;
53 View view = new View(parent.getContext());
54 view.setLayoutParams(new ViewGroup.LayoutParams(sViewWidth, sViewHeight));
55 return new ViewHolder(view);
107 static void measureAndLayout(View view, int expectedWidth, int expectedHeight) {
108 view.measure(View.MeasureSpec.makeMeasureSpec(expectedWidth, View.MeasureSpec.EXACTLY),
109 View.MeasureSpec.makeMeasureSpec(expectedHeight, View.MeasureSpec.EXACTLY));
110 view.layout(0, 0, expectedWidth, expectedHeight);
134 // Set TransientState to true to simulate the view is running custom ViewPropertyAnimation.