/external/bluetooth/glib/glib/ |
gmarkup.h | 66 void (*start_element) (GMarkupParseContext *context, 74 void (*end_element) (GMarkupParseContext *context, 81 void (*text) (GMarkupParseContext *context, 92 void (*passthrough) (GMarkupParseContext *context, 101 void (*error) (GMarkupParseContext *context, 110 void g_markup_parse_context_free (GMarkupParseContext *context); 111 gboolean g_markup_parse_context_parse (GMarkupParseContext *context, 115 void g_markup_parse_context_push (GMarkupParseContext *context, 118 gpointer g_markup_parse_context_pop (GMarkupParseContext *context); 120 gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, [all...] |
goption.c | 122 static void free_changes_list (GOptionContext *context, 124 static void free_pending_nulls (GOptionContext *context, 182 return g_quark_from_static_string ("g-option-context-error-quark"); 192 * Creates a new option context. 221 GOptionContext *context; local 223 context = g_new0 (GOptionContext, 1); 225 context->parameter_string = g_strdup (parameter_string); 226 context->help_enabled = TRUE; 227 context->ignore_unknown = FALSE; 229 return context; [all...] |
/external/webkit/JavaScriptCore/API/tests/ |
minidom.c | 37 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception); 46 JSGlobalContextRef context = JSGlobalContextCreateInGroup(NULL, NULL); local 47 JSObjectRef globalObject = JSContextGetGlobalObject(context); 50 JSObjectSetProperty(context, globalObject, printIString, JSObjectMakeFunctionWithCallback(context, printIString, print), kJSPropertyAttributeNone, NULL); 54 JSObjectSetProperty(context, globalObject, node, JSObjectMakeConstructor(context, JSNode_class(context), JSNode_construct), kJSPropertyAttributeNone, NULL); 60 JSValueRef result = JSEvaluateScript(context, script, NULL, NULL, 1, &exception); 65 JSStringRef exceptionIString = JSValueToStringCopy(context, exception, NULL) [all...] |
/external/webkit/WebCore/page/ |
DOMTimer.cpp | 46 DOMTimer::DOMTimer(ScriptExecutionContext* context, ScheduledAction* action, int timeout, bool singleShot) 47 : ActiveDOMObject(context, this) 85 int DOMTimer::install(ScriptExecutionContext* context, ScheduledAction* action, int timeout, bool singleShot) 87 // DOMTimer constructor links the new timer into a list of ActiveDOMObjects held by the 'context'. 88 // The timer is deleted when context is deleted (DOMTimer::contextDestroyed) or explicitly via DOMTimer::removeById(), 90 DOMTimer* timer = new DOMTimer(context, action, timeout, singleShot); 93 if (InspectorTimelineAgent* timelineAgent = InspectorTimelineAgent::retrieve(context)) 100 void DOMTimer::removeById(ScriptExecutionContext* context, int timeoutId) 109 if (InspectorTimelineAgent* timelineAgent = InspectorTimelineAgent::retrieve(context)) 113 delete context->findTimeout(timeoutId) 118 ScriptExecutionContext* context = scriptExecutionContext(); local [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 86 static void setCGFillColor(CGContextRef context, const Color& color, ColorSpace colorSpace) 89 CGContextSetFillColorWithColor(context, cgColor); 93 static void setCGStrokeColor(CGContextRef context, const Color& color, ColorSpace colorSpace) 96 CGContextSetStrokeColorWithColor(context, cgColor); 100 static void setCGFillColorSpace(CGContextRef context, ColorSpace colorSpace) 106 CGContextSetFillColorSpace(context, sRGBColorSpaceRef()); 114 static void setCGStrokeColorSpace(CGContextRef context, ColorSpace colorSpace) 120 CGContextSetStrokeColorSpace(context, sRGBColorSpaceRef()); 151 // Make sure the context starts in sync with our state. 173 // save of the secondary context (in GraphicsContextPlatformPrivateCG.h) 270 CGContextRef context = platformContext(); local 721 CGContextRef context = platformContext(); local 774 CGContextRef context = platformContext(); local [all...] |
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 19 import android.content.Context; 33 private Context mContext; 37 * @deprecated Use {@link #ImageSpan(Context, Bitmap)} instead. 45 * @deprecated Use {@link #ImageSpan(Context, Bitmap, int) instead. 52 public ImageSpan(Context context, Bitmap b) { 53 this(context, b, ALIGN_BOTTOM); 60 public ImageSpan(Context context, Bitmap b, int verticalAlignment) { 62 mContext = context; [all...] |
/frameworks/base/services/java/com/android/server/ |
AttributeCache.java | 20 import android.content.Context; 38 private final Context mContext; 44 public final Context context; field in class:AttributeCache.Package 48 public Package(Context c) { 49 context = c; 54 public final Context context; field in class:AttributeCache.Entry 57 public Entry(Context c, TypedArray ta) { 58 context = c 111 Context context; local [all...] |
/external/webkit/WebCore/websockets/ |
WorkerThreadableWebSocketChannel.cpp | 52 WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerContext* context, WebSocketChannelClient* client, const String& taskMode, const KURL& url, const String& protocol) 53 : m_workerContext(context) 97 WorkerThreadableWebSocketChannel::Peer::Peer(RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy, ScriptExecutionContext* context, const String& taskMode, const KURL& url, const String& protocol) 100 , m_mainWebSocketChannel(WebSocketChannel::create(context, this, url, protocol)) 121 static void workerContextDidSend(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, bool sent) 123 ASSERT_UNUSED(context, context->isWorkerContext()); 136 static void workerContextDidGetBufferedAmount(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long bufferedAmount) 138 ASSERT_UNUSED(context, context->isWorkerContext()) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
DelegatedTask.java | 32 private final AccessControlContext context; field in class:DelegatedTask 38 * @param context 40 public DelegatedTask(PrivilegedExceptionAction<Void> action, HandshakeProtocol handshaker, AccessControlContext context) { 43 this.context = context; 52 AccessController.doPrivileged(action, context);
|
/libcore/luni/src/main/java/org/apache/xpath/functions/ |
FuncLocalPart.java | 39 * @param xctxt The current execution context. 47 int context = getArg0AsNode(xctxt); local 48 if(DTM.NULL == context) 50 DTM dtm = xctxt.getDTM(context); 51 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
AnalogAppWidgetProvider.java | 25 import android.content.Context; 35 public void onReceive(Context context, Intent intent) { 39 RemoteViews views = new RemoteViews(context.getPackageName(), 43 PendingIntent.getActivity(context, 0, 44 new Intent(context, AlarmClock.class), 50 AppWidgetManager gm = AppWidgetManager.getInstance(context);
|
/packages/apps/Email/tests/src/com/android/exchange/ |
SyncManagerTest.java | 19 import android.content.Context; 29 public MyContext(Context base) { 41 final MyContext context = new MyContext(getContext()); local 43 final String id = SyncManager.getDeviceId(context); 51 context.isGetFileStreamPathCalled = false; 52 final String cachedId = SyncManager.getDeviceId(context); 57 assertFalse(context.isGetFileStreamPathCalled);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ClippedImageView.java | 19 import android.content.Context; 29 public ClippedImageView(Context context, AttributeSet attrs) { 30 this(context, attrs, 0); 33 public ClippedImageView(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle); 36 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ClippedImageView, defStyle, 0);
|
/packages/apps/Phone/src/com/android/phone/ |
SpecialCharSequenceMgr.java | 21 import android.content.Context; 52 * @param context input Context for the events we handle. 55 static boolean handleChars(Context context, String input) { 56 return handleChars(context, input, null); 72 * @param context input Context for the events we handle. 81 static boolean handleChars(Context context, [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CorporaUpdateReceiver.java | 21 import android.content.Context; 34 public void onReceive(Context context, Intent intent) { 39 updateCorpora(context); 40 SearchWidgetProvider.updateSearchWidgets(context); 44 private void updateCorpora(Context context) { 45 QsbApplication.get(context).updateCorpora();
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
ClearUserDictionaryDialogPreferenceEN.java | 19 import android.content.Context; 31 /** The context */ 32 protected Context mContext = null; 37 * @param context The context 40 public ClearUserDictionaryDialogPreferenceEN(Context context, AttributeSet attrs) { 41 super(context, attrs); 42 mContext = context; 48 * @param context The contex [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
ClearLearnDictionaryDialogPreferenceJAJP.java | 19 import android.content.Context; 31 /** The context */ 32 protected Context mContext = null; 37 * @param context The context 40 public ClearLearnDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) { 41 super(context, attrs); 42 mContext = context; 48 * @param context The contex [all...] |
ClearUserDictionaryDialogPreferenceJAJP.java | 19 import android.content.Context; 31 /** The context */ 32 protected Context mContext = null; 37 * @param context The context 40 public ClearUserDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) { 41 super(context, attrs); 42 mContext = context; 48 * @param context The contex [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoundManager.java | 19 import android.content.Context; 27 private Context mContext; 33 private SoundManager(Context context) { 34 mContext = context; 41 .getSystemService(Context.AUDIO_SERVICE); 46 public static SoundManager getInstance(Context context) { 48 if (null != context) { 49 mInstance = new SoundManager(context); [all...] |
/external/webkit/WebCore/platform/graphics/cairo/ |
FontCairo.cpp | 44 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, 47 cairo_t* cr = context->platformContext(); 61 Color fillColor = context->fillColor(); 75 bool hasShadow = context->textDrawingMode() == cTextFill && 76 context->getShadow(shadowSize, shadowBlur, shadowColor); 80 // Disable graphics context shadows (not yet implemented) and paint them manually 81 context->clearShadow(); 101 GraphicsContext* shadowContext = shadowBuffer->context(); 115 context->createPlatformShadow(shadowBuffer.release(), shadowColor, shadowRect, kernelSize); 130 if (context->textDrawingMode() & cTextFill) [all...] |
/external/webkit/JavaScriptCore/wtf/ |
MainThread.cpp | 41 void* context; member in struct:WTF::FunctionWithContext 44 FunctionWithContext(MainThreadFunction* function = 0, void* context = 0, ThreadCondition* syncFlag = 0) 46 , context(context) 96 invocation.function(invocation.context); 111 void callOnMainThread(MainThreadFunction* function, void* context) 118 functionQueue().append(FunctionWithContext(function, context)); 124 void callOnMainThreadAndWait(MainThreadFunction* function, void* context) 129 function(context); 136 functionQueue().append(FunctionWithContext(function, context, &syncFlag)) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/ |
GCController.cpp | 45 static JSValueRef collectCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 49 return JSValueMakeUndefined(context); 52 static JSValueRef collectOnAlternateThreadCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 56 waitUntilDone = JSValueToBoolean(context, arguments[0]); 61 return JSValueMakeUndefined(context); 64 static JSValueRef getJSObjectCountCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 69 return JSValueMakeNumber(context, jsObjectCount); 74 void GCController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exception) 79 JSValueRef gcControllerObject = JSObjectMake(context, classRef, this); 82 JSObjectSetProperty(context, windowObject, gcControllerStr.get(), gcControllerObject, kJSPropertyAttributeReadOnly | kJSProper (…) [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiver.java | 20 import android.content.Context; 35 public void onReceive(Context context, Intent intent) { 36 onReceiveWithPrivilege(context, intent, false); 39 protected void onReceiveWithPrivilege(Context context, Intent intent, boolean privileged) { 45 startConfigService(context); 49 startConfigService(context); 58 intent.setClass(context, CellBroadcastAlertService.class); 59 context.startService(intent) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/win/ |
EventSender.cpp | 63 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) 65 return JSValueMakeBoolean(context, dragMode); 68 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception) 70 dragMode = JSValueToBoolean(context, value); 74 static JSValueRef getConstantCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) 77 return JSValueMakeNumber(context, WM_KEYDOWN); 79 return JSValueMakeNumber(context, WM_KEYUP); 81 return JSValueMakeNumber(context, WM_CHAR); 83 return JSValueMakeNumber(context, WM_DEADCHAR); 85 return JSValueMakeNumber(context, WM_SYSKEYDOWN) [all...] |
/external/webkit/WebCore/loader/ |
WorkerThreadableLoader.cpp | 104 void WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader(ScriptExecutionContext* context, MainThreadBridge* thisPtr, auto_ptr<CrossThreadResourceRequestData> requestData, ThreadableLoaderOptions options) 107 ASSERT(context->isDocument()); 116 thisPtr->m_mainThreadLoader = ThreadableLoader::create(context, thisPtr, *request, options); 120 void WorkerThreadableLoader::MainThreadBridge::mainThreadDestroy(ScriptExecutionContext* context, MainThreadBridge* thisPtr) 123 ASSERT_UNUSED(context, context->isDocument()); 129 // Ensure that no more client callbacks are done in the worker context's thread. 136 void WorkerThreadableLoader::MainThreadBridge::mainThreadCancel(ScriptExecutionContext* context, MainThreadBridge* thisPtr) 139 ASSERT_UNUSED(context, context->isDocument()) [all...] |