OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTargetContext
(Results
1 - 9
of
9
) sorted by null
/cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java
37
private Context
mTargetContext
;
46
mTargetContext
= getInstrumentation().getTargetContext();
51
new Spinner(
mTargetContext
);
53
new Spinner(
mTargetContext
, null);
55
new Spinner(
mTargetContext
, null, android.R.attr.spinnerStyle);
57
new Spinner(
mTargetContext
, Spinner.MODE_DIALOG);
59
new Spinner(
mTargetContext
, null, android.R.attr.spinnerStyle,
62
new Spinner(
mTargetContext
, null, android.R.attr.spinnerStyle, 0,
65
new Spinner(
mTargetContext
, null, android.R.attr.spinnerStyle, 0,
66
Spinner.MODE_DIALOG,
mTargetContext
.getTheme())
[
all
...]
TableLayout_LayoutParamsTest.java
36
private Context
mTargetContext
;
41
mTargetContext
= getInstrumentation().getTargetContext();
45
new TableLayout.LayoutParams(
mTargetContext
, null);
76
TypedArray a =
mTargetContext
.obtainStyledAttributes(attrs,
92
a =
mTargetContext
.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
107
a =
mTargetContext
.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
143
parser =
mTargetContext
.getResources().getXml(R.xml.base_attributes);
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
42
Context
mTargetContext
;
51
mTargetContext
= getInstrumentation().getTargetContext();
56
new TableRow.LayoutParams(
mTargetContext
, null);
119
TypedArray a =
mTargetContext
.obtainStyledAttributes(attrs,
135
a =
mTargetContext
.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
150
a =
mTargetContext
.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
189
parser =
mTargetContext
.getResources().getXml(R.xml.base_attributes);
TableRowTest.java
44
Context
mTargetContext
;
54
mTargetContext
= getInstrumentation().getTargetContext();
134
Resources resources =
mTargetContext
.getResources();
/packages/apps/Launcher3/tests/src/com/android/launcher3/
RotationPreferenceTest.java
18
private Context
mTargetContext
;
29
mTargetContext
= getInstrumentation().getTargetContext();
30
mTargetPackage =
mTargetContext
.getPackageName();
31
mPrefs = Utilities.getPrefs(
mTargetContext
);
42
if (
mTargetContext
.getResources().getBoolean(R.bool.allow_rotation)) {
56
if (
mTargetContext
.getResources().getBoolean(R.bool.allow_rotation)) {
/frameworks/base/test-runner/src/android/test/
SyncBaseInstrumentation.java
38
private Context
mTargetContext
;
45
mTargetContext
= getInstrumentation().getTargetContext();
46
mContentResolver =
mTargetContext
.getContentResolver();
/packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/
TaskSchedulerServiceTestBase.java
59
public Context
mTargetContext
;
79
mTargetContext
= InstrumentationRegistry.getTargetContext();
85
.bindService(new Intent(
mTargetContext
, TaskSchedulerService.class));
88
mTestContext = createTestContext(
mTargetContext
, mService);
/frameworks/base/test-runner/tests/src/android/test/
InstrumentationTestRunnerTest.java
203
private Context
mTargetContext
;
215
this.
mTargetContext
= targetContext;
228
return
mTargetContext
;
Completed in 184 milliseconds