/packages/apps/Browser/src/com/android/browser/view/ |
EventRedirectingFrameLayout.java | 19 import android.content.Context; 30 public EventRedirectingFrameLayout(Context context) { 31 super(context); 34 public EventRedirectingFrameLayout(Context context, AttributeSet attrs) { 35 super(context, attrs); 39 Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
TransformableImageView.java | 18 import android.content.Context; 29 public TransformableImageView(Context context) { 30 super(context); 33 public TransformableImageView(Context context, AttributeSet attrs) { 34 super(context, attrs); 37 public TransformableImageView(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupDetailDisplayUtils.java | 19 import android.content.Context; 35 public static View getNewGroupSourceView(Context context) { 36 LayoutInflater inflater = (LayoutInflater)context.getSystemService( 37 Context.LAYOUT_INFLATER_SERVICE); 41 public static void bindGroupSourceView(Context context, View view, String accountTypeString, 43 AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(context); 51 label.setText(accountType.getViewGroupLabel(context)); 58 accountIcon.setImageDrawable(accountType.getDisplayIcon(context)); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusOnlyTabWidget.java | 19 import android.content.Context; 25 public FocusOnlyTabWidget(Context context) { 26 super(context); 29 public FocusOnlyTabWidget(Context context, AttributeSet attrs) { 30 super(context, attrs); 33 public FocusOnlyTabWidget(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle) [all...] |
PagedViewIcon.java | 19 import android.content.Context; 43 public PagedViewIcon(Context context) { 44 this(context, null); 47 public PagedViewIcon(Context context, AttributeSet attrs) { 48 this(context, attrs, 0); 51 public PagedViewIcon(Context context, AttributeSet attrs, int defStyle) { 52 super(context, attrs, defStyle) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
FocusOnlyTabWidget.java | 19 import android.content.Context; 25 public FocusOnlyTabWidget(Context context) { 26 super(context); 29 public FocusOnlyTabWidget(Context context, AttributeSet attrs) { 30 super(context, attrs); 33 public FocusOnlyTabWidget(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle) [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
FileItemInfoLayout.java | 5 import android.content.Context; 28 public FileItemInfoLayout(Context context) { 29 this(context, null); 32 public FileItemInfoLayout(Context context, AttributeSet attrs) { 33 this(context, attrs, 0); 36 public FileItemInfoLayout(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
StorageItemPreference.java | 19 import android.content.Context; 33 public StorageItemPreference(Context context, int titleRes, int colorRes) { 34 this(context, context.getText(titleRes), colorRes, UserHandle.USER_NULL); 38 Context context, CharSequence title, int colorRes, int userHandle) { 39 super(context); 42 this.color = context.getResources().getColor(colorRes); 44 final Resources res = context.getResources() [all...] |
UsageBarPreference.java | 19 import android.content.Context; 38 public UsageBarPreference(Context context, AttributeSet attrs, int defStyle) { 39 super(context, attrs, defStyle); 43 public UsageBarPreference(Context context) { 44 super(context); 48 public UsageBarPreference(Context context, AttributeSet attrs) { 49 super(context, attrs) [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
RadioButtonPreference.java | 19 import android.content.Context; 44 public RadioButtonPreference(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle); 49 public RadioButtonPreference(Context context, AttributeSet attrs) { 50 this(context, attrs, com.android.internal.R.attr.checkBoxPreferenceStyle); 53 public RadioButtonPreference(Context context) { 54 this(context, null) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
EnterSubject.java | 19 import android.content.Context; 31 public EnterSubject(Context context) { 32 super(context); 34 public EnterSubject(Context context, AttributeSet attrs) { 35 super(context, attrs); 37 public EnterSubject(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
TimelineRelativeLayout.java | 19 import android.content.Context; 43 public TimelineRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle); 49 public TimelineRelativeLayout(Context context, AttributeSet attrs) { 50 this(context, attrs, 0); 53 public TimelineRelativeLayout(Context context) { 54 this(context, null, 0) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsListLoader.java | 19 import android.content.Context; 46 public static CursorLoader newVisibleContactsLoader(Context context) { 47 return new CursorLoader(context, Contacts.CONTENT_URI, COLUMNS, 51 public static CursorLoader newStrequentContactsLoader(Context context) { 52 return new CursorLoader(context, Contacts.CONTENT_STREQUENT_URI, COLUMNS, null, null, null); 55 public static CursorLoader newContactGroupLoader(Context context, String groupTitle) { 57 return new CursorLoader(context, uri, COLUMNS, null, null, Contacts.SORT_KEY_PRIMARY) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ApplicationUtils.java | 21 import android.content.Context; 34 public static int getAcitivityTitleResId(final Context context, 36 final ComponentName cn = new ComponentName(context, cls); 38 final ActivityInfo ai = context.getPackageManager().getActivityInfo(cn, 0); 52 public static String getVersionName(final Context context) { 54 if (context == null) { 57 final String packageName = context.getPackageName(); 58 final PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
FeedbackLayout.java | 20 import android.content.Context; 28 public FeedbackLayout(Context context) { 29 super(context); 32 public FeedbackLayout(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public FeedbackLayout(Context context, AttributeSet attrs, int defstyle) { 37 super(context, attrs, defstyle) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileDatabaseHelper.java | 20 import android.content.Context; 45 public static ProfileDatabaseHelper getNewInstanceForTest(Context context) { 46 return new ProfileDatabaseHelper(context, null, false); 50 Context context, String databaseName, boolean optimizationEnabled) { 51 super(context, databaseName, optimizationEnabled); 54 public static synchronized ProfileDatabaseHelper getInstance(Context context) { 56 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true) [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_xml_parser.h | 35 // |context| is a parsing context used to resolve element/attribute names. 37 virtual void EndElement(buzz::XmlParseContext* context, 41 // |context| is a parsing context used to resolve element/attribute names. 45 virtual void CharacterData(buzz::XmlParseContext* context, 50 // |context| is a parsing context used to resolve names. 52 virtual void Error(buzz::XmlParseContext* context, 85 // |context| is a parsing context used to resolve element/attribute names [all...] |
/frameworks/base/core/java/android/widget/ |
ResourceCursorAdapter.java | 19 import android.content.Context; 45 * @param context The context where the ListView associated with this adapter is running 51 public ResourceCursorAdapter(Context context, int layout, Cursor c) { 52 super(context, c); 54 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 59 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended 60 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)} [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
ResourceCursorAdapter.java | 19 import android.content.Context; 47 * @param context The context where the ListView associated with this adapter is running 53 public ResourceCursorAdapter(Context context, int layout, Cursor c) { 54 super(context, c); 56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 61 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended 62 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)} [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_netbsd.h | 96 #define CONTEXT(_th) ((_th)->md.context) 99 ** Initialize a thread context to run "_main()" when started 104 sigsetjmp(CONTEXT(_thread), 1); \ 105 CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128); \ 106 CONTEXT(_thread)[0] = (int) _main; \ 109 #define _MD_GET_SP(_thread) CONTEXT(_thread)[2] 114 sigsetjmp(CONTEXT(_thread), 1); \ 115 CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128); \ 116 CONTEXT(_thread)[3] = (int) _main; 200 PR_CONTEXT_TYPE context; member in struct:_MDThread [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
v8_schema_registry.cc | 26 scoped_ptr<ChromeV8Context> context) 27 : ObjectBackedNativeHandler(context.get()), 28 context_(context.Pass()), 57 scoped_ptr<ChromeV8Context> context(new ChromeV8Context( 63 new SchemaRegistryNativeHandler(this, context.Pass())); 70 v8::Context::Scope context_scope(GetOrCreateContext(isolate)); 89 v8::Handle<v8::Context> context = GetOrCreateContext(isolate); local 90 v8::Context::Scope context_scope(context); 112 v8::Handle<v8::Context> context = v8::Context::New(isolate); local [all...] |
/external/chromium_org/components/browser_context_keyed_service/ |
browser_context_keyed_base_factory.cc | 33 content::BrowserContext* context) const { 37 dependency_manager_->AssertBrowserContextWasntDestroyed(context); 41 if (context->IsOffTheRecord()) 44 return context; 48 content::BrowserContext* context) { 68 // to enforce a uniquenes check here because some tests create one context and 69 // multiple services of the same type attached to that context (serially, not 70 // parallel) and we don't want to register multiple times on the same context. 71 DCHECK(!context->IsOffTheRecord()); 74 registered_preferences_.find(context); [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptState.cpp | 46 ScriptState::ScriptState(v8::Handle<v8::Context> context) 47 : m_context(context) 48 , m_isolate(context->GetIsolate()) 69 ScriptState* ScriptState::forContext(v8::Handle<v8::Context> context) 71 v8::Context::Scope contextScope(context); 73 v8::Local<v8::Object> innerGlobal = v8::Local<v8::Object>::Cast(context->Global()->GetPrototype()); 79 ScriptState* scriptState = new ScriptState(context); 87 v8::Local<v8::Context> context = v8::Context::GetCurrent(); local [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
EmailContentSetupUtils.java | 23 import android.content.Context; 39 public static Account setupAccount(String name, boolean saveIt, Context context) { 46 account.save(context); 55 Context context) { 56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null); 60 Context context, int type) { 61 return setupMailbox(name, accountId, saveIt, context, type, null) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
NfcDialogs.java | 22 import android.content.Context; 30 static AlertDialog createNotEnabledDialog(final Context context) { 31 return new AlertDialog.Builder(context) 39 context.startActivity(intent); 45 static AlertDialog createNdefPushNotEnabledDialog(final Context context) { 46 return new AlertDialog.Builder(context) 54 context.startActivity(intent); 60 public static AlertDialog createHceTapReaderDialog(final Context context, String message) [all...] |