Searched defs:activity (Results 1 - 25 of 113) sorted by relevance

12345

/external/chromium_org/chrome/browser/ui/views/athena/
H A Dathena_util.cc7 #include "athena/activity/public/activity.h"
8 #include "athena/activity/public/activity_manager.h"
19 athena::Activity* activity = local
21 return activity->GetWebContents();
/external/chromium_org/athena/activity/
H A Dactivity.cc5 #include "athena/activity/public/activity.h"
7 #include "athena/activity/public/activity_manager.h"
13 void Activity::Show(Activity* activity) { argument
15 views::Widget::GetWidgetForNativeWindow(activity->GetWindow());
21 void Activity::Delete(Activity* activity) { argument
22 ActivityManager::Get()->RemoveActivity(activity);
23 delete activity;
/external/deqp/framework/platform/android/
H A DtcuAndroidMain.cpp21 * \brief Android activity constructors.
37 void createTestActivity (ANativeActivity* activity, void* savedState, size_t savedStateSize) argument
42 tcu::Android::TestActivity* obj = new tcu::Android::TestActivity(activity);
47 tcu::die("Failed to create activity: %s", e.what());
/external/chromium_org/athena/main/
H A Dplaceholder.cc7 #include "athena/activity/public/activity.h"
8 #include "athena/activity/public/activity_factory.h"
21 athena::Activity* activity = factory->CreateWebActivity( local
23 athena::Activity::Show(activity);
/external/chromium_org/build/android/pylib/device/
H A Dintent.py13 def __init__(self, action='android.intent.action.VIEW', activity=None,
20 activity: A string that, with |package|, can be used to specify the
28 package: A string that, with activity, can be used to specify the
32 self._activity = activity
46 self._component = '%s/%s' % (package, activity)
53 def activity(self): member in class:Intent
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/
H A DExternalFeedbackReporter.java16 * @param activity the activity to take a screenshot of.
20 void reportFeedback(Activity activity, String url, boolean good); argument
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DClientExtension.java25 * Called when an activity offers to accept an ActivityListener for its lifecycle events.
27 * changes in its state and modify its behavior. Returns the extension's activity listener,
30 public ActivityLifecycleListener onActivityAcceptingListener(Activity activity); argument
H A DDummyClientExtension.java25 public ActivityLifecycleListener onActivityAcceptingListener(Activity activity) { argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowActivityGroup.java20 * @param activity
22 public void setCurrentActivity(Activity activity) { argument
23 currentActivity = activity;
/external/chromium_org/athena/content/
H A Dcontent_activity_factory.cc7 #include "athena/activity/public/activity_manager.h"
23 Activity* activity = new WebActivity(browser_context, title, url); local
24 ActivityManager::Get()->AddActivity(activity);
25 return activity;
31 Activity* activity = new AppActivity(app_window, web_view); local
32 ActivityManager::Get()->AddActivity(activity);
33 return activity;
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DBaseChromiumApplication.java21 * Called when the window focus changes for {@code activity}.
22 * @param activity The {@link Activity} that has a window focus changed event.
23 * @param hasFocus Whether or not {@code activity} gained or lost focus.
25 public void onWindowFocusChanged(Activity activity, boolean hasFocus); argument
38 public void onActivityCreated(final Activity activity, Bundle savedInstanceState) {
39 Window.Callback callback = activity.getWindow().getCallback();
40 activity.getWindow().setCallback(new WindowCallbackWrapper(callback) {
46 listener.onWindowFocusChanged(activity, hasFocus);
53 public void onActivityDestroyed(Activity activity) {
54 assert activity
[all...]
H A DMemoryPressureListener.java69 public static boolean handleDebugIntent(Activity activity, String action) { argument
71 simulateLowMemoryPressureSignal(activity);
73 simulateTrimMemoryPressureSignal(activity, ComponentCallbacks2.TRIM_MEMORY_COMPLETE);
75 simulateTrimMemoryPressureSignal(activity, ComponentCallbacks2.TRIM_MEMORY_MODERATE);
77 simulateTrimMemoryPressureSignal(activity,
97 private static void simulateLowMemoryPressureSignal(Activity activity) { argument
101 activity.getApplication().onLowMemory();
102 activity.onLowMemory();
105 private static void simulateTrimMemoryPressureSignal(Activity activity, int level) { argument
109 activity
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DActivityContentVideoViewClient.java23 public ActivityContentVideoViewClient(Activity activity) { argument
24 this.mActivity = activity;
55 * @param view The decor view belongs to the activity window
H A DScreenOrientationProvider.java28 Activity activity) {
47 DeviceDisplayInfo displayInfo = DeviceDisplayInfo.create(activity);
71 public static void lockOrientation(byte webScreenOrientation, Activity activity) { argument
72 if (activity == null) return;
74 int orientation = getOrientationFromWebScreenOrientations(webScreenOrientation, activity);
79 activity.setRequestedOrientation(orientation);
84 Activity activity = ApplicationStatus.getLastTrackedFocusedActivity();
85 if (activity == null) {
93 int orientation = activity.getIntent().getIntExtra(
97 (byte) orientation, activity);
27 getOrientationFromWebScreenOrientations(byte orientation, Activity activity) argument
[all...]
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
H A DUiUtils.java27 * @param activity The activity on which the runnable must run.
30 public static void runOnUiThread(Activity activity, final Runnable runnable) { argument
32 activity.runOnUiThread(new Runnable() {
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
H A DUnhandledExceptionHandler.java52 private final Activity activity; field in class:UnhandledExceptionHandler
54 public UnhandledExceptionHandler(final Activity activity) { argument
55 this.activity = activity;
59 activity.runOnUiThread(new Runnable() {
63 TextView errorView = new TextView(activity);
66 ScrollView scrollingContainer = new ScrollView(activity);
78 new AlertDialog.Builder(activity);
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
H A DAudioMenuFragment.java139 public void onAttach(Activity activity) { argument
140 super.onAttach(activity);
142 // This makes sure that the container activity has implemented
145 stateProvider = (MenuStateProvider) activity;
147 throw new ClassCastException(activity +
H A DVideoMenuFragment.java119 public void onAttach(Activity activity) { argument
120 super.onAttach(activity);
122 // This makes sure that the container activity has implemented
125 stateProvider = (MenuStateProvider) activity;
127 throw new ClassCastException(activity +
/external/glide/library/src/main/java/com/bumptech/glide/manager/
H A DRequestManagerRetriever.java32 public static RequestManager get(FragmentActivity activity) { argument
33 if (Build.VERSION.SDK_INT >= 11 && activity.isDestroyed()) {
34 throw new IllegalArgumentException("You cannot start a load for a destroyed activity");
36 FragmentManager fm = activity.getSupportFragmentManager();
37 return supportFragmentGet(activity, fm);
52 public static RequestManager get(Activity activity) { argument
53 if (Build.VERSION.SDK_INT >= 17 && activity.isDestroyed()) {
54 throw new IllegalArgumentException("You cannot start a load for a destroyed activity");
56 android.app.FragmentManager fm = activity.getFragmentManager();
57 return fragmentGet(activity, f
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/matchers/
H A DStartedMatcherTest.java24 private Activity activity; field in class:StartedMatcherTest
32 activity = new Activity();
39 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class) + ", but didn't start anything"));
42 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class, "view") + ", but didn't start anything"));
45 givesFailureMessage((Context) activity, "to start " + intentWithExtra + ", but didn't start anything"));
52 activity.startActivity(actualIntent);
54 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class) + ", but started " + actualIntent));
56 activity.startActivity(actualIntent);
58 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class, "view") + ", but started " + actualIntent));
60 activity
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DPreferenceActivityTest.java24 private TestPreferenceActivity activity; field in class:PreferenceActivityTest
29 activity = new TestPreferenceActivity();
30 shadow = Robolectric.shadowOf(activity);
36 assertThat( activity.getListView(), notNullValue() );
46 assertThat(activity.getPreferenceScreen(), nullValue());
52 activity.addPreferencesFromResource(R.xml.preferences);
58 activity.addPreferencesFromResource(R.xml.preferences);
59 assertThat( activity.getPreferenceScreen().getPreferenceCount(), equalTo(6));
H A DViewInnerTextTest.java18 private Context activity; field in class:ViewInnerTextTest
22 activity = new Activity();
27 LinearLayout top = new LinearLayout(activity);
29 top.addView(new View(activity));
32 LinearLayout innerLayout = new LinearLayout(activity);
48 LinearLayout top = new LinearLayout(activity);
58 LinearLayout top = new LinearLayout(activity);
71 TextView textView = new TextView(activity);
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DDecodeThread.java39 private final CaptureActivity activity; field in class:DecodeThread
44 DecodeThread(CaptureActivity activity, argument
48 this.activity = activity;
74 handler = new DecodeHandler(activity, hints);
/external/chromium_org/athena/test/
H A Dsample_activity_factory.cc9 #include "athena/activity/public/activity_manager.h"
35 Activity* activity = new SampleActivity( local
37 ActivityManager::Get()->AddActivity(activity);
38 return activity;
45 Activity* activity = new SampleActivity( local
47 ActivityManager::Get()->AddActivity(activity);
48 return activity;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
H A DAndroidProfileOAuth2TokenServiceHelper.java29 public static void getOAuth2AccessToken(Context context, @Nullable Activity activity, argument
31 OAuth2TokenService.getOAuth2AccessToken(context, activity, account, scope, callback);
47 @Nullable Activity activity, Account account, String scope,
50 context, activity, account, scope, timeout, unit);
46 getOAuth2AccessTokenWithTimeout(Context context, @Nullable Activity activity, Account account, String scope, long timeout, TimeUnit unit) argument

Completed in 2659 milliseconds

12345