OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Activity
(Results
401 - 425
of
3489
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/cts/tests/app/app/src/android/app/stubs/
OrientationTestUtils.java
19
import android.app.
Activity
;
26
* Change the
activity
's orientation to something different and then switch back. This is used
27
* to trigger {@link
Activity
#onConfigurationChanged(android.content.res.Configuration)}.
29
* @param
activity
whose orientation will be changed and restored
31
public static void toggleOrientation(
Activity
activity
) {
32
toggleOrientationSync(
activity
, null);
36
* Same as {@link #toggleOrientation(
Activity
)} except {@link Instrumentation#waitForIdleSync()}
39
* @param
activity
whose orientation will be changed and restored
42
public static void toggleOrientationSync(final
Activity
activity
[
all
...]
LocalActivityManagerStubActivity.java
19
import android.app.
Activity
;
22
public class LocalActivityManagerStubActivity extends
Activity
{
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
Injector.java
19
import android.app.
Activity
;
27
* Usage is very simple. In your
Activity
, define some fields as follows:
38
* Then, inside your
Activity
's onCreate() method, perform the injection like this:
50
private final
Activity
mActivity;
52
private Injector(
Activity
activity
) {
53
mActivity =
activity
;
57
* Gets an {@link Injector} capable of injecting fields for the given
Activity
.
59
public static Injector get(
Activity
activity
) {
[
all
...]
/external/webrtc/webrtc/common_audio/vad/mock/
mock_vad.h
26
enum
Activity
(const int16_t* audio,
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/src/com/android/framework/externallocallpermstestapp/
ExternalLocAllPermsTest.java
18
import android.app.
Activity
;
/frameworks/base/test-runner/src/android/test/
ActivityTestCase.java
19
import android.app.
Activity
;
25
* This is common code used to support
Activity
test cases. For more useful classes, please see
36
* The
activity
that will be set up for use in each test method.
38
private
Activity
mActivity;
41
* @return Returns the
activity
under test.
43
protected
Activity
getActivity() {
48
* Set the
activity
under test.
49
* @param testActivity The
activity
under test
51
protected void setActivity(
Activity
testActivity) {
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
ACTIVITY.java.template
19
import android.app.
Activity
;
22
// Renderscript
activity
23
public class %
ACTIVITY
% extends
Activity
{
32
// Create our view and set it as the content of our
Activity
44
// to take appropriate action when the
activity
loses focus
52
// to take appropriate action when the
activity
loses focus
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple/
ACTIVITY.java.template
19
import android.app.
Activity
;
22
// Renderscript
activity
23
public class %
ACTIVITY
% extends
Activity
{
32
// Create our view and set it as the content of our
Activity
40
// to take appropriate action when the
activity
loses focus
48
// to take appropriate action when the
activity
loses focus
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple-exit/
ACTIVITY.java.template
19
import android.app.
Activity
;
22
// Renderscript
activity
23
public class %
ACTIVITY
% extends
Activity
{
32
// Create our view and set it as the content of our
Activity
44
// to take appropriate action when the
activity
loses focus
52
// to take appropriate action when the
activity
loses focus
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
ResultCodes.java
19
import static android.app.
Activity
.RESULT_FIRST_USER;
/frameworks/support/v4/jellybean/android/support/v4/app/
ActivityCompatJB.java
19
import android.app.
Activity
;
30
public static void startActivityForResult(
Activity
activity
, Intent intent, int requestCode, Bundle options) {
31
activity
.startActivityForResult(intent, requestCode, options);
34
public static void startIntentSenderForResult(
Activity
activity
, IntentSender intent,
37
activity
.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask,
41
public static void finishAffinity(
Activity
activity
) {
42
activity
.finishAffinity()
[
all
...]
/cts/hostsidetests/abioverride/app/src/android/abioverride/app/
AbiOverrideActivity.java
19
import android.app.
Activity
;
25
* A simple
activity
for testing abioverride manifest flag.
27
public class AbiOverrideActivity extends
Activity
{
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
BaseActivity.java
19
import android.app.
Activity
;
23
public class BaseActivity extends
Activity
{
24
/** Called when the
activity
is first created. */
/cts/hostsidetests/cpptools/app/src/android/cpptools/app/
CppToolsDeviceActivity.java
19
import android.app.
Activity
;
26
* A simple
activity
which logs to Logcat.
28
public class CppToolsDeviceActivity extends
Activity
{
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
TestActivity.java
18
import android.app.
Activity
;
25
* A simple
activity
to install and launch for various users to
28
public class TestActivity extends
Activity
{
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
ManagedProfileActivity.java
18
import android.app.
Activity
;
23
*
Activity
that lives in the managed profile.
25
public class ManagedProfileActivity extends
Activity
{
34
Log.i(TAG, "Managed profile
activity
started!");
PrimaryUserActivity.java
19
import android.app.
Activity
;
24
*
Activity
for that lives in the primary user.
26
public class PrimaryUserActivity extends
Activity
{
35
Log.i(TAG, "Primary user
activity
started!");
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
NonExportedActivity.java
19
import android.app.
Activity
;
26
* A simple
activity
that isn't exported, shouldn't be launchable
29
public class NonExportedActivity extends
Activity
{
NonLauncherActivity.java
19
import android.app.
Activity
;
26
* A simple
activity
that isn't main / category launcher, shouldn't be launchable
29
public class NonLauncherActivity extends
Activity
{
/cts/hostsidetests/devicepolicy/app/SimplePreMApp/src/com/android/cts/launcherapps/simplepremapp/
SimpleActivity.java
19
import android.app.
Activity
;
27
* A simple
activity
to install for various users to test LauncherApps.
29
public class SimpleActivity extends
Activity
{
/cts/hostsidetests/sample/app/src/android/sample/app/
SampleDeviceActivity.java
19
import android.app.
Activity
;
26
* A simple
activity
which logs to Logcat.
28
public class SampleDeviceActivity extends
Activity
{
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/
TurnScreenOnActivity.java
19
import android.app.
Activity
;
23
public class TurnScreenOnActivity extends
Activity
{
/cts/hostsidetests/services/activitymanager/appDisplaySize/src/android/displaysize/app/
SmallestWidthActivity.java
19
import android.app.
Activity
;
24
public class SmallestWidthActivity extends
Activity
{
/cts/hostsidetests/sustainedperf/app/src/android/test/app/
DeviceTestActivity.java
19
import android.app.
Activity
;
26
public class DeviceTestActivity extends
Activity
{
/cts/libs/wrappedgtest/src/
WrappedGTestActivity.java
19
import android.app.
Activity
;
23
public class WrappedGTestActivity extends
Activity
{
41
protected static native int runTests(WrappedGTestActivity
activity
);
Completed in 505 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>