/external/deqp/framework/platform/android/ |
H A D | tcuAndroidMain.cpp | 21 * \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());
|
H A D | tcuAndroidTestActivity.cpp | 21 * \brief Android test activity. 41 TestThread::TestThread (NativeActivity& activity, const CommandLine& cmdLine) argument 42 : RenderThread (activity) 44 , m_platform (activity) 45 , m_archive (activity.getNativeActivity()->assetManager) 87 TestActivity::TestActivity (ANativeActivity* activity) argument 88 : RenderActivity (activity) 89 , m_cmdLine (getIntentStringExtra(activity, "cmdLine")) 97 ANativeActivity_setWindowFlags(activity, AWINDOW_FLAG_KEEP_SCREEN_ON |
|
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ |
H A D | AbstractActivityComponent.java | 29 Activity activity(); // Expose the activity to sub-graphs. method in interface:AbstractActivityComponent
|
H A D | ActivityModule.java | 27 private final Activity activity; field in class:ActivityModule 29 public ActivityModule(Activity activity) { argument 30 this.activity = activity; 34 * Expose the activity to dependents in the graph. 36 @Provides @PerActivity Activity activity() { method in class:ActivityModule 37 return activity;
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
H A D | Preferences.java | 17 package com.googlecode.android_scripting.activity;
|
H A D | CustomizeWindow.java | 17 package com.googlecode.android_scripting.activity; 30 public static void requestCustomTitle(Activity activity, String title, int contentViewLayoutResId) { argument 32 //activity.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); 33 //activity.setContentView(contentViewLayoutResId); 34 //activity.getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title); 35 //((TextView) activity.findViewById(R.id.left_text)).setText(title); 36 //((TextView) activity.findViewById(R.id.right_text)).setText("SL4A r" 37 // + Version.getVersion(activity)); 40 public static void toggleProgressBarVisibility(Activity activity, boolean on) { argument 41 ((ProgressBar) activity [all...] |
H A D | ScriptingLayerServiceLauncher.java | 17 package com.googlecode.android_scripting.activity;
|
H A D | ServiceUtils.java | 17 package com.googlecode.android_scripting.activity;
|
H A D | ScriptsLiveFolder.java | 17 package com.googlecode.android_scripting.activity;
|
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/ |
H A D | ActivityTitleController.java | 23 * A simple abstraction which provides the ability to set the title on an activity. 25 * Fragments should not directly modify any part of an activity outside of the view or dialog that 27 * control of the activity title. While not exceedingly useful in practice, this concept could be 32 private final Activity activity; field in class:ActivityTitleController 34 @Inject public ActivityTitleController(Activity activity) { argument 35 this.activity = activity; 39 activity.setTitle(title);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowActivityGroup.java | 20 * @param activity 22 public void setCurrentActivity(Activity activity) { argument 23 currentActivity = activity;
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
H A D | android_browser_backend_settings.py | 11 def __init__(self, activity, cmdline_file, package, pseudo_exec_name, 13 self._activity = activity 20 def activity(self): member in class:AndroidBrowserBackendSettings 54 activity='com.google.android.apps.chrome.Main', 67 activity='org.chromium.content_shell_apk.ContentShellActivity', 80 activity='org.chromium.webview_shell.TelemetryActivity', 83 activity=activity, 90 # The DevTools socket name for WebView depends on the activity PID's. 102 'activity [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/matchers/ |
H A D | StartedMatcherTest.java | 24 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/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | PreferenceActivityTest.java | 24 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 D | ViewInnerTextTest.java | 18 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);
|
H A D | SettingsTest.java | 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(); 45 contentResolver = activity.getContentResolver();
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/ |
H A D | DurationPickerDialog.java | 38 public static void getDurationFromDialog(Activity activity, String title, argument 40 final DurationPicker picker = new DurationPicker(activity); 41 AlertDialog.Builder alert = new AlertDialog.Builder(activity);
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
H A D | UnhandledExceptionHandler.java | 35 private final Activity activity; field in class:UnhandledExceptionHandler 37 public UnhandledExceptionHandler(final Activity activity) { argument 38 this.activity = activity; 42 activity.runOnUiThread(new Runnable() { 46 TextView errorView = new TextView(activity); 49 ScrollView scrollingContainer = new ScrollView(activity); 61 new AlertDialog.Builder(activity);
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
H A D | standalone_vad_unittest.cc | 39 // Ask for activity when buffer is empty. 91 int activity = vad->GetActivity(p, kNumVadFramesToProcess); local 92 EXPECT_EQ(referece_activity, activity); 93 if (activity != 0) {
|
H A D | standalone_vad.cc | 69 int activity = WebRtcVad_Process(vad_, kSampleRateHz, buffer_, index_); local 70 if (activity < 0) 72 else if (activity == 0) 80 return activity;
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | DecodeThread.java | 39 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-trace/catapult/devil/devil/android/sdk/ |
H A D | intent.py | 29 def __init__(self, action='android.intent.action.VIEW', activity=None, 36 activity: A string that, with |package|, can be used to specify the 44 package: A string that, with activity, can be used to specify the 48 self._activity = activity 62 self._component = '%s/%s' % (package, activity) 69 def activity(self): member in class:Intent 98 """Returns the intent as a list of arguments for the activity manager.
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
H A D | MemoryPressureListener.java | 73 public static boolean handleDebugIntent(Activity activity, String action) { argument 75 simulateLowMemoryPressureSignal(activity); 77 simulateTrimMemoryPressureSignal(activity, ComponentCallbacks2.TRIM_MEMORY_COMPLETE); 79 simulateTrimMemoryPressureSignal(activity, 82 simulateTrimMemoryPressureSignal(activity, ComponentCallbacks2.TRIM_MEMORY_MODERATE); 101 private static void simulateLowMemoryPressureSignal(Activity activity) { argument 105 activity.getApplication().onLowMemory(); 106 activity.onLowMemory(); 109 private static void simulateTrimMemoryPressureSignal(Activity activity, int level) { argument 113 activity [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
H A D | intent.py | 29 def __init__(self, action='android.intent.action.VIEW', activity=None, 36 activity: A string that, with |package|, can be used to specify the 44 package: A string that, with activity, can be used to specify the 48 self._activity = activity 62 self._component = '%s/%s' % (package, activity) 69 def activity(self): member in class:Intent 98 """Returns the intent as a list of arguments for the activity manager.
|
/external/vulkan-validation-layers/common/ |
H A D | android_util.cpp | 33 JavaVM &vm = *app->activity->vm; 39 jobject activity = app->activity->clazz; local 40 jmethodID get_intent_method = env.GetMethodID(env.GetObjectClass(activity), 42 jobject intent = env.CallObjectMethod(activity, get_intent_method);
|