OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getActivity
(Results
151 - 175
of
2146
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
BaseActionFragment.java
102
mAdapter = new ActionAdapter(mFragment.
getActivity
());
172
} else if (mFragment.
getActivity
() instanceof ActionAdapter.Listener) {
173
ActionAdapter.Listener listener = (ActionAdapter.Listener) mFragment.
getActivity
();
180
if (mFragment.
getActivity
() instanceof ActionAdapter.OnFocusListener) {
182
.
getActivity
();
189
if (mFragment.
getActivity
() instanceof ActionAdapter.OnKeyListener) {
191
.
getActivity
();
198
if (mFragment.
getActivity
() instanceof ActionAdapter.OnKeyListener) {
200
.
getActivity
();
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
HeadsUpNotificationFragment.java
75
mNotificationManager = (NotificationManager)
getActivity
().getSystemService(Context
95
Toast.makeText(
getActivity
(), "Show Notification clicked", Toast.LENGTH_SHORT).show();
115
Notification.Builder notificationBuilder = new Notification.Builder(
getActivity
())
124
push.setClass(
getActivity
(), LNotificationActivity.class);
126
PendingIntent fullScreenPendingIntent = PendingIntent.
getActivity
(
getActivity
(), 0,
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
HeadsUpNotificationFragment.java
75
mNotificationManager = (NotificationManager)
getActivity
().getSystemService(Context
95
Toast.makeText(
getActivity
(), "Show Notification clicked", Toast.LENGTH_SHORT).show();
115
Notification.Builder notificationBuilder = new Notification.Builder(
getActivity
())
124
push.setClass(
getActivity
(), LNotificationActivity.class);
126
PendingIntent fullScreenPendingIntent = PendingIntent.
getActivity
(
getActivity
(), 0,
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
HeadsUpNotificationFragment.java
75
mNotificationManager = (NotificationManager)
getActivity
().getSystemService(Context
95
Toast.makeText(
getActivity
(), "Show Notification clicked", Toast.LENGTH_SHORT).show();
115
Notification.Builder notificationBuilder = new Notification.Builder(
getActivity
())
124
push.setClass(
getActivity
(), LNotificationActivity.class);
126
PendingIntent fullScreenPendingIntent = PendingIntent.
getActivity
(
getActivity
(), 0,
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
ButtonsWithTallTextViewInBetweenTest.java
46
mScrollView =
getActivity
().getScrollView();
47
mTopButton =
getActivity
().getTopButton();
48
mMiddleFiller =
getActivity
().getMiddleFiller();
49
mBottomButton =
getActivity
().getBottomButton();
106
getActivity
().getLinearLayout().getHeight() - mScrollView.getHeight(),
121
final int maxScroll =
getActivity
().getLinearLayout().getHeight()
/packages/apps/Contacts/src/com/android/contacts/interactions/
JoinContactsDialogFragment.java
66
return new AlertDialog.Builder(
getActivity
())
72
return new AlertDialog.Builder(
getActivity
())
94
final Intent intent = ContactSaveService.createJoinSeveralContactsIntent(
getActivity
(),
96
getActivity
().startService(intent);
102
if (
getActivity
() instanceof JoinContactsListener) {
103
((JoinContactsListener)
getActivity
()).onContactsJoined();
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
EditInfoActivityTest.java
57
PreferenceManager.getDefaultSharedPreferences(
getActivity
()).edit().clear().commit();
60
mFragments =
getActivity
().getFragments();
67
PreferenceManager.getDefaultSharedPreferences(
getActivity
()).edit().clear().commit();
88
EditInfoActivity editInfoActivity =
getActivity
();
134
String unknownAddress =
getActivity
().getResources().getString(R.string.unknown_address);
191
.deleteContact(
getActivity
().getContentResolver(), "Michael", "789"));
196
(EditInfoActivity.WarningDialogFragment)
getActivity
().getFragmentManager()
204
(EditInfoActivity.WarningDialogFragment)
getActivity
().getFragmentManager()
210
EditInfoActivity activity =
getActivity
();
214
assertNotNull(dialogFragment.
getActivity
());
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DateTimeFragment.java
67
final Activity activity =
getActivity
();
81
// (TvInputManager)
getActivity
().getSystemService(Context.TV_INPUT_SERVICE);
90
mDatePref.setIntent(SetDateTimeActivity.getSetDateIntent(
getActivity
()));
92
mTimePref.setIntent(SetDateTimeActivity.getSetTimeIntent(
getActivity
()));
119
getActivity
().registerReceiver(mIntentReceiver, filter, null, null);
121
updateTimeAndDateDisplay(
getActivity
());
128
getActivity
().unregisterReceiver(mIntentReceiver);
139
mTimePref.setSummary(DateFormat.getTimeFormat(
getActivity
()).format(now.getTime()));
141
mTime24Pref.setSummary(DateFormat.getTimeFormat(
getActivity
()).format(dummyDate));
168
updateTimeAndDateDisplay(
getActivity
());
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java
44
mMovie =
getActivity
().getResources().getMovie(MOVIE);
80
source =
getActivity
().getResources().openRawResource(MOVIE);
113
InputStream is =
getActivity
().getResources().openRawResource(MOVIE);
124
InputStream is =
getActivity
().getResources()
145
int expectedHeight =
getActivity
().getResources().getDrawable(MOVIE).getIntrinsicHeight();
146
int scaledHeight = WidgetTestUtils.convertDipToPixels(
getActivity
(), mMovie.height());
149
int expectedWidth =
getActivity
().getResources().getDrawable(MOVIE).getIntrinsicWidth();
150
int scaledWidth = WidgetTestUtils.convertDipToPixels(
getActivity
(), mMovie.width());
/developers/build/templates/create/_MODULE_/src/androidTest/java/_PACKAGE_/test/
SampleTests.java.ftl
42
mTestActivity =
getActivity
();
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/
HomeFragment.java
33
((HomeActivity)
getActivity
()).component().inject(this);
38
TextView tv = new TextView(
getActivity
());
/frameworks/base/core/tests/coretests/src/android/view/
MutateDrawableTest.java
36
mFirstButton =
getActivity
().findViewById(com.android.frameworks.coretests.R.id.a);
37
mSecondButton =
getActivity
().findViewById(com.android.frameworks.coretests.R.id.b);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
ListSetSelectionTest.java
39
mActivity =
getActivity
();
40
mListView =
getActivity
().getListView();
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
ListGetSelectedViewTest.java
44
mActivity =
getActivity
();
45
mListView =
getActivity
().getListView();
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
StartInTouchWithViewInFocusTest.java
43
mEditText =
getActivity
().getEditText();
44
mButton =
getActivity
().getButton();
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
Test.java
34
assertEquals(10,
getActivity
().get1(true));
35
assertEquals(11,
getActivity
().get2(true));
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
Test.java
31
assertEquals(3366,
getActivity
().getValue());
40
getActivity
().getAnnotation2Value();
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
BindToFinalObservableFieldTest.java
35
assertEquals(
getActivity
().getResources().getString(R.string.app_name), textView.getText().toString());
39
+ " binder flags.",
getActivity
().getResources().getString(R.string.rain),
CustomBindingTest.java
38
getActivity
().getLayoutInflater());
44
com.android.test.CustomBinding.inflate(
getActivity
().getLayoutInflater());
DefaultBindingTest.java
26
UseDefaultBinding binding = UseDefaultBinding.inflate(
getActivity
().getLayoutInflater());
32
assertEquals(
getActivity
().getResources().getString(android.R.string.cancel),
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
FragmentTabsFragment.java
33
mTabHost = new FragmentTabHost(
getActivity
());
34
mTabHost.setup(
getActivity
(), getChildFragmentManager(), R.id.pager);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
WizardExampleBaseStepFragment.java
36
if (!(
getActivity
() instanceof WizardExampleActivity)) {
39
return (WizardExampleActivity)
getActivity
();
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
BaseInstrumentationTestCase.java
39
public A
getActivity
() {
40
return mActivityTestRule.
getActivity
();
/packages/apps/DeskClock/src/com/android/deskclock/
DeskClockFragment.java
43
final Activity activity =
getActivity
();
69
return (DeskClock)
getActivity
();
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
ViewNumbersToImportFragment.java
48
return
getActivity
();
57
getContext(),
getActivity
().getFragmentManager());
78
ActionBar actionBar = ((AppCompatActivity)
getActivity
()).getSupportActionBar();
85
getActivity
().findViewById(R.id.cancel_button).setOnClickListener(this);
86
getActivity
().findViewById(R.id.import_button).setOnClickListener(this);
124
if (
getActivity
() != null) {
125
getActivity
().onBackPressed();
130
getActivity
().onBackPressed();
Completed in 1256 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>