/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/ |
D | UsageListAdapter.java | 59 public TextView getPackageName() { in getPackageName() method in UsageListAdapter.ViewHolder 80 viewHolder.getPackageName().setText( in onBindViewHolder() 81 mCustomUsageStatsList.get(position).usageStats.getPackageName()); in onBindViewHolder()
|
D | AppUsageStatisticsFragment.java | 175 .getApplicationIcon(customUsageStats.usageStats.getPackageName()); in updateAppsList() 179 customUsageStats.usageStats.getPackageName())); in updateAppsList()
|
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/ |
D | MainActivity.java | 72 "drawable", getPackageName()); in onCreate() 119 getResources().getIdentifier(planet, "array", getPackageName()); in initializeSolarSystem() 192 getResources().getIdentifier(selectedPlanetImage, "drawable", getPackageName()); in onItemSelected() 206 getResources().getIdentifier(navigationIcon, "drawable", getPackageName()); in getItemDrawable()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/ |
D | Utils.java | 49 return context.getPackageName().equals(Telephony.Sms.getDefaultSmsPackage(context)); in isDefaultSmsApp() 64 intent.putExtra(Intents.EXTRA_PACKAGE_NAME, context.getPackageName()); in setDefaultSmsApp()
|
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
D | InputMethodSettingsImpl.java | 92 if (imis.get(i).getPackageName().equals(context.getPackageName())) { in getMyImi() 110 sb.append(subtype.getDisplayName(context, imi.getPackageName(), in getEnabledSubtypesLabel()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | AppListFragment.java | 41 mQuery.setPackage(ai.getComponentName().getPackageName()); in onBindAction2() 68 ai.getComponentName().getPackageName(), in onAction2()
|
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
D | MainActivity.java | 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification); in createNotification() 97 new RemoteViews(getPackageName(), R.layout.notification_expanded); in createNotification()
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | WordWidget.java | 106 views = new RemoteViews(context.getPackageName(), R.layout.widget_word); in buildUpdate() 123 views = new RemoteViews(context.getPackageName(), R.layout.widget_message); in buildUpdate()
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
D | WordWidget.java | 97 updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_word); in buildUpdate() 114 updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_message); in buildUpdate()
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | MainActivity.java | 33 if (manager.isProfileOwnerApp(getApplicationContext().getPackageName())) { in onCreate()
|
D | SetupProfileFragment.java | 77 activity.getApplicationContext().getPackageName()); in provisionManagedProfile()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | ResourceHelper.java | 38 String packageName = context.getPackageName(); in getThemeColor()
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | MainActivity.java | 37 if (manager.isDeviceOwnerApp(getApplicationContext().getPackageName())) { in onCreate()
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
D | SampleChooserTargetService.java | 37 ComponentName componentName = new ComponentName(getPackageName(), in onGetChooserTargets()
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2.java | 117 int pid = getResources().getIdentifier(prefix + "points", "array", getPackageName()); in readModel() 118 int lid = getResources().getIdentifier(prefix + "lines", "array", getPackageName()); in readModel()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | MainActivity.java | 37 if (!devicePolicyManager.isProfileOwnerApp(getApplicationContext().getPackageName())) { in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
D | VideoViewDemo.java | 40 initPlayer(Uri.parse("android.resource://" + getPackageName() + in onCreate()
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MainActivity.java | 94 getApplicationContext().getPackageName(), in onCreate() 95 getApplicationContext().getPackageName() in onCreate()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetProvider.java | 160 rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout); in buildLayout() 188 rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout_small); in buildLayout()
|
D | WeatherWidgetService.java | 86 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); in getViewAt()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | AMControl.java | 40 cmd.append(target.getPackageName()).append("/").append(target.getShortClassName()); in launchInBackground()
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
D | StackWidgetService.java | 81 RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.widget_item); in getViewAt()
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
D | BuildWidget.java | 65 context.getPackageName(), R.layout.widget); in buildUpdate()
|
/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/ |
D | SoundAlarmListenerService.java | 68 Log.d(TAG, "onDataChanged: " + dataEvents + " for " + getPackageName()); in onDataChanged()
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleAppWidgetProvider.java | 114 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.appwidget_provider); in updateAppWidget()
|