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

1 2 3 4 56 7 8 91011>>

  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCVideoLayerImpl.cpp 106 GraphicsContext3D* context = layerRenderer()->context(); local
111 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE1));
112 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, yTexture.id));
113 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE2));
114 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, uTexture.id))
144 GraphicsContext3D* context = layerRenderer()->context(); local
    [all...]
  /external/webkit/Source/JavaScriptCore/API/tests/
JSNode.c 36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
41 if (!JSValueIsObjectOfClass(context, thisObject, JSNode_class(context))) {
43 *exception = JSValueMakeString(context, message);
45 } else if (argumentCount < 1 || !JSValueIsObjectOfClass(context, arguments[0], JSNode_class(context))) {
47 *exception = JSValueMakeString(context, message);
51 Node* child = JSObjectGetPrivate(JSValueToObject(context, arguments[0], NULL));
56 return JSValueMakeUndefined(context);
59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], (…)
    [all...]
JSNodeList.c 33 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
40 Node* node = NodeList_item(nodeList, (unsigned)JSValueToNumber(context, arguments[0], exception));
42 return JSNode_new(context, node);
45 return JSValueMakeUndefined(context);
53 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
60 return JSValueMakeNumber(context, NodeList_length(nodeList));
68 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
72 double index = JSValueToNumber(context, JSValueMakeString(context, propertyName), exception);
77 return JSNode_new(context, node)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
RotationPolicy.java 19 import android.content.Context;
50 public static boolean isRotationLockToggleSupported(Context context) {
51 return context.getResources().getConfiguration().smallestScreenWidthDp >= 600;
57 public static boolean isRotationLockToggleVisible(Context context) {
58 return isRotationLockToggleSupported(context) &&
59 Settings.System.getIntForUser(context.getContentResolver(),
67 public static boolean isRotationLocked(Context context) {
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
TexShader.cpp 41 TexShader::TexShader(GraphicsContext3D* context, unsigned program)
42 : Shader(context, program)
44 m_matrixLocation = context->getUniformLocation(program, "matrix");
45 m_texMatrixLocation = context->getUniformLocation(program, "texMatrix");
46 m_alphaLocation = context->getUniformLocation(program, "globalAlpha");
47 m_positionLocation = context->getAttribLocation(program, "position");
48 m_samplerLocation = context->getUniformLocation(program, "sampler");
51 PassOwnPtr<TexShader> TexShader::create(GraphicsContext3D* context)
53 unsigned program = loadProgram(context,
58 return new TexShader(context, program)
    [all...]
  /external/webkit/Source/WebKit/chromium/src/
LocalFileSystemChromium.cpp 69 static void openFileSystemHelper(ScriptExecutionContext* context, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronous, long long size, CreationFlag create)
71 ASSERT(context);
72 if (context->isDocument()) {
73 Document* document = static_cast<Document*>(context);
77 WorkerContext* workerContext = static_cast<WorkerContext*>(context);
80 webWorker->openFileSystemForWorker(static_cast<WebFileSystem::Type>(type), size, create == CreateIfNotPresent, new WebFileSystemCallbacksImpl(callbacks, type, context, synchronous), synchronous);
84 void LocalFileSystem::readFileSystem(ScriptExecutionContext* context, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronous)
86 openFileSystemHelper(context, type, callbacks, synchronous, 0, OpenExisting);
89 void LocalFileSystem::requestFileSystem(ScriptExecutionContext* context, AsyncFileSystem::Type type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronous)
91 openFileSystemHelper(context, type, callbacks, synchronous, size, CreateIfNotPresent)
    [all...]
  /external/webkit/Source/WebKit/mac/Plugins/
WebNetscapeContainerCheckContextInfo.mm 32 - (id)initWithCheckRequestID:(uint32_t)checkRequestID callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context
40 _context = context;
54 - (void*)context
  /external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
JSWrapper.cpp 33 JSValueRef JSWrapper::wrap(JSContextRef context, JSWrappable* object)
35 ASSERT_ARG(context, context);
38 return JSValueMakeNull(context);
42 JSObjectRef wrapperObject = JSObjectMake(context, objectClass, object);
48 JSWrappable* JSWrapper::unwrap(JSContextRef context, JSValueRef value)
50 ASSERT_ARG(context, context);
52 if (!context || !value)
54 return static_cast<JSWrappable*>(JSObjectGetPrivate(JSValueToObject(context, value, 0)))
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
CompatTextView.java 19 import android.content.Context;
35 public CompatTextView(Context context) {
36 this(context, null);
39 public CompatTextView(Context context, AttributeSet attrs) {
40 this(context, attrs, 0);
43 public CompatTextView(Context context, AttributeSet attrs, int defStyle) {
44 super(context, attrs, defStyle)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PackagesMonitor.java 21 import android.content.Context;
32 public synchronized static int getPackagesVersion(Context context) {
33 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
38 public void onReceive(final Context context, final Intent intent) {
39 intent.setClass(context, AsyncService.class);
40 context.startService(intent);
55 private static void onReceiveAsync(Context context, Intent intent)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothManager.java 19 import android.content.Context;
34 private final Context mContext;
37 private Context mForegroundActivity;
51 public static synchronized LocalBluetoothManager getInstance(Context context) {
58 Context appContext = context.getApplicationContext();
73 private LocalBluetoothManager(LocalBluetoothAdapter adapter, Context context) {
74 mContext = context;
    [all...]
  /frameworks/base/core/java/android/appwidget/
AppWidgetProvider.java 20 import android.content.Context;
28 * {@link #onReceive(Context,Intent) onReceive(Context,Intent)}, and calls hook methods
53 * @param context The Context in which the receiver is running.
57 public void onReceive(Context context, Intent intent) {
66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
74 this.onDeleted(context, new int[] { appWidgetId })
    [all...]
  /external/ipsec-tools/src/racoon/missing/crypto/sha2/
sha2.c 334 void SHA256_Init(SHA256_CTX* context) {
335 if (context == (SHA256_CTX*)0) {
338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH);
339 bzero(context->buffer, SHA256_BLOCK_LENGTH);
340 context->bitcount = 0;
380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) {
385 W256 = (sha2_word32*)context->buffer;
388 a = context->state[0];
389 b = context->state[1];
390 c = context->state[2]
653 SHA256_CTX context; local
982 SHA512_CTX context; local
1057 SHA384_CTX context; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/file/
SDL_rwops.c 48 static int SDLCALL win32_file_open(SDL_RWops *context, const char *filename, const char *mode)
58 if (!context)
61 context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */
62 context->hidden.win32io.buffer.data = NULL;
63 context->hidden.win32io.buffer.size = 0;
64 context->hidden.win32io.buffer.left = 0;
82 context->hidden.win32io.buffer.data = (char *)SDL_malloc(READAHEAD_BUFFER_SIZE);
83 if (!context->hidden.win32io.buffer.data) {
95 SDL_free(context->hidden.win32io.buffer.data);
96 context->hidden.win32io.buffer.data = NULL
    [all...]
  /external/webkit/Source/WebKit/chromium/tests/
TransparencyWinTest.cpp 50 static void drawNativeRect(GraphicsContext* context,
53 SkCanvas* canvas = context->platformContext()->canvas();
67 static Color getPixelAt(GraphicsContext* context, int x, int y)
69 const SkBitmap& bitmap = context->platformContext()->canvas()->getTopDevice()->accessBitmap(false);
75 static void clearTopLayerAlphaChannel(GraphicsContext* context)
77 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()->canvas()->getTopDevice()->accessBitmap(false));
86 static void clearTopLayerAlphaPixel(GraphicsContext* context, int x, int y)
88 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()->canvas()->getTopDevice()->accessBitmap(false));
108 helper.init(src->context(),
113 EXPECT_TRUE(src->context() == helper.context())
    [all...]
  /frameworks/av/libvideoeditor/osal/src/
M4OSA_Semaphore.c 40 /* Context for the semaphore */
42 M4OSA_UInt32 coreID; /* semaphore context identifiant */
53 * @note This function creates and allocates a unique context. It's the
54 * OSAL real time responsibility for managing its context. It must
55 * be freed by the M4OSA_semaphoreClose function. The context
58 * @param context:(OUT) Context of the created semaphore
61 * @return M4ERR_PARAMETER: provided context is NULL
63 * @return M4ERR_CONTEXT_FAILED: the context creation failed
66 M4OSA_ERR M4OSA_semaphoreOpen(M4OSA_Context* context,
    [all...]
  /external/webkit/Tools/DumpRenderTree/
LayoutTestController.cpp 101 static JSValueRef dumpApplicationCacheDelegateCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
105 return JSValueMakeUndefined(context);
108 static JSValueRef dumpAsPDFCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
112 return JSValueMakeUndefined(context);
115 static JSValueRef dumpAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
121 controller->setGeneratePixelResults(argumentCount > 0 ? JSValueToBoolean(context, arguments[0]) : false);
123 return JSValueMakeUndefined(context);
126 static JSValueRef dumpBackForwardListCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
130 return JSValueMakeUndefined(context);
133 static JSValueRef dumpChildFramesAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], (…)
    [all...]
  /cts/tests/acceleration/src/android/acceleration/cts/
AcceleratedView.java 19 import android.content.Context;
33 public AcceleratedView(Context context) {
34 super(context);
37 public AcceleratedView(Context context, AttributeSet attrs) {
38 super(context, attrs);
41 public AcceleratedView(Context context, AttributeSet attrs, int defStyle) {
42 super(context, attrs, defStyle)
    [all...]
  /cts/tests/src/android/widget/cts/
MyHorizontalScrollView.java 19 import android.content.Context;
26 public MyHorizontalScrollView(Context context) {
27 super(context);
30 public MyHorizontalScrollView(Context context, AttributeSet attrs) {
31 super(context, attrs);
34 public MyHorizontalScrollView(Context context, AttributeSet attrs, int defStyle) {
35 super(context, attrs, defStyle)
    [all...]
MyScrollView.java 19 import android.content.Context;
26 public MyScrollView(Context context) {
27 super(context);
30 public MyScrollView(Context context, AttributeSet attrs) {
31 super(context, attrs);
34 public MyScrollView(Context context, AttributeSet attrs, int defStyle) {
35 super(context, attrs, defStyle)
    [all...]
  /development/apps/Development/src/com/android/development/
LogTextBox.java 20 import android.content.Context;
41 public LogTextBox(Context context) {
42 this(context, null);
45 public LogTextBox(Context context, AttributeSet attrs) {
46 this(context, attrs, android.R.attr.textViewStyle);
49 public LogTextBox(Context context, AttributeSet attrs, int defStyle) {
50 super(context, attrs, defStyle)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/text/
LogTextBox.java 20 import android.content.Context;
38 public LogTextBox(Context context) {
39 this(context, null);
42 public LogTextBox(Context context, AttributeSet attrs) {
43 this(context, attrs, android.R.attr.textViewStyle);
46 public LogTextBox(Context context, AttributeSet attrs, int defStyle) {
47 super(context, attrs, defStyle)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
GameFlowEvent.java 19 import android.content.Context;
36 public void post(int event, int index, Context context) {
37 if (context instanceof AndouKun) {
41 mMainActivity = (AndouKun)context;
46 public void postImmediate(int event, int index, Context context) {
47 if (context instanceof AndouKun) {
51 mMainActivity = (AndouKun)context;
YesNoDialogPreference.java 19 import android.content.Context;
30 public YesNoDialogPreference(Context context, AttributeSet attrs) {
31 this(context, attrs, android.R.attr.yesNoPreferenceStyle);
35 public YesNoDialogPreference(Context context, AttributeSet attrs,
37 super(context, attrs, defStyle);
41 public YesNoDialogPreference(Context context) {
42 this(context, null)
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8CustomPositionCallback.cpp 38 V8CustomPositionCallback::V8CustomPositionCallback(v8::Local<v8::Object> callback, ScriptExecutionContext* context)
39 : PositionCallback(context)
63 v8::Handle<v8::Context> context = proxy->context();
64 if (context.IsEmpty())
67 v8::Context::Scope scope(context);
73 // Protect the script context until the callback returns.

Completed in 670 milliseconds

1 2 3 4 56 7 8 91011>>