Searched refs:activity (Results 101 - 125 of 199) sorted by relevance

12345678

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DApplicationTest.java178 Activity activity = new Activity();
182 boolean wasRunning = activity.stopService(intent);
198 Activity activity = new Activity();
202 activity.startService(intent);
204 boolean wasRunning = activity.stopService(intent);
223 Activity activity = new Activity();
224 activity.registerReceiver(new TestBroadcastReceiver(), new IntentFilter("Foo"));
226 shadowOf(Robolectric.application).assertNoBroadcastListenersOfActionRegistered(activity, "Foo");
231 Activity activity = new Activity();
232 activity
[all...]
H A DTestFragment.java36 public void onAttach(Activity activity) { argument
38 onAttachActivity = activity;
H A DTextViewTest.java106 Activity activity = new Activity();
107 activity.setContentView(R.layout.text_views);
109 TextView black = (TextView) activity.findViewById(R.id.black_text_view);
113 TextView white = (TextView) activity.findViewById(R.id.white_text_view);
115 assertThat(shadowOf(white).getTextColorHexValue(), equalTo(activity.getResources().getColor(android.R.color.white)));
117 TextView grey = (TextView) activity.findViewById(R.id.grey_text_view);
119 assertThat(shadowOf(grey).getTextColorHexValue(), equalTo(activity.getResources().getColor(R.color.grey42)));
124 Activity activity = new Activity();
125 activity.setContentView(R.layout.text_views_hints);
127 TextView black = (TextView) activity
[all...]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DFullScreenVideoTestAwContentsClient.java34 public FullScreenVideoTestAwContentsClient(Activity activity) { argument
35 mActivity = activity;
H A DAwZoomTest.java287 Activity activity = getActivity();
288 int orientation = activity.getRequestedOrientation();
289 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
290 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
291 activity.setRequestedOrientation(orientation);
/external/chromium_org/athena/extensions/
H A Dathena_app_delegate_base.cc7 #include "athena/activity/public/activity.h"
8 #include "athena/activity/public/activity_factory.h"
23 // Force all links to open in a new activity.
24 Activity* activity = ActivityFactory::Get()->CreateWebActivity( local
26 Activity::Show(activity);
27 // TODO(oshima): Get the web cotnents from activity.
34 // on an app activity (which usually replaces the content).
/external/chromium_org/build/android/pylib/uiautomator/
H A Dtest_runner.py53 self._activity = constants.PACKAGE_INFO[test_options.package].activity
73 activity=self._activity,
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
H A DAutoLoginDelegate.java25 public AutoLoginDelegate(AutoLoginProcessor autoLoginProcessor, Activity activity) { argument
26 mActivity = activity;
/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
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DCapabilityManager.java78 * to hook into an existing activity's lifecycle.
81 Activity activity, String capability) {
88 listener = ext.onActivityAcceptingListener(activity);
80 onActivityAcceptingListener( Activity activity, String capability) argument
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
H A DAccountManagerDelegate.java29 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler);
50 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler);
28 getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
49 confirmCredentials(Account account, Bundle bundle, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Daudio_buffer.h85 void set_activity(AudioFrame::VADActivity activity);
86 AudioFrame::VADActivity activity() const;
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Doomkiller_profiler.py49 activity=browser_backend.activity),
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DSSLClientCertificateRequest.java232 final Activity activity = window.getActivity().get();
233 if (activity == null) {
234 Log.w(TAG, "Certificate request on GC'd activity.");
259 new KeyChainCertSelectionCallback(activity.getApplicationContext(),
261 KeyChain.choosePrivateKeyAlias(activity, callback, keyTypes, principalsForCallback,
266 final Context appContext = activity.getApplicationContext();
289 selectionDialog.show(activity.getFragmentManager(), null);
/external/chromium_org/athena/content/
H A Dapp_activity_unittest.cc5 #include "athena/activity/public/activity_factory.h"
6 #include "athena/activity/public/activity_manager.h"
31 // A dummy test app activity which works without content / ShellAppWindow.
87 // The title of the activity.
93 // The current state for this activity.
155 TestAppActivity* activity = new TestAppActivity(app_id); local
156 ActivityManager::Get()->AddActivity(activity);
157 return activity;
160 void DeleteActivity(Activity* activity) { argument
161 Activity::Delete(activity);
166 GetActivityPosition(Activity* activity) argument
[all...]
/external/chromium_org/athena/resource_manager/
H A Dresource_manager_unittest.cc5 #include "athena/activity/public/activity.h"
6 #include "athena/activity/public/activity_manager.h"
7 #include "athena/activity/public/activity_view_model.h"
23 // A dummy test app activity which works without content / ShellAppWindow.
71 TestActivity* activity = new TestActivity(title); local
72 ActivityManager::Get()->AddActivity(activity);
73 activity->SetCurrentState(Activity::ACTIVITY_INVISIBLE);
74 activity_list_.push_back(activity);
75 return activity;
78 DeleteActivity(Activity* activity) argument
[all...]
/external/chromium_org/build/android/pylib/monkey/
H A Dtest_runner.py22 self._activity = constants.PACKAGE_INFO[self._options.package].activity
55 intent.Intent(package=self._package, activity=self._activity,
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
H A DDelayedSyncControllerTest.java101 static void sendChromeToBackground(Activity activity) throws InterruptedException { argument
104 activity.startActivity(intent);
/external/chromium_org/chrome/android/shell/javatests/src/org/chromium/chrome/shell/
H A DChromeShellTestBase.java84 final ChromeShellActivity activity = getActivity();
95 ChromeShellTab tab = activity.getActiveTab();
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DInterstitialPageTest.java60 ContentShellActivity activity = launchContentShellWithUrl(URL);
61 assertNotNull(activity);
H A DScreenOrientationListenerTest.java77 final ContentShellActivity activity = launchContentShellWithUrl(DEFAULT_URL);
83 ScreenOrientationListener.getInstance().addObserver(mObserver, activity);
/external/deqp/framework/platform/android/
H A DtcuAndroidRenderActivity.hpp123 RenderThread (NativeActivity& activity);
166 RenderActivity (ANativeActivity* activity);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDialogFragment.java42 realDialogFragment.onAttach(activity);
45 view = realDialogFragment.onCreateView(ShadowLayoutInflater.from(activity), null, null);
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/
H A DAndroid.mk19 LOCAL_MODULE := apmtest-activity
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
H A DOAuth2TokenService.java153 * @param activity the current activity. May be null.
158 public static void getOAuth2AccessToken(Context context, @Nullable Activity activity, argument
163 activity, account, oauth2Scope, callback);
172 * @param activity the current activity. May be null.
179 Context context, @Nullable Activity activity, Account account, String scope,
185 context, activity, account, scope,
178 getOAuth2AccessTokenWithTimeout( Context context, @Nullable Activity activity, Account account, String scope, long timeout, TimeUnit unit) argument

Completed in 528 milliseconds

12345678