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

<<11121314151617181920>>

  /external/webkit/Source/WebCore/bindings/v8/custom/
V8XMLHttpRequestConstructor.cpp 52 ScriptExecutionContext* context = getScriptExecutionContext();
53 if (!context)
54 return throwError("XMLHttpRequest constructor's associated context is not available", V8Proxy::ReferenceError);
55 RefPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context);
  /external/webkit/Source/WebKit2/UIProcess/API/C/
WKPluginSiteDataManager.h 38 WK_EXPORT void WKPluginSiteDataManagerGetSitesWithData(WKPluginSiteDataManagerRef manager, void* context, WKPluginSiteDataManagerGetSitesWithDataFunction function);
48 WK_EXPORT void WKPluginSiteDataManagerClearSiteData(WKPluginSiteDataManagerRef manager, WKArrayRef sites, WKClearSiteDataFlags flags, uint64_t maxAgeInSeconds, void* context, WKPluginSiteDataManagerClearSiteDataFunction function);
49 WK_EXPORT void WKPluginSiteDataManagerClearAllSiteData(WKPluginSiteDataManagerRef manager, void* context, WKPluginSiteDataManagerClearSiteDataFunction function);
  /frameworks/av/libvideoeditor/osal/src/
M4OSA_Mutex.c 33 /* Context for the mutex */
36 M4OSA_UInt32 coreID; /* mutex context identifiant */
46 * @note This function creates and allocates a unique context. It's the
47 * OSAL real time responsibility for managing its context. It must
48 * be freed by the M4OSA_mutexClose function. The context parameter
51 * @param pContext:(OUT) Context of the created mutex
54 * @return M4ERR_CONTEXT_FAILED: the context creation failed
70 M4OSA_MUTEX, (M4OSA_Char*)"M4OSA_mutexOpen: mutex context");
116 * @brief This method locks the mutex. "Context" identifies the mutex.
120 * @param context:(IN/OUT) Context of the mute
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SqliteWrapper.java 22 import android.content.Context;
47 public static void checkSQLiteException(Context context, SQLiteException e) {
49 Toast.makeText(context, com.android.internal.R.string.low_memory,
56 public static Cursor query(Context context, ContentResolver resolver, Uri uri,
62 checkSQLiteException(context, e);
67 public static boolean requery(Context context, Cursor cursor) {
72 checkSQLiteException(context, e)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
CurrentUserTracker.java 21 import android.content.Context;
29 public CurrentUserTracker(Context context) {
31 context.registerReceiver(this, filter);
40 public void onReceive(Context context, Intent intent) {
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
NumPadKey.java 19 import android.content.Context;
60 public NumPadKey(Context context) {
61 this(context, null);
64 public NumPadKey(Context context, AttributeSet attrs) {
65 this(context, attrs, 0);
68 public NumPadKey(Context context, AttributeSet attrs, int defStyle) {
69 super(context, attrs, defStyle)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
AddNewBookmark.java 19 import android.content.Context;
35 * @param context The application context for the item.
37 AddNewBookmark(Context context) {
38 super(context);
41 LayoutInflater factory = LayoutInflater.from(context);
  /packages/apps/Email/src/com/android/email/mail/transport/
ExchangeSender.java 23 import android.content.Context;
34 public static Sender newInstance(Account account, Context context) throws MessagingException {
35 return new ExchangeSender(context, account);
38 private ExchangeSender(Context context, Account account) {
  /packages/apps/Email/src/com/android/email/service/
EmailServiceUtils.java 20 import android.content.Context;
40 public static void startService(Context context, String intentAction) {
41 context.startService(new Intent(intentAction));
48 * @param context
51 public static IEmailService getService(Context context, String intentAction,
53 return new EmailServiceProxy(context, intentAction, callback);
59 public static boolean isServiceAvailable(Context context, String intentAction)
    [all...]
  /packages/apps/Exchange/exchange2/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...]
  /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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
ImageOnlyEditor.java 19 import android.content.Context;
45 public void createEditor(Context context, FrameLayout frameLayout) {
46 super.createEditor(context, frameLayout);
47 mView = mImageShow = new ImageShow(context);
  /packages/apps/Settings/src/com/android/settings/
TestingSettingsBroadcastReceiver.java 6 import android.content.Context;
19 public void onReceive(Context context, Intent intent) {
22 i.setClass(context, TestingSettings.class);
24 context.startActivity(i);
  /packages/apps/Settings/src/com/android/settings/inputmethod/
SpellCheckersPreference.java 19 import android.content.Context;
26 public SpellCheckersPreference(Context context, AttributeSet attrs) {
27 super(context, attrs);
28 mTsm = (TextServicesManager) context.getSystemService(
29 Context.TEXT_SERVICES_MANAGER_SERVICE);
  /packages/apps/Stk/src/com/android/stk/
BootCompletedReceiver.java 20 import android.content.Context;
31 public void onReceive(Context context, Intent intent) {
38 context.startService(new Intent(context, StkAppService.class)
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProviderBroadcastReceiver.java 21 import android.content.Context;
28 public void onReceive(Context context, Intent intent) {
39 intent.setClass(context, CalendarProviderIntentService.class);
40 context.startService(intent);
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
ShareCodeAction.java 19 import android.content.Context;
26 public static void launch(Context context, CharSequence title) {
27 String shareBody = CodeGenerator.generate(context);
32 context.startActivity(Intent.createChooser(sharingIntent, title));
  /sdk/emulator/opengl/host/libs/Translator/EGL/
MacNative.h 38 void nsWindowMakeCurrent(void* context,void* nativeWin);
39 void nsPBufferMakeCurrent(void* context,void* nativePBuffer,int level);
42 void nsDestroyContext(void* context);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
ShaderChromium.cpp 45 bool VertexShaderPosTex::init(GraphicsContext3D* context, unsigned program)
47 m_matrixLocation = context->getUniformLocation(program, "matrix");
73 bool VertexShaderPosTexYUVStretch::init(GraphicsContext3D* context, unsigned program)
75 m_matrixLocation = context->getUniformLocation(program, "matrix");
76 m_yWidthScaleFactorLocation = context->getUniformLocation(program, "y_widthScaleFactor");
77 m_uvWidthScaleFactorLocation = context->getUniformLocation(program, "uv_widthScaleFactor");
106 bool VertexShaderPos::init(GraphicsContext3D* context, unsigned program)
108 m_matrixLocation = context->getUniformLocation(program, "matrix");
130 bool VertexShaderPosTexTransform::init(GraphicsContext3D* context, unsigned program)
132 m_matrixLocation = context->getUniformLocation(program, "matrix")
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
GraphicsContextCGWin.cpp 56 CGContextRef context = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8, local
60 CGContextTranslateCTM(context, 0, pixelData.size().height());
61 CGContextScaleCTM(context, 1, -1);
66 return context;
82 // Make sure the context starts in sync with our state.
152 CGContextRef context = platformContext(); local
153 CGContextSaveGState(context);
155 CGContextBeginPath(context);
156 CGContextAddPath(context, focusRingPath);
158 wkDrawFocusRing(context, colorRef, radius)
208 CGContextRef context = platformContext(); local
    [all...]
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGResourceGradient.cpp 77 static inline bool createMaskAndSwapContextForTextGradient(GraphicsContext*& context,
97 GraphicsContext* maskImageContext = maskImage->context();
104 savedContext = context;
105 context = maskImageContext;
110 static inline AffineTransform clipToTextMask(GraphicsContext* context,
128 SVGImageBufferTools::clipToImageBuffer(context, absoluteTransform, clampedAbsoluteTargetRect, imageBuffer);
141 bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode)
145 ASSERT(context);
201 context->save();
205 if (!createMaskAndSwapContextForTextGradient(context, m_savedContext, m_imageBuffer, object))
    [all...]
  /external/webkit/Source/JavaScriptCore/parser/
JSParser.cpp 222 template <class TreeBuilder> ALWAYS_INLINE TreeConstDeclList parseConstDeclarationList(TreeBuilder& context);
652 ASTBuilder context(m_globalData, m_lexer);
656 SourceElements* sourceElements = parseSourceElements<CheckForStrictMode>(context);
661 CodeFeatures features = context.features();
671 m_globalData->parser->didFinishParsing(sourceElements, context.varDeclarations(), context.funcDeclarations(), features,
672 m_lastLine, context.numConstants(), capturedVariables);
681 template <JSParser::SourceElementsMode mode, class TreeBuilder> TreeSourceElements JSParser::parseSourceElements(TreeBuilder& context)
683 TreeSourceElements sourceElements = context.createSourceElements();
688 while (TreeStatement statement = parseStatement(context, directive))
    [all...]
  /external/webkit/Source/WebCore/websockets/
WorkerThreadableWebSocketChannel.cpp 52 WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerContext* context, WebSocketChannelClient* client, const String& taskMode, const KURL& url, const String& protocol)
53 : m_workerContext(context)
111 WorkerThreadableWebSocketChannel::Peer::Peer(RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy, ScriptExecutionContext* context, const String& taskMode, const KURL& url, const String& protocol)
114 , m_mainWebSocketChannel(WebSocketChannel::create(context, this, url, protocol))
135 static void workerContextDidSend(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, bool sent)
137 ASSERT_UNUSED(context, context->isWorkerContext());
150 static void workerContextDidGetBufferedAmount(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long bufferedAmount)
152 ASSERT_UNUSED(context, context->isWorkerContext())
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadReceiver.java 27 import android.content.Context;
60 public void onReceive(final Context context, final Intent intent) {
62 mSystemFacade = new RealSystemFacade(context);
71 startService(context);
77 startService(context);
79 final ConnectivityManager connManager = (ConnectivityManager) context
80 .getSystemService(Context.CONNECTIVITY_SERVICE);
83 startService(context);
86 startService(context);
    [all...]
  /external/webkit/Source/WebCore/svg/
SVGLength.cpp 155 float SVGLength::value(const SVGElement* context) const
158 return value(context, ec);
161 float SVGLength::value(const SVGElement* context, ExceptionCode& ec) const
170 return convertValueFromPercentageToUserUnits(m_valueInSpecifiedUnits / 100, context, ec);
172 return convertValueFromEMSToUserUnits(m_valueInSpecifiedUnits, context, ec);
174 return convertValueFromEXSToUserUnits(m_valueInSpecifiedUnits, context, ec);
193 void SVGLength::setValue(float value, const SVGElement* context, ExceptionCode& ec)
203 float result = convertValueFromUserUnitsToPercentage(value, context, ec);
209 float result = convertValueFromUserUnitsToEMS(value, context, ec);
215 float result = convertValueFromUserUnitsToEXS(value, context, ec)
    [all...]

Completed in 1267 milliseconds

<<11121314151617181920>>