/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarSettingsActionProviderActivity.java | 70 private final Context mContext; field in ActionBarSettingsActionProviderActivity.SettingsActionProvider 79 mContext = context; in SettingsActionProvider() 88 LayoutInflater layoutInflater = LayoutInflater.from(mContext); in onCreateActionView() 95 mContext.startActivity(sSettingsIntent); in onCreateActionView() 108 mContext.startActivity(sSettingsIntent); in onPerformDefaultAction()
|
D | FragmentTabsFragment.java | 89 private final Context mContext; field in FragmentTabsFragment.TabManager 112 private final Context mContext; field in FragmentTabsFragment.TabManager.DummyTabFactory 115 mContext = context; in DummyTabFactory() 120 View v = new View(mContext); in createTabContent() 128 mContext = context; in TabManager() 144 tabSpec.setContent(new DummyTabFactory(mContext)); in addTab() 237 newTab.fragment = Fragment.instantiate(mContext, in doTabChanged()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
D | SyncAdapter.java | 58 private final Context mContext; field in SyncAdapter 62 mContext = context; in SyncAdapter() 94 final long groupId = ContactManager.ensureSampleGroupExists(mContext, account); in onPerformSync() 98 dirtyContacts = ContactManager.getDirtyContacts(mContext, account); in onPerformSync() 108 long newSyncState = ContactManager.updateContacts(mContext, in onPerformSync() 120 ContactManager.updateStatusMessages(mContext, updatedContacts); in onPerformSync() 130 ContactManager.addStreamItems(mContext, updatedContacts, in onPerformSync() 139 ContactManager.clearSyncFlags(mContext, dirtyContacts); in onPerformSync()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetService.java | 46 private Context mContext; field in StackRemoteViewsFactory 51 mContext = context; in StackRemoteViewsFactory() 84 final String formatStr = mContext.getResources().getString(R.string.item_format_string); in getViewAt() 86 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); in getViewAt() 121 mCursor = mContext.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, null, in onDataSetChanged()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentTabsPager.java | 88 private final Context mContext; field in FragmentTabsPager.TabsAdapter 106 private final Context mContext; field in FragmentTabsPager.TabsAdapter.DummyTabFactory 109 mContext = context; in DummyTabFactory() 114 View v = new View(mContext); in createTabContent() 123 mContext = activity; in TabsAdapter() 132 tabSpec.setContent(new DummyTabFactory(mContext)); in addTab() 149 return Fragment.instantiate(mContext, info.clss.getName(), info.args); in getItem()
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | Adapters.java | 283 protected final Context mContext; field in Adapters.CursorBinder 303 mContext = context; in CursorBinder() 339 protected final Context mContext; field in Adapters.CursorTransformation 347 mContext = context; in CursorTransformation() 593 private final Context mContext; field in Adapters.XmlCursorAdapterParser 605 mContext = c; in XmlCursorAdapterParser() 610 mResources = mContext.getResources(); in XmlCursorAdapterParser() 614 mIdentity = new IdentityTransformation(mContext); in XmlCursorAdapterParser() 671 return new XmlCursorAdapter(mContext, layout, uri, fromArray, toArray, selection, in parse() 724 final Context context = mContext; in findBinder() [all …]
|
D | ContactPhotoBinder.java | 53 mResources = mContext.getResources(); in ContactPhotoBinder() 74 mContext.getContentResolver(), uri); in bind()
|
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/ |
D | AuthenticatorActivityTest.java | 37 private Context mContext; field in AuthenticatorActivityTests 53 mContext = mInstrumentation.getTargetContext(); in setUp() 70 Intent intent = new Intent(mContext, AuthenticatorActivity.class); in testLoginOffered()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List5.java | 45 mContext = context; in MyListAdapter() 73 tv = (TextView) LayoutInflater.from(mContext).inflate( in getView() 82 private Context mContext; field in List5.MyListAdapter
|
D | List4.java | 52 mContext = context; in SpeechListAdapter() 95 sv = new SpeechView(mContext, Shakespeare.TITLES[position], in getView() 109 private Context mContext; field in List4.SpeechListAdapter
|
D | List6.java | 62 mContext = context; in SpeechListAdapter() 104 … sv = new SpeechView(mContext, mTitles[position], mDialogue[position], mExpanded[position]); in getView() 123 private Context mContext; field in List6.SpeechListAdapter
|
D | List8.java | 90 mContext = c; in PhotoAdapter() 107 ImageView i = new ImageView(mContext); in getView() 118 private Context mContext; field in List8.PhotoAdapter
|
D | Gallery1.java | 78 private final Context mContext; field in Gallery1.ImageAdapter 94 mContext = c; in ImageAdapter() 120 convertView = new ImageView(mContext); in getView()
|
D | ImageSwitcher1.java | 79 mContext = c; in ImageAdapter() 95 ImageView i = new ImageView(mContext); in getView() 105 private Context mContext; field in ImageSwitcher1.ImageAdapter
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | TaskListView.java | 69 private Context mContext = null; field in TaskAdapter 73 mContext = context; in TaskAdapter() 89 LayoutInflater inflater = LayoutInflater.from(mContext); in getView() 100 .append(mContext.getString(R.string.task_name)) in getView()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | Authenticator.java | 56 private final Context mContext; field in Authenticator 60 mContext = context; in Authenticator() 67 final Intent intent = new Intent(mContext, AuthenticatorActivity.class); in addAccount() 102 final AccountManager am = AccountManager.get(mContext); in getAuthToken() 118 final Intent intent = new Intent(mContext, AuthenticatorActivity.class); in getAuthToken()
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
D | Policy.java | 50 private Context mContext; field in Policy 55 mContext = context; in Policy() 72 mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE).edit(); in saveToLocal() 89 SharedPreferences prefs = mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE); in readFromLocal()
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
D | StackWidgetService.java | 39 private Context mContext; field in StackRemoteViewsFactory 43 mContext = context; in StackRemoteViewsFactory() 81 RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.widget_item); in getViewAt()
|
/development/apps/Development/src/com/android/development/ |
D | ArrayAdapter.java | 30 mContext = context; in ArrayAdapter() 73 private final Context mContext; field in ArrayAdapter
|
/development/samples/Home/src/com/example/android/home/ |
D | Wallpaper.java | 118 private Context mContext; field in Wallpaper.ImageAdapter 121 mContext = c; in ImageAdapter() 137 ImageView i = new ImageView(mContext); in getView()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | TabHelperEclair.java | 142 private final Context mContext; field in TabHelperEclair.DummyTabFactory 145 mContext = context; in DummyTabFactory() 150 View v = new View(mContext); in createTabContent()
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | ActionBarTabsPager.java | 85 private final Context mContext; field in ActionBarTabsPager.TabsAdapter 102 mContext = activity; in TabsAdapter() 126 return Fragment.instantiate(mContext, info.clss.getName(), info.args); in getItem()
|
D | FragmentNestingStatePagerSupport.java | 83 private final Context mContext; field in FragmentNestingStatePagerSupport.TabsAdapter 100 mContext = activity; in TabsAdapter() 124 return Fragment.instantiate(mContext, info.clss.getName(), info.args); in getItem()
|
D | FragmentNestingPagerSupport.java | 83 private final Context mContext; field in FragmentNestingPagerSupport.TabsAdapter 100 mContext = activity; in TabsAdapter() 124 return Fragment.instantiate(mContext, info.clss.getName(), info.args); in getItem()
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
D | SimpleMenu.java | 38 private Context mContext; field in SimpleMenu 44 mContext = context; in SimpleMenu() 50 return mContext; in getContext()
|