HomeSort by relevance Sort by last modified time
    Searched refs:mTargetContext (Results 1 - 8 of 8) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java 35 private Context mTargetContext;
44 mTargetContext = getInstrumentation().getTargetContext();
48 new Spinner(mTargetContext);
50 new Spinner(mTargetContext, null);
52 new Spinner(mTargetContext, null, com.android.internal.R.attr.spinnerStyle);
55 assertEquals(mTargetContext.getString(R.string.text_view_hello), spinner.getPrompt());
60 Spinner spinner = new Spinner(mTargetContext);
65 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mTargetContext,
73 Spinner spinner = new Spinner(mTargetContext);
93 Spinner spinner = new Spinner(mTargetContext);
    [all...]
TableLayout_LayoutParamsTest.java 37 private Context mTargetContext;
42 mTargetContext = getInstrumentation().getTargetContext();
46 new TableLayout.LayoutParams(mTargetContext, null);
77 TypedArray a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout);
92 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout);
107 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout);
141 parser = mTargetContext.getResources()
ScrollerTest.java 31 private Context mTargetContext;
36 mTargetContext = getInstrumentation().getTargetContext();
37 mScroller = new Scroller(mTargetContext);
41 new Scroller(mTargetContext);
43 new Scroller(mTargetContext, new LinearInterpolator());
65 mScroller = new Scroller(mTargetContext);
326 mScroller = new Scroller(mTargetContext, new LinearInterpolator());
TableRow_LayoutParamsTest.java 43 Context mTargetContext;
52 mTargetContext = getInstrumentation().getTargetContext();
57 new TableRow.LayoutParams(mTargetContext, null);
120 TypedArray a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout);
135 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout);
150 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout);
188 parser = mTargetContext.getResources()
TableRowTest.java 44 Context mTargetContext;
54 mTargetContext = getInstrumentation().getTargetContext();
134 Resources resources = mTargetContext.getResources();
  /frameworks/base/test-runner/src/android/test/
SyncBaseInstrumentation.java 32 private Context mTargetContext;
39 mTargetContext = getInstrumentation().getTargetContext();
40 mContentResolver = mTargetContext.getContentResolver();
  /frameworks/base/test-runner/tests/src/android/test/
InstrumentationTestRunnerTest.java 203 private Context mTargetContext;
215 this.mTargetContext = targetContext;
228 return mTargetContext;
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 42 protected Context mTargetContext;
73 mTargetContext = getInstrumentation().getTargetContext();
75 mAccountManager = AccountManager.get(mTargetContext);
77 mResolver = mTargetContext.getContentResolver();

Completed in 1034 milliseconds