| /third_party/vk-gl-cts/framework/platform/android/ |
| D | tcuAndroidNativeActivity.cpp | 21 * \brief Android Native Activity. 29 static void onStartCallback (ANativeActivity* activity) in onStartCallback() argument 31 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStart(); in onStartCallback() 34 static void onResumeCallback (ANativeActivity* activity) in onResumeCallback() argument 36 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onResume(); in onResumeCallback() 39 static void* onSaveInstanceStateCallback (ANativeActivity* activity, size_t* outSize) in onSaveInstanceStateCallback() argument 41 …return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onSaveInstanceState(outSize… in onSaveInstanceStateCallback() 44 static void onPauseCallback (ANativeActivity* activity) in onPauseCallback() argument 46 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onPause(); in onPauseCallback() 49 static void onStopCallback (ANativeActivity* activity) in onStopCallback() argument [all …]
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ |
| D | ActivityControlSurface.java | 5 package io.flutter.embedding.engine.plugins.activity; 7 import android.app.Activity; 16 * Control surface through which an {@link Activity} attaches to a {@link FlutterEngine}. 18 * An {@link Activity} that contains a {@link FlutterView} and associated {@link FlutterEngine} 21 * <li>Once an {@link Activity} is created, and its associated {@link FlutterEngine} is 22 * executing Dart code, the {@link Activity} should invoke 23 * {@link #attachToActivity(Activity, Lifecycle)}. At this point the {@link FlutterEngine} 24 * is considered "attached" to the {@link Activity} and all {@link ActivityAware} plugins 25 * are given access to the {@link Activity}.</li> 26 * <li>Just before an attached {@link Activity} is destroyed for configuration change purposes, [all …]
|
| D | ActivityAware.java | 5 package io.flutter.embedding.engine.plugins.activity; 10 * {@link FlutterPlugin} that is interested in {@link Activity} lifecycle events related to a 11 * {@link FlutterEngine} running within the given {@link Activity}. 15 * This {@code ActivityAware} {@link FlutterPlugin} is now associated with an {@link Activity}. 20 * that was already connected to a running {@link Activity}.</li> 23 * {@link Activity}.</li> 25 * The given {@link ActivityPluginBinding} contains {@link Activity}-related references that an 27 * {@link Activity} in question. The {@link ActivityPluginBinding} may be referenced until either 36 * The {@link Activity} that was attached and made available in 41 * By the end of this method, the {@link Activity} that was made available in [all …]
|
| D | ActivityPluginBinding.java | 5 package io.flutter.embedding.engine.plugins.activity; 7 import android.app.Activity; 14 * Binding that gives {@link ActivityAware} plugins access to an associated {@link Activity} and 15 * the {@link Activity}'s lifecycle methods. 20 * Returns the {@link Activity} that is currently attached to the {@link FlutterEngine} that 24 Activity getActivity(); in getActivity() 27 * Adds a listener that is invoked whenever the associated {@link Activity}'s 38 * Adds a listener that is invoked whenever the associated {@link Activity}'s 49 * Adds a listener that is invoked whenever the associated {@link Activity}'s 60 * Adds a listener that is invoked whenever the associated {@link Activity}'s
|
| /third_party/flutter/skia/third_party/externals/angle2/util/android/third_party/ |
| D | android_native_app_glue.c | 135 android_app->activity->assetManager); in android_app_pre_exec_cmd() 212 AConfiguration_fromAssetManager(android_app->config, android_app->activity->assetManager); in android_app_entry() 240 // Native activity interaction (called from main thread) 243 static struct android_app* android_app_create(ANativeActivity* activity, in android_app_create() argument 247 android_app->activity = activity; in android_app_create() 336 static void onDestroy(ANativeActivity* activity) { in onDestroy() argument 337 LOGV("Destroy: %p\n", activity); in onDestroy() 338 android_app_free((struct android_app*)activity->instance); in onDestroy() 341 static void onStart(ANativeActivity* activity) { in onStart() argument 342 LOGV("Start: %p\n", activity); in onStart() [all …]
|
| /third_party/skia/third_party/externals/angle2/util/android/third_party/ |
| D | android_native_app_glue.c | 135 android_app->activity->assetManager); in android_app_pre_exec_cmd() 212 AConfiguration_fromAssetManager(android_app->config, android_app->activity->assetManager); in android_app_entry() 240 // Native activity interaction (called from main thread) 243 static struct android_app* android_app_create(ANativeActivity* activity, in android_app_create() argument 247 android_app->activity = activity; in android_app_create() 336 static void onDestroy(ANativeActivity* activity) { in onDestroy() argument 337 LOGV("Destroy: %p\n", activity); in onDestroy() 338 android_app_free((struct android_app*)activity->instance); in onDestroy() 341 static void onStart(ANativeActivity* activity) { in onStart() argument 342 LOGV("Start: %p\n", activity); in onStart() [all …]
|
| /third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
| D | SnackbarHelper.java | 19 import android.app.Activity; 43 public void showMessage(Activity activity, String message) { in showMessage() argument 44 show(activity, message, DismissBehavior.HIDE); in showMessage() 50 public void showMessageWithDismiss(Activity activity, String message) { in showMessageWithDismiss() argument 51 show(activity, message, DismissBehavior.SHOW); in showMessageWithDismiss() 55 * Shows a snackbar with a given error message. When dismissed, will finish the activity. Useful 56 * for notifying errors, where no further interaction with the activity is possible. 58 public void showError(Activity activity, String errorMessage) { in showError() argument 59 show(activity, errorMessage, DismissBehavior.FINISH); in showError() 66 public void hide(Activity activity) { in hide() argument [all …]
|
| D | CameraPermissionHelper.java | 20 import android.app.Activity; 38 public static boolean hasCameraPermission(Activity activity) { in hasCameraPermission() argument 39 return ContextCompat.checkSelfPermission(activity, CAMERA_PERMISSION) in hasCameraPermission() 46 public static void requestCameraPermission(Activity activity) { in requestCameraPermission() argument 48 activity, new String[]{CAMERA_PERMISSION}, CAMERA_PERMISSION_CODE); in requestCameraPermission() 54 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale() argument 55 return ActivityCompat.shouldShowRequestPermissionRationale(activity, CAMERA_PERMISSION); in shouldShowRequestPermissionRationale() 61 public static void launchPermissionSettings(Activity activity) { in launchPermissionSettings() argument 64 intent.setData(Uri.fromParts("package", activity.getPackageName(), null)); in launchPermissionSettings() 65 activity.startActivity(intent); in launchPermissionSettings()
|
| D | FullScreenHelper.java | 19 import android.app.Activity; 29 * Activity#onWindowFocusChanged(boolean hasFocus)}. 31 * @param activity the Activity on which the full screen mode will be set. 32 … * @param hasFocus the hasFocus flag passed from the {@link Activity#onWindowFocusChanged(boolean 35 public static void setFullScreenOnWindowFocusChanged(Activity activity, boolean hasFocus) { in setFullScreenOnWindowFocusChanged() argument 38 activity in setFullScreenOnWindowFocusChanged() 48 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setFullScreenOnWindowFocusChanged()
|
| /third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/ |
| D | AndroidManifest.xml | 29 <activity 39 </activity> 41 <activity 45 </activity> 47 <activity 51 </activity> 53 <activity 57 </activity> 59 <activity 63 </activity> [all …]
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/app/ |
| D | FlutterActivityEvents.java | 14 * A collection of Android {@code Activity} methods that are relevant to the 17 * <p>Application authors that use an activity other than 18 * {@link FlutterActivity} should forward all events herein from their activity 20 * activity up to the Flutter framework. This forwarding is already provided in 28 * @see android.app.Activity#onCreate(android.os.Bundle) 33 * @see android.app.Activity#onNewIntent(Intent) 38 * @see android.app.Activity#onPause() 43 * @see android.app.Activity#onStart() 48 * @see android.app.Activity#onResume() 53 * @see android.app.Activity#onPostResume() [all …]
|
| D | FlutterActivityDelegate.java | 9 import android.app.Activity; 41 * Class that performs the actual work of tying Android {@link Activity} 51 * <p>To wire this class up to your activity, simply forward the events defined 52 * in {@link FlutterActivityEvents} from your activity to an instance of this 53 * class. Optionally, you can make your activity implement 87 * when this activity is destroyed. 92 private final Activity activity; field in FlutterActivityDelegate 97 public FlutterActivityDelegate(Activity activity, ViewFactory viewFactory) { in FlutterActivityDelegate() argument 98 this.activity = Preconditions.checkNotNull(activity); in FlutterActivityDelegate() 138 Window window = activity.getWindow(); in onCreate() [all …]
|
| /third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/ |
| D | CameraPermissionHelper.java | 18 import android.app.Activity; 36 public static boolean hasCameraPermission(Activity activity) { in hasCameraPermission() argument 37 return ContextCompat.checkSelfPermission(activity, CAMERA_PERMISSION) in hasCameraPermission() 44 public static void requestCameraPermission(Activity activity) { in requestCameraPermission() argument 46 activity, new String[]{CAMERA_PERMISSION}, CAMERA_PERMISSION_CODE); in requestCameraPermission() 52 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale() argument 53 return ActivityCompat.shouldShowRequestPermissionRationale(activity, CAMERA_PERMISSION); in shouldShowRequestPermissionRationale() 59 public static void launchPermissionSettings(Activity activity) { in launchPermissionSettings() argument 62 intent.setData(Uri.fromParts("package", activity.getPackageName(), null)); in launchPermissionSettings() 63 activity.startActivity(intent); in launchPermissionSettings()
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/ |
| D | FlutterActivityAndFragmentDelegate.java | 7 import android.app.Activity; 40 * One might ask why an {@code Activity} and {@code Fragment} delegate needs to exist. Given 41 * that a {@code Fragment} can be placed within an {@code Activity}, it would make more sense 46 * must provide a {@link FlutterActivity} based on the AOSP {@code Activity}, and an independent 98 * Disconnects this {@code FlutterActivityAndFragmentDelegate} from its host {@code Activity} 115 * Returns the {@link FlutterEngine} that is owned by this delegate and its host {@code Activity} 124 … * Invoke this method from {@code Activity#onCreate(Bundle)} or {@code Fragment#onAttach(Context)}. 132 * <li>Attaches the {@link FlutterEngine} to the surrounding {@code Activity}, if desired.</li> 149 // is bound to a specific Activity. Therefore, it needs to be created and configured in onAttach() 150 // every time this Fragment attaches to a new Activity. in onAttach() [all …]
|
| D | FlutterFragment.java | 7 import android.app.Activity; 31 * Using a {@code FlutterFragment} requires forwarding a number of calls from an {@code Activity} to 41 * Additionally, when starting an {@code Activity} for a result from this {@code Fragment}, be sure 43 * {@link android.app.Activity#startActivityForResult(Intent, int)}. If the {@code Activity} version 60 * <li>When {@code FlutterFragment} is in the first {@code Activity} displayed by the app, because 80 * {@code Activity}, as well as forwarding lifecycle calls from an {@code Activity} or a 292 * {@code Activity} as a control surface for its {@link FlutterEngine}. 297 * surrounding {@code Activity}, along with any plugins that are registered with that 298 * {@link FlutterEngine}. This allows plugins to access the {@code Activity}, as well as 299 … * receive {@code Activity}-specific calls, e.g., {@link android.app.Activity#onNewIntent(Intent)}. [all …]
|
| /third_party/vk-gl-cts/external/openglcts/modules/runner/ |
| D | glcAndroidTestActivity.cpp | 22 * \brief CTS Android Activity. 45 static std::string getWaiverPath(ANativeActivity* activity) in getWaiverPath() argument 47 return tcu::Android::getIntentStringExtra(activity, "waivers"); in getWaiverPath() 50 static std::string getLogPath(ANativeActivity* activity) in getLogPath() argument 52 std::string path = tcu::Android::getIntentStringExtra(activity, "logdir"); in getLogPath() 56 static deUint32 getFlags(ANativeActivity* activity) in getFlags() argument 59 if (tcu::Android::getIntentStringExtra(activity, "verbose") == "true") in getFlags() 61 else if (tcu::Android::getIntentStringExtra(activity, "summary") == "true") in getFlags() 66 TestThread::TestThread(NativeActivity& activity, tcu::Android::AssetArchive& archive, const std::st… in TestThread() argument 68 : RenderThread(activity) in TestThread() [all …]
|
| D | glcAndroidMain.cpp | 33 static void createCTSActivity(ANativeActivity* activity, void* savedState, size_t savedStateSize, g… in createCTSActivity() argument 38 glcts::Android::TestActivity* obj = new glcts::Android::TestActivity(activity, type); in createCTSActivity() 43 tcu::die("Failed to create activity: %s", e.what()); in createCTSActivity() 49 JNIEXPORT void JNICALL createES2CTSActivity(ANativeActivity* activity, void* savedState, size_t sav… in createES2CTSActivity() argument 51 createCTSActivity(activity, savedState, savedStateSize, glu::ApiType::es(2, 0)); in createES2CTSActivity() 54 JNIEXPORT void JNICALL createES3CTSActivity(ANativeActivity* activity, void* savedState, size_t sav… in createES3CTSActivity() argument 56 createCTSActivity(activity, savedState, savedStateSize, glu::ApiType::es(3, 0)); in createES3CTSActivity() 59 JNIEXPORT void JNICALL createES31CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createES31CTSActivity() argument 61 createCTSActivity(activity, savedState, savedStateSize, glu::ApiType::es(3, 1)); in createES31CTSActivity() 64 JNIEXPORT void JNICALL createES32CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createES32CTSActivity() argument [all …]
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/ |
| D | FlutterEnginePluginRegistry.java | 7 import android.app.Activity; 25 import io.flutter.embedding.engine.plugins.activity.ActivityAware; 26 import io.flutter.embedding.engine.plugins.activity.ActivityControlSurface; 27 import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding; 60 private Activity activity; field in FlutterEnginePluginRegistry 104 …// Detach from any Android component that we may currently be attached to, e.g., Activity, Service, in destroy() 127 // plugins, and if this engine is currently attached to an Activity, in add() 128 // notify the ActivityAware plugin that it is now attached to an Activity. in add() 198 // an Activity if an Activity is currently attached to this engine. Then in remove() 277 return activity != null; in isAttachedToActivity() [all …]
|
| /third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/ |
| D | AndroidManifest.xml | 10 <activity android:name=".MainActivity" android:label="AK Demo"> 16 </activity> 17 <activity android:name=".RuntimeShaderActivity" android:label="AK Runtime Shader"> 22 </activity> 23 <activity android:name=".AnimationActivity" android:label="AK Animation"> 28 </activity> 29 <activity android:name=".CubeActivity" android:label="AK Cube"> 34 </activity> 35 <activity android:name=".SkottieAnimationActivity" android:label="AK Skottie"> 40 </activity> [all …]
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/ |
| D | PluginRegistry.java | 7 import android.app.Activity; 22 * by default, called from the application's main {@link Activity}, which 65 * Returns the {@link Activity} that forms the plugin's operating context. 68 * is any specific subclass of {@code Activity} (such as 71 * are free to use any activity subclass.</p> 73 * <p>When there is no foreground activity in the application, this 77 Activity activity(); in activity() method 87 …* @return the current {@link #activity() Activity}, if not null, otherwise the {@link #context() A… 112 * {@link #activity() activity}. 158 * calls to {@code Activity#onRequestPermissionsResult(int, String[], int[])} [all …]
|
| /third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/java/src/com/android/angle/test/ |
| D | AngleNativeTest.java | 10 import android.app.Activity; 57 public void postCreate(Activity activity) in postCreate() argument 59 parseArgumentsFromIntent(activity, activity.getIntent()); in postCreate() 60 mReporter = new TestStatusReporter(activity); in postCreate() 67 View decorView = activity.getWindow().getDecorView(); in postCreate() 75 private void parseArgumentsFromIntent(Activity activity, Intent intent) in parseArgumentsFromIntent() argument 120 public void postStart(final Activity activity) in postStart() argument 126 runTests(activity); in postStart() 158 private void runTests(Activity activity) in runTests() argument 161 activity.finish(); in runTests()
|
| /third_party/node/test/async-hooks/ |
| D | hook-checks.js | 11 * @param {Object} activity including timestamps for each life time event, 19 exports.checkInvocations = function checkInvocations(activity, hooks, stage) { argument 22 assert.ok(activity != null, 23 `${stageInfo} Trying to check invocation for an activity, ` + 37 const invocations = activity[k].length; 40 assert(activity[k] === null && activity[k] === undefined, msg); 45 assert(activity[k] !== null && activity[k] !== undefined, msg1); 49 const msg2 = `${stageInfo} Called "${k}" ${activity[k].length} ` + 51 assert.strictEqual(activity[k].length, val, msg2);
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/platform/ |
| D | PlatformPlugin.java | 7 import android.app.Activity; 32 private final Activity activity; field in PlatformPlugin 89 public PlatformPlugin(Activity activity, PlatformChannel platformChannel) { in PlatformPlugin() argument 90 this.activity = activity; in PlatformPlugin() 108 View view = activity.getWindow().getDecorView(); in playSystemSound() 114 View view = activity.getWindow().getDecorView(); in vibrateHapticFeedback() 136 activity.setRequestedOrientation(androidOrientation); in setSystemChromePreferredOrientations() 148 …activity.setTaskDescription(new TaskDescription(description.label, /*icon=*/ null, description.col… in setSystemChromeApplicationSwitcherDescription() 152 activity.setTaskDescription(taskDescription); in setSystemChromeApplicationSwitcherDescription() 190 * {@link Window} associated with the {@link Activity} that was provided to this [all …]
|
| /third_party/skia/platform_tools/android/apps/skottie/src/main/ |
| D | AndroidManifest.xml | 11 <activity 14 </activity> 15 <activity 18 </activity> 19 <activity 22 </activity> 23 <activity android:name=".DemoActivity"> 29 </activity>
|
| /third_party/vk-gl-cts/android/openglcts/ |
| D | AndroidManifest.xml | 9 <activity android:name="android.app.NativeActivity" 19 </activity> 22 <activity android:name="org.khronos.cts.ES2Activity" 36 </activity> 37 <activity android:name="org.khronos.cts.ES3Activity" 51 </activity> 52 <activity android:name="org.khronos.cts.ES31Activity" 66 </activity> 67 <activity android:name="org.khronos.cts.ES32Activity" 81 </activity> [all …]
|