HomeSort by relevance Sort by last modified time
    Searched refs:activity (Results 276 - 300 of 1098) sorted by null

<<11121314151617181920>>

  /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 19 import android.app.Activity;
192 Activity activity = getActivity();
193 if (null != activity) {
194 activity.finish();
299 Activity activity = getActivity(); local
300 if (null != activity) {
301 new AlertDialog.Builder(activity)
338 final Activity activity = getActivity() local
472 Activity activity = getActivity(); local
495 final Activity activity = getActivity(); local
538 Activity activity = getActivity(); local
564 final Activity activity = getActivity(); local
    [all...]
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 19 import android.app.Activity;
192 Activity activity = getActivity();
193 if (null != activity) {
194 activity.finish();
299 Activity activity = getActivity(); local
300 if (null != activity) {
301 new AlertDialog.Builder(activity)
338 final Activity activity = getActivity() local
472 Activity activity = getActivity(); local
495 final Activity activity = getActivity(); local
538 Activity activity = getActivity(); local
564 final Activity activity = getActivity(); local
    [all...]
  /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
Camera2VideoFragment.java 19 import android.app.Activity;
192 Activity activity = getActivity();
193 if (null != activity) {
194 activity.finish();
299 Activity activity = getActivity(); local
300 if (null != activity) {
301 new AlertDialog.Builder(activity)
338 final Activity activity = getActivity() local
472 Activity activity = getActivity(); local
495 final Activity activity = getActivity(); local
538 Activity activity = getActivity(); local
564 final Activity activity = getActivity(); local
    [all...]
  /external/chromium_org/base/message_loop/
message_pump_mac.h 160 CFRunLoopActivity activity, void* info);
165 CFRunLoopActivity activity, void* info);
171 CFRunLoopActivity activity, void* info);
176 virtual void EnterExitRunLoop(CFRunLoopActivity activity);
235 virtual void EnterExitRunLoop(CFRunLoopActivity activity) OVERRIDE;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
OrientationManager.java 19 import android.app.Activity;
37 private Activity mActivity;
46 public OrientationManager(Activity activity) {
47 mActivity = activity;
48 mOrientationListener = new MyOrientationEventListener(activity);
155 private static int getDisplayRotation(Activity activity) {
156 int rotation = activity.getWindowManager().getDefaultDisplay()
  /packages/apps/Settings/src/com/android/settings/
ChooseLockSettingsHelper.java 21 import android.app.Activity;
32 private Activity mActivity;
35 public ChooseLockSettingsHelper(Activity activity) {
36 mActivity = activity;
37 mLockPatternUtils = new LockPatternUtils(activity);
40 public ChooseLockSettingsHelper(Activity activity, Fragment fragment) {
41 this(activity);
53 * @return true if one exists and we launched an activity to confirm i
    [all...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
ShareMockupAction.java 19 import android.app.Activity;
43 public static void launch(Activity activity, CharSequence title) {
45 View v = activity.findViewById(R.id.preview);
56 File f = new File(activity.getExternalCacheDir(), FILE_NAME.format(new Date()));
65 Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show();
76 activity.startActivity(Intent.createChooser(share, title));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
FixLaunchConfig.java 95 // get the attributes for the activity
96 String activity = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, local
100 // so we need to make sure the activity is inside the old package.
101 if (activity.startsWith(mOldPackage)) {
102 // create the new activity
103 activity = mNewPackage + activity.substring(mOldPackage.length());
106 copy.setAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, activity);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
MainPanel.java 55 FilterShowActivity activity = (FilterShowActivity) getActivity(); local
56 activity.setCurrentPanel(position);
126 FilterShowActivity activity = (FilterShowActivity) getActivity(); local
127 showImageStatePanel(activity.isShowingImageStatePanel());
128 showPanel(activity.getCurrentPanel());
209 FilterShowActivity activity = (FilterShowActivity) getActivity(); local
210 activity.updateVersions();
266 FilterShowActivity activity = (FilterShowActivity) getActivity(); local
267 container = activity.getMainStatePanelContainer(R.id.state_panel_container);
281 FilterShowActivity activity = (FilterShowActivity) getActivity() local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ResourcesTest.java 14 import android.app.Activity;
38 resources = new Activity().getResources();
126 Activity activity = new Activity(); local
127 assertThat(activity.getResources().getDisplayMetrics().density, equalTo(1f));
129 shadowOf(activity.getResources()).setDensity(1.5f);
130 assertThat(activity.getResources().getDisplayMetrics().density, equalTo(1.5f));
132 Activity anotherActivity = new Activity();
138 Activity activity = new Activity(); local
    [all...]
SettingsTest.java 3 import android.app.Activity;
19 private Activity activity; field in class:SettingsTest
24 activity = new Activity();
25 contentResolver = activity.getContentResolver();
33 activity = new Activity();
34 contentResolver = activity.getContentResolver();
44 activity = new Activity()
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountPreferenceBase.java 21 import android.app.Activity;
66 final Activity activity = getActivity(); local
67 mUserHandle = Utils.getSecureTargetUser(activity.getActivityToken(), mUm, getArguments(),
68 activity.getIntent().getExtras());
69 mAuthenticatorHelper = new AuthenticatorHelper(activity, mUserHandle, mUm, this);
98 final Activity activity = getActivity(); local
100 mDateFormat = DateFormat.getDateFormat(activity);
101 mTimeFormat = DateFormat.getTimeFormat(activity);
    [all...]
  /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java 20 import android.app.Activity;
98 FragmentActivity activity = getActivity(); local
99 Toast.makeText(activity, "Bluetooth is not available", Toast.LENGTH_LONG).show();
100 activity.finish();
133 // onResume() will be called when ACTION_REQUEST_ENABLE activity returns.
247 FragmentActivity activity = getActivity(); local
248 if (null == activity) {
251 final ActionBar actionBar = activity.getActionBar();
264 FragmentActivity activity = getActivity(); local
265 if (null == activity) {
    [all...]
  /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java 20 import android.app.Activity;
98 FragmentActivity activity = getActivity(); local
99 Toast.makeText(activity, "Bluetooth is not available", Toast.LENGTH_LONG).show();
100 activity.finish();
133 // onResume() will be called when ACTION_REQUEST_ENABLE activity returns.
247 FragmentActivity activity = getActivity(); local
248 if (null == activity) {
251 final ActionBar actionBar = activity.getActionBar();
264 FragmentActivity activity = getActivity(); local
265 if (null == activity) {
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java 18 import android.app.Activity;
54 import com.android.dialer.activity.TransactionSafeActivity;
212 final Activity activity = getActivity(); local
217 mPhonesAdapter = new PhoneItemAdapter(activity, mPhoneList, mInteractionType);
218 final LayoutInflater inflater = activity.getLayoutInflater();
220 return new AlertDialog.Builder(activity)
230 final Activity activity = getActivity(); local
231 if (activity == null) return
    [all...]
  /external/chromium_org/chrome/browser/performance_monitor/
key_builder.cc 73 RECENT_ACTIVITY // The unique identifier for the activity.
79 MAX_VALUE_ACTIVITY // The unique identifier for the activity.
86 METRIC_ACTIVITY // The unique identifier for the activity.
94 : time(recent_time), type(recent_type), activity(recent_activity) {
103 : time(metric_time), type(metric_type), activity(metric_activity) {
182 const std::string& activity) {
186 kDelimiter, activity.c_str());
198 const std::string& activity) {
202 kDelimiter, activity.c_str());
206 const std::string& activity) {
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestFragmentManager.java 27 private FragmentActivity activity; field in class:TestFragmentManager
31 public TestFragmentManager(FragmentActivity activity) {
32 this.activity = activity;
36 return activity;
149 shadowFragment.setActivity(activity);
151 fragment.onAttach(activity);
158 if (shadowOf(activity).getContentView() != null) {
159 container = (ViewGroup) activity.findViewById(shadowFragment.getContainerViewId());
162 View view = fragment.onCreateView(activity.getLayoutInflater(), container, shadowFragment.getSavedInstanceState())
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
GeneralPreferences.java 19 import android.app.Activity;
147 final Activity activity = getActivity(); local
152 final SharedPreferences sharedPreferences = getSharedPreferences(activity);
161 Vibrator vibrator = (Vibrator) activity.getSystemService(Context.VIBRATOR_SERVICE);
169 String ringToneUri = Utils.getRingTonePreference(activity);
176 String ringtoneDisplayString = getRingtoneTitleFromUri(activity, ringToneUri);
189 mTimeZoneId = Utils.getTimeZone(activity, null);
191 SharedPreferences prefs = CalendarUtils.getSharedPreferences(activity,
216 TimeZonePickerDialog tzpd = (TimeZonePickerDialog) activity.getFragmentManager(
228 final Activity activity = getActivity(); local
306 final Activity activity = getActivity(); local
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/voicemail/
VoicemailPlaybackFragment.java 22 import android.app.Activity;
61 * When the Activity containing this Fragment is created, voicemail playback
62 * will begin immediately. The Activity is expected to be started via an intent
182 * An object that can provide us with an Activity.
184 * Fragments suffer the drawback that the Activity they belong to may sometimes be null. This
192 * things like accessing strings, accessing system services. It only uses the Activity when it
197 /** Gets this Fragment's Activity: <b>may be null</b>. */
198 public final Activity get() {
237 Activity activity = mActivityReference.get() local
245 Activity activity = mActivityReference.get(); local
300 Activity activity = mActivityReference.get(); local
309 Activity activity = mActivityReference.get(); local
439 Activity activity = mActivityReference.get(); local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
OnScreenHint.java 19 import android.app.Activity;
64 * {@link android.app.Activity} object.
66 private OnScreenHint(Activity activity) {
67 mWM = (WindowManager) activity.getSystemService(Context.WINDOW_SERVICE);
68 mY = activity.getResources().getDimensionPixelSize(
103 * {@link android.app.Activity} object.
107 public static OnScreenHint makeText(Activity activity, CharSequence text) {
108 OnScreenHint result = new OnScreenHint(activity);
    [all...]
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/
IntegrationTestUtils.java 23 import android.app.Activity;
58 * Find a view by a given resource id, from the given activity, and click it, iff it is
61 public void clickButton(final Activity activity, final int buttonResourceId) throws Throwable {
65 View view = activity.findViewById(buttonResourceId);
141 public List<TextView> getTextViewsWithString(final Activity activity, final String text)
147 for (TextView textView : getAllViews(TextView.class, getRootView(activity))) {
157 /** Find the root view for a given activity. */
158 public static View getRootView(Activity activity)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
AccountFilterUtil.java 19 import android.app.Activity;
113 * Launches account filter setting Activity using
114 * {@link Activity#startActivityForResult(Intent, int)}.
116 * @param activity
117 * @param requestCode requestCode for {@link Activity#startActivityForResult(Intent, int)}
121 Activity activity, int requestCode, ContactListFilter currentFilter) {
122 final Intent intent = new Intent(activity, AccountFilterActivity.class);
124 activity.startActivityForResult(intent, requestCode);
129 * {@link #startAccountFilterActivityForResult(Activity, int, ContactListFilter)
134 final Activity activity = fragment.getActivity(); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiConfigUiForSetupWizardXL.java 54 * @param activity Activity which creates this object.
61 WifiSettingsForSetupWizardXL activity, ViewGroup parent,
63 mActivity = activity;
64 mConnectButton = (Button)activity.findViewById(R.id.wifi_setup_connect);
65 mCancelButton = (Button)activity.findViewById(R.id.wifi_setup_cancel);
68 mInflater = (LayoutInflater)activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
74 activity.getSystemService(Context.INPUT_METHOD_SERVICE);
  /frameworks/base/core/java/android/app/
ActivityThread.java 139 * broadcasts, and other operations on it as the activity
208 // NOTE: The activity and window managers need to call in to
210 // which means this lock gets held while the activity and window managers
211 // holds their own lock. Thus you MUST NEVER call back into the activity manager
257 final ArrayMap<Activity, ArrayList<OnActivityPausedListener>> mOnPauseListeners
258 = new ArrayMap<Activity, ArrayList<OnActivityPausedListener>>();
274 Activity activity; field in class:ActivityThread.ActivityClientRecord
276 Activity parent;
278 Activity.NonConfigurationInstances lastNonConfigurationInstances
2196 Activity activity = null; local
2490 final Activity activity = r.activity; local
3252 ActivityClientRecord activity; field in class:ActivityThread.StopInfo
3982 Activity activity = (cb instanceof Activity) ? (Activity) cb : null; local
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
AttachShaderTest.java 35 OpenGLES20ActivityOne activity = getActivity(); local
36 assertTrue(activity.waitForFrameDrawn());
37 return activity;

Completed in 598 milliseconds

<<11121314151617181920>>