Home
last modified time | relevance | path

Searched refs:android (Results 1 – 25 of 1883) sorted by relevance

12345678910>>...76

/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarUsage.java16 package com.example.android.supportv7.app;
18 import com.example.android.supportv7.R;
20 import android.app.SearchManager;
21 import android.content.Context;
22 import android.graphics.drawable.Drawable;
23 import android.os.Bundle;
24 import android.os.Handler;
25 import android.support.annotation.Nullable;
26 import android.support.v4.app.Fragment;
27 import android.support.v4.view.MenuItemCompat;
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSearchViewAlwaysVisible.java17 package com.example.android.apis.view;
19 import com.example.android.apis.R;
21 import android.app.Activity;
22 import android.app.SearchManager;
23 import android.app.SearchableInfo;
24 import android.content.Context;
25 import android.os.Bundle;
26 import android.view.Menu;
27 import android.view.MenuInflater;
28 import android.view.View;
[all …]
DGameActivity.java17 package com.example.android.apis.view;
19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
21 import android.app.Activity;
22 import android.app.FragmentTransaction;
23 import android.content.Context;
24 import android.content.Intent;
25 import android.net.Uri;
26 import android.os.Bundle;
27 import android.os.Handler;
[all …]
DAnimation3.java17 package com.example.android.apis.view;
21 import com.example.android.apis.R;
23 import android.app.Activity;
24 import android.os.Bundle;
25 import android.view.View;
26 import android.view.animation.AnimationUtils;
27 import android.view.animation.Animation;
28 import android.view.animation.TranslateAnimation;
29 import android.widget.AdapterView;
30 import android.widget.ArrayAdapter;
[all …]
DTextSwitcher1.java17 package com.example.android.apis.view;
19 import com.example.android.apis.R;
21 import android.app.Activity;
22 import android.os.Bundle;
23 import android.view.Gravity;
24 import android.view.View;
25 import android.view.animation.Animation;
26 import android.view.animation.AnimationUtils;
27 import android.widget.Button;
28 import android.widget.TextSwitcher;
[all …]
DHover.java17 package com.example.android.apis.view;
19 import com.example.android.apis.R;
21 import android.app.Activity;
22 import android.content.Context;
23 import android.content.res.Resources;
24 import android.os.Bundle;
25 import android.util.AttributeSet;
26 import android.util.Log;
27 import android.view.LayoutInflater;
28 import android.view.MotionEvent;
[all …]
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java17 package com.android.buildwidget;
19 import android.app.PendingIntent;
20 import android.app.Service;
21 import android.appwidget.AppWidgetManager;
22 import android.appwidget.AppWidgetProvider;
23 import android.content.ComponentName;
24 import android.content.Context;
25 import android.content.Intent;
26 import android.content.res.Resources;
27 import android.net.Uri;
[all …]
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
DSwipeRefreshLayoutActivity.java17 package com.example.android.supportv4.widget;
19 import android.app.Activity;
20 import android.os.Bundle;
21 import android.os.Handler;
22 import android.support.v4.widget.SwipeRefreshLayout;
23 import android.view.Menu;
24 import android.view.MenuInflater;
25 import android.view.MenuItem;
26 import android.view.MotionEvent;
27 import android.view.View;
[all …]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderRetainedSupport.java17 package com.example.android.supportv4.app;
19 import android.support.v4.app.FragmentActivity;
20 import android.support.v4.app.FragmentManager;
21 import android.support.v4.app.ListFragment;
22 import android.support.v4.app.LoaderManager;
23 import android.support.v4.content.CursorLoader;
24 import android.support.v4.content.Loader;
25 import android.support.v4.view.MenuItemCompat;
26 import android.support.v4.widget.SearchViewCompat;
27 import android.support.v4.widget.SearchViewCompat.OnQueryTextListenerCompat;
[all …]
DLoaderCursorSupport.java17 package com.example.android.supportv4.app;
19 import android.support.v4.app.FragmentActivity;
20 import android.support.v4.app.FragmentManager;
21 import android.support.v4.app.ListFragment;
22 import android.support.v4.app.LoaderManager;
23 import android.support.v4.content.CursorLoader;
24 import android.support.v4.content.Loader;
25 import android.support.v4.view.MenuItemCompat;
26 import android.support.v4.widget.SearchViewCompat;
27 import android.support.v4.widget.SearchViewCompat.OnCloseListenerCompat;
[all …]
DFragmentListArraySupport.java17 package com.example.android.supportv4.app;
19 import com.example.android.supportv4.Shakespeare;
21 import android.support.v4.app.FragmentActivity;
22 import android.support.v4.app.ListFragment;
24 import android.os.Bundle;
25 import android.util.Log;
26 import android.view.View;
27 import android.widget.ArrayAdapter;
28 import android.widget.ListView;
41 if (getSupportFragmentManager().findFragmentById(android.R.id.content) == null) { in onCreate()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderRetained.java17 package com.example.android.apis.app;
19 import com.example.android.apis.app.LoaderCursor.CursorLoaderListFragment.MySearchView;
21 import android.app.Activity;
22 import android.app.FragmentManager;
23 import android.app.ListFragment;
24 import android.app.LoaderManager;
25 import android.content.Context;
26 import android.content.CursorLoader;
27 import android.content.Loader;
28 import android.database.Cursor;
[all …]
DSoftInputModes.java1 package com.example.android.apis.app;
3 import com.example.android.apis.R;
5 import android.app.Activity;
6 import android.app.admin.DevicePolicyManager;
7 import android.content.SharedPreferences;
8 import android.os.Bundle;
9 import android.view.View;
10 import android.view.WindowManager;
11 import android.widget.AdapterView;
12 import android.widget.ArrayAdapter;
[all …]
DLoaderCursor.java17 package com.example.android.apis.app;
19 import android.app.Activity;
20 import android.app.FragmentManager;
21 import android.app.ListFragment;
22 import android.app.LoaderManager;
23 import android.content.Context;
24 import android.content.CursorLoader;
25 import android.content.Loader;
26 import android.database.Cursor;
27 import android.net.Uri;
[all …]
DFragmentListArray.java17 package com.example.android.apis.app;
19 import com.example.android.apis.Shakespeare;
21 import android.app.Activity;
22 import android.app.ListFragment;
23 import android.os.Bundle;
24 import android.util.Log;
25 import android.view.View;
26 import android.widget.ArrayAdapter;
27 import android.widget.ListView;
40 if (getFragmentManager().findFragmentById(android.R.id.content) == null) { in onCreate()
[all …]
DIntentActivityFlags.java1 package com.example.android.apis.app;
3 import com.example.android.apis.R;
5 import android.app.Activity;
6 import android.app.PendingIntent;
7 import android.app.PendingIntent.CanceledException;
8 import android.content.ComponentName;
9 import android.content.Context;
10 import android.content.Intent;
11 import android.os.Bundle;
12 import android.util.Log;
[all …]
/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
11 -keep public class * extends android.content.BroadcastReceiver
12 -keep public class * extends android.content.ContentProvider
13 -keep public class * extends android.app.backup.BackupAgentHelper
14 -keep public class * extends android.preference.Preference
15 -keep public class com.android.vending.licensing.ILicensingService
22 public <init>(android.content.Context, android.util.AttributeSet);
26 public <init>(android.content.Context, android.util.AttributeSet, int);
[all …]
/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
11 -keep public class * extends android.content.BroadcastReceiver
12 -keep public class * extends android.content.ContentProvider
13 -keep public class * extends android.app.backup.BackupAgentHelper
14 -keep public class * extends android.preference.Preference
15 -keep public class com.android.vending.licensing.ILicensingService
22 public <init>(android.content.Context, android.util.AttributeSet);
26 public <init>(android.content.Context, android.util.AttributeSet, int);
[all …]
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DCursorFragment.java17 package com.example.android.supportv13.app;
19 import android.app.ListFragment;
20 import android.app.LoaderManager;
21 import android.content.CursorLoader;
22 import android.content.Loader;
23 import android.database.Cursor;
24 import android.net.Uri;
25 import android.os.Bundle;
26 import android.provider.ContactsContract.Contacts;
27 import android.text.TextUtils;
[all …]
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DErrorFragment.java14 package com.example.android.leanback;
16 import android.content.Intent;
17 import android.content.res.Resources;
18 import android.os.Bundle;
19 import android.support.v17.leanback.widget.ArrayObjectAdapter;
20 import android.support.v17.leanback.widget.HeaderItem;
21 import android.support.v17.leanback.widget.ListRow;
22 import android.support.v17.leanback.widget.ListRowPresenter;
23 import android.support.v17.leanback.widget.OnItemClickedListener;
24 import android.support.v17.leanback.widget.Row;
[all …]
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DDebugReceiver.java17 package com.android.bluetoothdebug;
19 import android.bluetooth.BluetoothA2dp;
20 import android.bluetooth.BluetoothAdapter;
21 import android.bluetooth.BluetoothClass;
22 import android.bluetooth.BluetoothDevice;
23 import android.bluetooth.BluetoothDevicePicker;
24 import android.bluetooth.BluetoothHeadset;
25 import android.content.BroadcastReceiver;
26 import android.content.Context;
27 import android.content.Intent;
[all …]
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java17 package com.example.android.wearable.geofencing;
19 import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN;
20 import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM;
21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID;
22 import static com.example.android.wearable.geofencing.Constants.KEY_GEOFENCE_ID;
23 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID;
24 import static com.example.android.wearable.geofencing.Constants.TAG;
25 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID;
27 import android.app.Notification;
28 import android.app.Notification.Action;
[all …]
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/
DLocalServiceTest.java17 package com.example.android.apis.app;
19 import android.app.Notification;
20 import android.app.NotificationManager;
21 import android.content.Context;
22 import android.content.Intent;
23 import android.os.Handler;
24 import android.os.IBinder;
25 import android.test.MoreAsserts;
26 import android.test.ServiceTestCase;
27 import android.test.suitebuilder.annotation.MediumTest;
[all …]
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailActivity.java17 package com.example.android.contactslist.ui;
19 import android.annotation.TargetApi;
20 import android.net.Uri;
21 import android.os.Build;
22 import android.os.Bundle;
23 import android.support.v4.app.FragmentActivity;
24 import android.support.v4.app.FragmentTransaction;
25 import android.support.v4.app.NavUtils;
26 import android.view.MenuItem;
28 import com.example.android.contactslist.BuildConfig;
[all …]
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DCollectionDemoActivity.java17 package com.example.android.effectivenavigation;
19 import android.app.ActionBar;
20 import android.content.Intent;
21 import android.os.Bundle;
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;
[all …]

12345678910>>...76