Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 1411) sorted by relevance

12345678910>>...57

/development/tools/findunused/
Dfindunusedresources10 …folder option causes only that app folder to be scanned, default is to scan all folders onder apps/
28 for app in $apps
31 if [ "$app" == "." ]
33 app=$(pwd)
35 if [ -d $app/res ]
37 appname=$(basename $app)
38 iappname=$(grep LOCAL_PACKAGE_NAME $app/Android.mk | sed 's/.*:= *//')
40 …for res in $(echo $app/res/* $(find $ANDROID_BUILD_TOP/vendor -type d -wholename $ANDROID_BUILD_TO…
44 sources=$app/src
45 if [ -d $app/tests ]
[all …]
Dfindunusedstrings8 …folder option causes only that app folder to be scanned, default is to scan all folders onder apps/
26 for app in $apps
28 if [ -d $app/res ]
30 pushd $app > /dev/null
38 echo $app
44 echo $app: $count unused strings
48 popd $app > /dev/null
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabHoneycomb.java19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
22 import android.support.v4.app.Fragment;
23 import android.support.v4.app.FragmentActivity;
24 import android.support.v4.app.FragmentTransaction;
83 public void onTabReselected(Tab tab, android.app.FragmentTransaction f) { in onTabReselected()
91 public void onTabSelected(Tab tab, android.app.FragmentTransaction f) { in onTabSelected()
99 public void onTabUnselected(Tab arg0, android.app.FragmentTransaction f) { in onTabUnselected()
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DNotificationsActivity.java17 package com.example.android.support.appnavigation.app;
21 import android.app.Activity;
22 import android.app.NotificationManager;
23 import android.app.PendingIntent;
26 import android.support.v4.app.NavUtils;
27 import android.support.v4.app.NotificationCompat;
28 import android.support.v4.app.TaskStackBuilder;
DSimpleUpActivity.java17 package com.example.android.support.appnavigation.app;
21 import android.app.ActionBar;
22 import android.app.Activity;
24 import android.support.v4.app.NavUtils;
DContentViewActivity.java17 package com.example.android.support.appnavigation.app;
21 import android.app.Activity;
24 import android.support.v4.app.NavUtils;
25 import android.support.v4.app.ShareCompat;
26 import android.support.v4.app.TaskStackBuilder;
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DNotificationsActivity.java17 package com.example.android.appnavigation.app;
21 import android.app.Activity;
22 import android.app.Notification;
23 import android.app.NotificationManager;
24 import android.app.PendingIntent;
25 import android.app.TaskStackBuilder;
/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c45 struct android_app* app; member
99 ANativeWindow_setBuffersGeometry(engine->app->window, 0, 0, format); in engine_init_display()
101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); in engine_init_display()
168 static int32_t engine_handle_input(struct android_app* app, AInputEvent* event) { in engine_handle_input() argument
169 struct engine* engine = (struct engine*)app->userData; in engine_handle_input()
182 static void engine_handle_cmd(struct android_app* app, int32_t cmd) { in engine_handle_cmd() argument
183 struct engine* engine = (struct engine*)app->userData; in engine_handle_cmd()
187 engine->app->savedState = malloc(sizeof(struct saved_state)); in engine_handle_cmd()
188 *((struct saved_state*)engine->app->savedState) = engine->state; in engine_handle_cmd()
189 engine->app->savedStateSize = sizeof(struct saved_state); in engine_handle_cmd()
[all …]
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/
DCardExampleActivity.java15 package android.support.v17.leanback.supportleanbackshowcase.app.cards;
17 import android.app.Activity;
21 import android.support.v17.leanback.app.GuidedStepFragment;
22 import android.support.v17.leanback.supportleanbackshowcase.app.dialog.DialogExampleFragment;
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DCollectionDemoActivity.java19 import android.app.ActionBar;
22 import android.support.v4.app.Fragment;
23 import android.support.v4.app.FragmentActivity;
24 import android.support.v4.app.FragmentManager;
25 import android.support.v4.app.FragmentStatePagerAdapter;
26 import android.support.v4.app.NavUtils;
27 import android.support.v4.app.TaskStackBuilder;
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DCompatActionBarNavHandler.java19 import android.app.ActionBar.OnNavigationListener;
20 import android.app.ActionBar.Tab;
21 import android.app.ActionBar.TabListener;
22 import android.app.FragmentTransaction;
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
DMainFragment.java15 package android.support.v17.leanback.supportleanbackshowcase.app;
19 import android.support.v17.leanback.app.BrowseFragment;
21 import android.support.v17.leanback.supportleanbackshowcase.app.cards.CardExampleActivity;
22 import android.support.v17.leanback.supportleanbackshowcase.app.details.DetailViewExampleActivity;
23 import android.support.v17.leanback.supportleanbackshowcase.app.dialog.DialogExampleActivity;
24 import android.support.v17.leanback.supportleanbackshowcase.app.grid.GridExampleActivity;
25 import android.support.v17.leanback.supportleanbackshowcase.app.media.MusicExampleActivity;
26 import android.support.v17.leanback.supportleanbackshowcase.app.media.VideoExampleActivity;
27 import android.support.v17.leanback.supportleanbackshowcase.app.page.PageAndListRowActivity;
28 import android.support.v17.leanback.supportleanbackshowcase.app.settings.SettingsExampleActivity;
[all …]
/development/samples/browseable/XYZTouristAttractions/
D_index.jd9 and Wear app combination as possible. It has a more refined design
10 and also provides a practical example of how a mobile app would
13 The app itself is modeled after a hypothetical tourist attractions
14 app that notifies the user when they are in close proximity to
17 The Wear component loads a full wearable app that shows images,
/development/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.h96 struct android_app* app; member
100 void (*process)(struct android_app* app, struct android_poll_source* source);
117 void (*onAppCmd)(struct android_app* app, int32_t cmd);
123 int32_t (*onInputEvent)(struct android_app* app, AInputEvent* event);
343 extern void android_main(struct android_app* app);
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentNestingTabs.java16 package com.example.android.apis.app;
19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
21 import android.app.Activity;
22 import android.app.Fragment;
23 import android.app.FragmentManager;
24 import android.app.FragmentTransaction;
DLocalService.java17 package com.example.android.apis.app;
19 import android.app.Notification;
20 import android.app.NotificationManager;
21 import android.app.PendingIntent;
22 import android.app.Service;
DFragmentDialogOrActivity.java17 package com.example.android.apis.app;
21 import android.app.Activity;
22 import android.app.DialogFragment;
23 import android.app.Fragment;
24 import android.app.FragmentTransaction;
DMessengerService.java17 package com.example.android.apis.app;
19 import android.app.Notification;
20 import android.app.NotificationManager;
21 import android.app.PendingIntent;
22 import android.app.Service;
38 import com.example.android.apis.app.RemoteService.Controller;
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyActivityEvent.java19 import android.app.IActivityManager;
33 public MonkeyActivityEvent(ComponentName app) { in MonkeyActivityEvent() argument
35 mApp = app; in MonkeyActivityEvent()
38 public MonkeyActivityEvent(ComponentName app, long arg) { in MonkeyActivityEvent() argument
40 mApp = app; in MonkeyActivityEvent()
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DAppCompatNightModeAlertDialog.java16 package com.example.android.supportv7.app;
22 import android.support.v7.app.AlertDialog;
23 import android.support.v7.app.AppCompatActivity;
24 import android.support.v7.app.AppCompatDelegate;
25 import android.support.v7.app.AppCompatDialog;
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DFileHelperExampleAgent.java21 import android.app.backup.BackupAgentHelper;
22 import android.app.backup.BackupDataInput;
23 import android.app.backup.BackupDataOutput;
24 import android.app.backup.FileBackupHelper;
/development/samples/browseable/WatchFace/
D_index.jd8 This sample demonstrates how to create watch faces for android wear and includes a phone app
9 and a wearable app. The wearable app has a variety of watch faces including analog, digital,
11 The phone app includes a phone-side configuration example.
13 Additional note on Steps WatchFace Sample, if the user has not installed or setup the Google Fit app
/development/samples/training/basic/ActivityLifecycle/
Dproguard.cfg8 -keep public class * extends android.app.Activity
9 -keep public class * extends android.app.Application
10 -keep public class * extends android.app.Service
13 -keep public class * extends android.app.backup.BackupAgentHelper
29 -keepclassmembers class * extends android.app.Activity {
/development/samples/training/multiscreen/newsreader/
Dproguard.cfg8 -keep public class * extends android.app.Activity
9 -keep public class * extends android.app.Application
10 -keep public class * extends android.app.Service
13 -keep public class * extends android.app.backup.BackupAgentHelper
29 -keepclassmembers class * extends android.app.Activity {
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/settings/
DSettingsExampleActivity.java15 package android.support.v17.leanback.supportleanbackshowcase.app.settings;
17 import android.app.Activity;
18 import android.app.Fragment;

12345678910>>...57