OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getActivity
(Results
276 - 300
of
2146
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
StartVoiceInteractionActivity.java
123
((StartVoiceInteractionActivity)
getActivity
()).mLog.append("Canceled abort\n");
127
((StartVoiceInteractionActivity)
getActivity
()).mLog.append(
129
getActivity
().finish();
139
((StartVoiceInteractionActivity)
getActivity
()).mLog.append("Canceled complete\n");
143
((StartVoiceInteractionActivity)
getActivity
()).mLog.append("Complete: result="
145
getActivity
().finish();
155
((StartVoiceInteractionActivity)
getActivity
()).mLog.append("Canceled command\n");
171
((StartVoiceInteractionActivity)
getActivity
()).mLog.append(sb.toString());
186
((StartVoiceInteractionActivity)
getActivity
()).mLog.append("Canceled pick\n");
205
((StartVoiceInteractionActivity)
getActivity
()).mLog.append(sb.toString())
[
all
...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastListActivity.java
114
mAdapter = new CellBroadcastCursorAdapter(
getActivity
(), null);
126
if (UserManager.get(
getActivity
()).isAdminUser()) {
145
return new CursorLoader(
getActivity
(), CellBroadcastContentProvider.CONTENT_URI,
155
getActivity
().invalidateOptionsMenu();
168
Intent i = new Intent(
getActivity
(), CellBroadcastAlertDialog.class);
177
CharSequence details = CellBroadcastResources.getMessageDetails(
getActivity
(), cbm);
178
new AlertDialog.Builder(
getActivity
())
225
Intent intent = new Intent(
getActivity
(), CellBroadcastSettings.class);
241
confirmDeleteThreadDialog(listener, (rowId == -1),
getActivity
());
275
getActivity
().getContentResolver()).execute
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
QsbContainerView.java
89
getActivity
().registerReceiver(mRebindReceiver, filter);
101
mWrapper = new FrameLayout(
getActivity
());
107
Launcher launcher = Launcher.getLauncher(
getActivity
());
168
getActivity
().startSearch("", false, null, true);
171
sSavedWidgetId = Launcher.getLauncher(
getActivity
())
193
Utilities.getPrefs(
getActivity
()).edit().putInt(QSB_WIDGET_ID, widgetId).apply();
197
Launcher.getLauncher(
getActivity
()).getAppWidgetHost()
214
getActivity
().unregisterReceiver(mRebindReceiver);
219
if (mWrapper != null &&
getActivity
() != null) {
221
mWrapper.addView(createQsb(
getActivity
().getLayoutInflater(), mWrapper))
[
all
...]
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
BlockedNumbersFragment.java
64
return
getActivity
();
72
(LayoutInflater)
getActivity
().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
76
ImageView addNumberIcon = (ImageView)
getActivity
().findViewById(R.id.add_number_icon);
79
drawable.setColor(ActivityCompat.getColor(
getActivity
(),
86
getContext(),
getActivity
().getFragmentManager());
96
mBlockedNumberListDivider =
getActivity
().findViewById(R.id.blocked_number_list_divider);
101
footerText = (TextView)
getActivity
().findViewById(
124
ActionBar actionBar = ((AppCompatActivity)
getActivity
()).getSupportActionBar();
126
ActivityCompat.getColor(
getActivity
(), R.color.dialer_theme_color));
150
getActivity
(), new CheckForSendToVoicemailContactListener()
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentLayout.java
98
setListAdapter(new ArrayAdapter<String>(
getActivity
(),
103
View detailsFrame =
getActivity
().findViewById(R.id.details);
166
intent.setClass(
getActivity
(), DetailsActivity.class);
213
ScrollView scroller = new ScrollView(
getActivity
());
214
TextView text = new TextView(
getActivity
());
216
4,
getActivity
().getResources().getDisplayMetrics());
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
MyBaseListFragment.java
67
mUserManager =
getActivity
().getSystemService(UserManager.class);
68
mLauncherApps =
getActivity
().getSystemService(LauncherApps.class);
82
getActivity
().registerReceiver(mProfileReceiver, sProfileFilter);
87
getActivity
().unregisterReceiver(mProfileReceiver);
101
Toast.makeText(
getActivity
(), "App doesn't have the shortcut permissions",
111
PackageManager pm =
getActivity
().getPackageManager();
/frameworks/base/core/tests/coretests/src/android/widget/
TextViewTest.java
38
TextView tv = new TextView(
getActivity
());
68
final TextView tv = new TextView(
getActivity
());
76
getActivity
().runOnUiThread(new Runnable() {
93
EditText tv = new EditText(
getActivity
());
110
EditText tv = new EditText(
getActivity
());
127
EditText tv = new EditText(
getActivity
());
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
BasicBindingTest.java
123
NoExpressionsBinding binding = NoExpressionsBinding.inflate(
getActivity
().getLayoutInflater());
129
NoDataElementBinding binding = NoDataElementBinding.inflate(
getActivity
().getLayoutInflater());
135
JustIdBinding binding = JustIdBinding.inflate(
getActivity
().getLayoutInflater());
142
assertNull(DataBindingUtil.inflate(
getActivity
().getLayoutInflater(), R.layout.plain_layout,
150
BasicBindingBinding.inflate(
getActivity
().getLayoutInflater(), viewGroup, true);
158
JustIdBinding binding = JustIdBinding.inflate(
getActivity
().getLayoutInflater());
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentLayoutSupport.java
100
setListAdapter(new ArrayAdapter<String>(
getActivity
(),
106
View detailsFrame =
getActivity
().findViewById(R.id.details);
165
intent.setClass(
getActivity
(), DetailsActivity.class);
212
ScrollView scroller = new ScrollView(
getActivity
());
213
TextView text = new TextView(
getActivity
());
215
4,
getActivity
().getResources().getDisplayMetrics());
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ConversationFragmentTest.java
104
getActivity
().setFragmentEventListener(new FragmentEventListener() {
108
fragment.setConversationInfo(
getActivity
(), CONVERSATION_ID, null);
113
getActivity
().runOnUiThread(new Runnable() {
117
getActivity
().setFragment(fragment);
119
getActivity
(), fragment, CONVERSATION_ID);
127
getActivity
().runOnUiThread(new Runnable() {
/packages/apps/Settings/src/com/android/settings/accounts/
AccountPreferenceBase.java
67
final Activity activity =
getActivity
();
99
final Activity activity =
getActivity
();
155
final Context targetCtx =
getActivity
().createPackageContextAsUser(
175
mAuthenticatorHelper.updateAuthDescriptions(
getActivity
());
180
return mAuthenticatorHelper.getDrawableForType(
getActivity
(), accountType);
184
return mAuthenticatorHelper.getLabelForType(
getActivity
(), accountType);
/packages/apps/Settings/src/com/android/settings/inputmethod/
KeyboardLayoutPickerFragment.java
61
mInputDeviceIdentifier =
getActivity
().getIntent().getParcelableExtra(
64
getActivity
().finish();
82
getActivity
().finish();
132
getActivity
().finish();
137
PreferenceScreen root = getPreferenceManager().createPreferenceScreen(
getActivity
());
138
Context context =
getActivity
();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
TimeZoneFragment.java
49
final Activity activity =
getActivity
();
64
final List<Map<String, Object>> zoneList = ZoneGetter.getZonesList(
getActivity
());
81
getActivity
().registerReceiver(mIntentReceiver, filter, null, null);
88
getActivity
().unregisterReceiver(mIntentReceiver);
96
getActivity
().getSystemService(Context.ALARM_SERVICE);
99
getActivity
().finish();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
CorrectionSettingsFragment.java
70
final Context context =
getActivity
();
96
final Activity activity =
getActivity
();
131
getActivity
() /* context */, Manifest.permission.READ_CONTACTS)) {
135
PermissionsManager.get(
getActivity
() /* context */).requestPermissions(
137
getActivity
() /* activity */,
148
getActivity
(), Manifest.permission.READ_CONTACTS)) {
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
ShortcutManagerPreBackupTest.java
41
.setActivity(
getActivity
("MainActivity"))
50
.setActivity(
getActivity
("MainActivity2"))
57
.setActivity(
getActivity
("MainActivity2"))
/developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/ActivityInstrumentation/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/BasicAccessibility/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/java/com/example/android/common/logger/
LogFragment.java
57
mScrollView = new ScrollView(
getActivity
());
63
mLogView = new LogView(
getActivity
());
79
mLogView.setTextAppearance(
getActivity
(), android.R.style.TextAppearance_Holo_Medium);
Completed in 904 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>