Lines Matching refs:context
38 * @param context The context.
42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) {
48 final LinearLayout ll = new LinearLayout(context);
56 final Button topButton = new Button(context);
62 final TextView middleFiller = new TextView(context);
69 final Button bottomButton = new Button(context);
86 * @param context The context.
91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) {
93 final LinearLayout ll = new LinearLayout(context);
119 final Button button = new Button(context);
123 ll.addView(new View(context), lp);
127 final Button button = new Button(context);
131 ll.addView(new View(context), lp);
135 final Button button = new Button(context);
139 ll.addView(new View(context), lp);
150 * @param context The context.
155 public static View button(int position, Context context, String text, int desiredHeight) {
156 TextView result = new Button(context);
190 * @param context The context.
195 public static View text(int position, Context context, String text, int desiredHeight) {
196 TextView result = new TextView(context);
231 * @param context The context.
236 public static View doubleText(int position, Context context, String text, int desiredHeight) {
237 final LinearLayout ll = new LinearLayout(context);
247 TextView t1 = new TextView(context);
256 TextView t2 = new TextView(context);