HomeSort by relevance Sort by last modified time
    Searched refs:context (Results 401 - 425 of 6481) sorted by null

<<11121314151617181920>>

  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
PhotoAppWidgetProvider.java 23 import android.content.Context;
40 static RemoteViews buildWidget(Context context, int id, Entry entry) {
45 return buildStackWidget(context, id, entry);
47 return buildFrameWidget(context, id, entry);
53 public void onUpdate(Context context,
58 GalleryWidgetMigrator.migrateGalleryWidgets(context);
61 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(context);
66 RemoteViews views = buildWidget(context, id, entry)
    [all...]
  /packages/apps/Mms/src/com/android/mms/widget/
MmsWidgetProvider.java 24 import android.content.Context;
45 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
46 super.onUpdate(context, appWidgetManager, appWidgetIds);
49 updateWidget(context, appWidgetIds[i]);
54 public void onReceive(Context context, Intent intent) {
65 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
66 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context,
73 super.onReceive(context, intent)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DataExporter.java 22 import android.content.Context;
55 public static Uri exportData(Context context) throws IOException {
57 final File outFile = getOutputFile(context, fileName);
60 removeDumpFiles(context);
64 ensureOutputDirectory(context);
68 addDirectory(context, os, context.getFilesDir().getParentFile(), "contacts-files");
99 private static File getOutputDirectory(Context context) {
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/appwidget/
ExampleAppWidgetProvider.java 22 import android.content.Context;
52 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
61 String titlePrefix = ExampleAppWidgetConfigure.loadTitlePref(context, appWidgetId);
62 updateAppWidget(context, appWidgetManager, appWidgetId, titlePrefix);
67 public void onDeleted(Context context, int[] appWidgetIds) {
72 ExampleAppWidgetConfigure.deleteTitlePref(context, appWidgetIds[i]);
77 public void onEnabled(Context context) {
    [all...]
  /external/webkit/Source/WebCore/loader/icon/
IconDatabaseBase.h 57 CallbackBase(void* context)
58 : m_context(context)
63 void* context() const { return m_context; } function in class:WebCore::CallbackBase
81 static PassRefPtr<EnumCallback> create(void* context, CallbackFunction callback)
83 return adoptRef(new EnumCallback(context, callback));
95 m_callback(result, context());
105 EnumCallback(void* context, CallbackFunction callback)
106 : CallbackBase(context)
120 static PassRefPtr<ObjectCallback> create(void* context, CallbackFunction callback)
122 return adoptRef(new ObjectCallback(context, callback))
    [all...]
  /frameworks/base/core/jni/
android_media_ToneGenerator.cpp 37 jfieldID context; member in struct:fields_t
45 fields.context);
58 fields.context);
70 fields.context);
80 fields.context);
83 env->SetIntField(thiz, fields.context, 0);
92 env->SetIntField(thiz, fields.context, 0);
106 env->SetIntField(thiz, fields.context, (int)lpToneGen);
108 ALOGV("ToneGenerator fields.context: %x", env->GetIntField(thiz, fields.context));
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
Alarms.java 25 import android.content.Context;
113 public static long addAlarm(Context context, Alarm alarm) {
115 Uri uri = context.getContentResolver().insert(
121 clearSnoozeIfNeeded(context, timeInMillis);
123 setNextAlert(context);
131 public static void deleteAlarm(Context context, int alarmId) {
134 ContentResolver contentResolver = context.getContentResolver();
136 disableSnoozeAlert(context, alarmId)
    [all...]
  /external/webkit/Source/WebCore/platform/gtk/
RenderThemeGtk3.cpp 87 GRefPtr<GtkStyleContext> context = adoptGRef(gtk_style_context_new()); local
88 gtk_style_context_set_path(context.get(), path);
91 result.first->second = context;
92 return context.get();
126 static void adjustRectForFocus(GtkStyleContext* context, IntRect& rect)
129 gtk_style_context_get_style(context,
137 GtkStyleContext* context = 0; local
143 context = getStyleContext(part == CheckboxPart ? GTK_TYPE_CHECK_BUTTON : GTK_TYPE_RADIO_BUTTON);
146 gtk_style_context_get_style(context, "indicator-spacing", &indicatorSpacing, NULL);
152 context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE)
200 GtkStyleContext* context = getStyleContext(widgetType); local
326 GtkStyleContext* context = getStyleContext(GTK_TYPE_BUTTON); local
559 GtkStyleContext* context = getStyleContext(GTK_TYPE_ENTRY); local
601 GtkStyleContext* context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE); local
636 GtkStyleContext* context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE); local
737 GtkStyleContext* context = getStyleContext(GTK_TYPE_SPIN_BUTTON); local
815 GtkStyleContext* context = getStyleContext(GTK_TYPE_SPIN_BUTTON); local
839 GtkStyleContext* context = getStyleContext(widgetType); local
    [all...]
  /external/icu4c/samples/layout/
clayout.c 27 struct Context
34 typedef struct Context Context;
51 void InitParagraph(HWND hwnd, Context *context)
55 if (context->paragraph != NULL) {
58 if (context->width > 0 && context->height > 0) {
59 pf_breakLines(context->paragraph, context->width, context->height)
121 Context *context; local
    [all...]
layout.cpp 28 struct Context
50 void InitParagraph(HWND hwnd, Context *context)
54 if (context->paragraph != NULL) {
57 if (context->width > 0 && context->height > 0) {
58 context->paragraph->breakLines(context->width, context->height);
64 si.nMax = context->paragraph->getLineCount() - 1
120 Context *context; local
    [all...]
  /external/qemu/
cpu-exec.c 303 /* prepare setjmp context for exception handling */
855 # define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->ss.eip))
856 # define TRAP_sig(context) ((context)->uc_mcontext->es.trapno)
857 # define ERROR_sig(context) ((context)->uc_mcontext->es.err)
858 # define MASK_sig(context) ((context)->uc_sigmask)
862 # define EIP_sig(context) ((context)->uc_mcontext.__gregs[_REG_EIP]
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_xml_parser.cc 18 buzz::XmlParseContext* context, const char* text, int len) {
21 void AutofillXmlParser::EndElement(buzz::XmlParseContext* context,
25 void AutofillXmlParser::Error(buzz::XmlParseContext* context,
41 void AutofillQueryXmlParser::StartElement(buzz::XmlParseContext* context,
44 buzz::QName qname = context->ResolveQName(name, false);
55 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
72 context->RaiseError(XML_ERROR_ABORTED);
79 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
83 int value = GetIntValue(context, attrs[1]);
95 int AutofillQueryXmlParser::GetIntValue(buzz::XmlParseContext* context,
    [all...]
autofill_xml_parser.h 29 // |context| is a parsing context used to resolve element/attribute names.
31 virtual void EndElement(buzz::XmlParseContext* context, const char* name);
34 // |context| is a parsing context used to resolve element/attribute names.
38 virtual void CharacterData(buzz::XmlParseContext* context, const char* text,
42 // |context| is a parsing context used to resolve names.
44 virtual void Error(buzz::XmlParseContext* context, XML_Error error_code);
73 // |context| is a parsing context used to resolve element/attribute names
    [all...]
  /external/webkit/Source/WebCore/webaudio/
AudioNode.cpp 38 AudioNode::AudioNode(AudioContext* context, double sampleRate)
41 , m_context(context)
114 AudioContext::AutoLocker locker(context());
132 // Let context know that a connection has been made.
133 context()->incrementConnectionCount();
141 AudioContext::AutoLocker locker(context());
148 ASSERT(context()->isAudioThread());
157 double currentTime = context()->currentTime();
167 ASSERT(context()->isAudioThread());
204 // The actually work for deref happens completely within the audio context's graph lock
    [all...]
  /packages/apps/Email/src/com/android/email/widget/
WidgetManager.java 19 import android.content.Context;
54 public synchronized void createWidgets(Context context, int[] widgetIds) {
56 getOrCreateWidget(context, widgetId);
60 public synchronized void deleteWidgets(Context context, int[] widgetIds) {
68 remove(context, widgetId);
72 public synchronized void updateWidgets(Context context, int[] widgetIds) {
79 getOrCreateWidget(context, widgetId)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncNamespace.java 39 * @param xctxt The current execution context.
47 int context = getArg0AsNode(xctxt); local
50 if(context != DTM.NULL)
52 DTM dtm = xctxt.getDTM(context);
53 int t = dtm.getNodeType(context);
56 s = dtm.getNamespaceURI(context);
64 s = dtm.getNodeName(context);
68 s = dtm.getNamespaceURI(context);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCursorLoader.java 3 import android.content.Context;
12 private Context context; field in class:ShadowCursorLoader
19 public void __constructor__(Context context) {
20 this.context = context;
23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
24 this.context = context
    [all...]
  /external/v8/src/
contexts.cc 37 Context* Context::declaration_context() {
38 Context* current = this;
47 JSBuiltinsObject* Context::builtins() {
58 Context* Context::global_context() {
59 // Fast case: the global object for this context has been set. In
61 // context.
67 // have to search the context chain to find the global context
256 Object* context = GetHeap()->global_contexts_list(); local
    [all...]
  /external/webkit/Source/WebCore/storage/
SQLCallbackWrapper.h 44 // - by unwrapping and then dereferencing normally - on context thread only
61 ScriptExecutionContext* context; local
74 context = m_scriptExecutionContext.release().leakRef();
77 context->postTask(createCallbackTask(&safeRelease, callback));
92 static void safeRelease(ScriptExecutionContext* context, T* callback)
94 ASSERT(callback && context && context->isContextThread());
96 context->deref();
  /external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
CanHandleRequest.cpp 47 static void setInjectedBundleClient(WKContextRef context)
53 WKContextSetInjectedBundleClient(context, &injectedBundleClient);
58 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("CanHandleRequestTest")); local
59 setInjectedBundleClient(context.get());
61 _WKContextRegisterURLSchemeAsEmptyDocument(context.get(), Util::toWK("emptyscheme").get());
63 PlatformWebView webView(context.get());
67 WKContextPostMessageToInjectedBundle(context.get(), Util::toWK("CheckCanHandleRequest").get(), 0);
  /frameworks/av/libvideoeditor/osal/inc/
LVOSA_FileReader_optim.h 61 M4OSA_ERR M4OSA_fileReadOpen_optim( M4OSA_Context* context,
65 M4OSA_ERR M4OSA_fileReadOpen_optim( M4OSA_Context* context,
71 M4OSA_ERR M4OSA_fileReadData_optim( M4OSA_Context context,
74 M4OSA_ERR M4OSA_fileReadSeek_optim( M4OSA_Context context,
77 M4OSA_ERR M4OSA_fileReadClose_optim( M4OSA_Context context );
78 M4OSA_ERR M4OSA_fileReadGetOption_optim( M4OSA_Context context,
81 M4OSA_ERR M4OSA_fileReadSetOption_optim( M4OSA_Context context,
  /frameworks/base/core/java/android/app/backup/
SharedPreferencesBackupHelper.java 20 import android.content.Context;
47 * // are the same strings that are passed to {@link Context#getSharedPreferences(String, int)}.
74 private Context mContext;
81 * @param context The application {@link android.content.Context}
85 public SharedPreferencesBackupHelper(Context context, String... prefGroups) {
86 super(context);
88 mContext = context;
97 Context context = mContext local
120 Context context = mContext; local
    [all...]
  /frameworks/base/core/java/android/preference/
CheckBoxPreference.java 19 import android.content.Context;
37 public CheckBoxPreference(Context context, AttributeSet attrs, int defStyle) {
38 super(context, attrs, defStyle);
40 TypedArray a = context.obtainStyledAttributes(attrs,
49 public CheckBoxPreference(Context context, AttributeSet attrs) {
50 this(context, attrs, com.android.internal.R.attr.checkBoxPreferenceStyle);
53 public CheckBoxPreference(Context context) {
    [all...]
  /frameworks/base/core/java/android/widget/
TwoLineListItem.java 20 import android.content.Context;
51 public TwoLineListItem(Context context) {
52 this(context, null, 0);
55 public TwoLineListItem(Context context, AttributeSet attrs) {
56 this(context, attrs, 0);
59 public TwoLineListItem(Context context, AttributeSet attrs, int defStyle) {
60 super(context, attrs, defStyle)
    [all...]
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestViewDrawText.java 19 import android.content.Context;
33 public BiDiTestViewDrawText(Context context) {
34 this(context, null);
37 public BiDiTestViewDrawText(Context context, AttributeSet attrs) {
38 this(context, attrs, 0);
41 public BiDiTestViewDrawText(Context context, AttributeSet attrs, int defStyle) {
42 super(context, attrs, defStyle)
    [all...]

Completed in 1836 milliseconds

<<11121314151617181920>>