/external/webkit/Source/WebKit/gtk/tests/ |
testhittestresult.c | 83 guint context; local 95 g_object_get(result, "context", &context, NULL); 96 g_assert(context & info->flag);
|
/external/webkit/Source/WebKit/gtk/webkit/ |
webkithittestresult.cpp | 39 * This class holds context information about the coordinates 46 guint context; member in struct:_WebKitHitTestResultPrivate 89 g_value_set_flags(value, priv->context); 115 priv->context = g_value_get_flags(value); 149 * WebKitHitTestResult:context: 156 g_param_spec_flags("context", 157 _("Context"), 210 * representative of the information given in the context 214 * whole context and will put WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK 215 * in the 'context' property, but the user might be confused b 239 guint context = WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT; local [all...] |
/external/webkit/Source/WebKit2/UIProcess/API/qt/ |
qwkpage_p.h | 122 QWKContext* context; member in class:QWKPagePrivate
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebProcessProxy.h | 75 WebContext* context() const { return m_context.get(); } function in class:WebKit::WebProcessProxy
|
/external/webkit/Tools/DumpRenderTree/ |
PixelDumpSupport.cpp | 48 RefPtr<BitmapContext> context; local 51 context = createPagedBitmapContext(); 54 context = createBitmapContextFromWebView(gLayoutTestController->testOnscreen(), gLayoutTestController->testRepaint(), gLayoutTestController->testRepaintSweepHorizontally(), gLayoutTestController->dumpSelectionRect()); 55 ASSERT(context); 57 // Compute the hash of the bitmap context pixels 59 computeMD5HashStringForBitmapContext(context.get(), actualHash); 74 dumpBitmap(context.get(), actualHash);
|
/external/webkit/Tools/MiniBrowser/win/ |
BrowserView.cpp | 87 WKContextRef context; local 89 context = WKContextGetSharedThreadContext(); 91 context = WKContextGetSharedProcessContext(); 93 m_webView = WKViewCreate(webViewRect, context, 0, parentWindow->window());
|
/external/webkit/Tools/WebKitTestRunner/cg/ |
TestInvocationCG.cpp | 57 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); local 60 CGContextDrawImage(context, CGRectMake(0, 0, pixelsWide, pixelsHigh), image.get()); 62 return context; 131 CGContextRef context = createCGContextFromImage(image); local 133 // Compute the hash of the bitmap context pixels 135 computeMD5HashStringForContext(context, actualHash); 151 dumpBitmap(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/gesture/ |
GestureLibraries.java | 21 import android.content.Context; 43 public static GestureLibrary fromPrivateFile(Context context, String name) { 44 return fromFile(context.getFileStreamPath(name)); 47 public static GestureLibrary fromRawResource(Context context, int resourceId) { 48 return new ResourceGestureLibrary(context, resourceId); 109 private final WeakReference<Context> mContext; 112 public ResourceGestureLibrary(Context context, int resourceId) 128 final Context context = mContext.get(); local [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothRebootStressTest.java | 19 import android.content.Context; 39 Context context = getInstrumentation().getTargetContext(); local 40 mTestUtils = new BluetoothTestUtils(context, TAG, OUTPUT_FILE);
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
accessorychat.c | 187 struct usb_host_context* context = usb_host_init(); local 188 if (!context) { 194 usb_host_run(context, usb_device_added, usb_device_removed, NULL, NULL);
|
/frameworks/base/media/jni/mediaeditor/ |
VideoEditorPropertiesMain.cpp | 91 M4MCS_Context context = M4OSA_NULL; local 122 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead); 133 // Close the file and free the file context 134 if (context != NULL) { 135 result = M4OSA_fileReadClose(context); 136 context = M4OSA_NULL; 171 // Check if the context is valid and allocation succeeded 291 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead); 296 result = M4OSA_fileReadClose(context); 297 context = M4OSA_NULL 435 M4MCS_Context context = M4OSA_NULL; local [all...] |
/frameworks/base/opengl/tests/fillrate/ |
fillrate.cpp | 42 EGLContext context; local 61 context = eglCreateContext(dpy, config, NULL, NULL); 62 eglMakeCurrent(dpy, surface, surface, context);
|
/frameworks/base/opengl/tests/swapinterval/ |
swapinterval.cpp | 40 EGLContext context; local 82 context = eglCreateContext(dpy, config, NULL, NULL); 83 eglMakeCurrent(dpy, surface, surface, context);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AirplaneModeController.java | 21 import android.content.Context; 35 private Context mContext; 40 public AirplaneModeController(Context context, CompoundButton checkbox) { 41 mContext = context; 49 context.registerReceiver(this, filter); 64 public void onReceive(Context context, Intent intent) {
|
BatteryController.java | 22 import android.content.Context; 35 private Context mContext; 39 public BatteryController(Context context) { 40 mContext = context; 44 context.registerReceiver(this, filter); 55 public void onReceive(Context context, Intent intent) {
|
LocationController.java | 25 import android.content.Context; 45 private Context mContext; 49 public LocationController(Context context) { 50 mContext = context; 55 context.registerReceiver(this, filter); 57 NotificationManager nm = (NotificationManager)context.getSystemService( 58 Context.NOTIFICATION_SERVICE); 63 public void onReceive(Context context, Intent intent) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
SettingsView.java | 20 import android.content.Context; 47 public SettingsView(Context context, AttributeSet attrs) { 48 this(context, attrs, 0); 51 public SettingsView(Context context, AttributeSet attrs, int defStyle) { 52 super(context, attrs, defStyle); 59 final Context context = getContext(); local 61 mAirplane = new AirplaneModeController(context, [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
BroadcastInterceptingContext.java | 20 import android.content.Context; 38 * {@link Context#sendBroadcast(Intent)}. 57 final Context context = BroadcastInterceptingContext.this; local 58 mReceiver.onReceive(context, intent); 79 public BroadcastInterceptingContext(Context base) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
HandlerThread_Delegate.java | 41 public static void cleanUp(BridgeContext context) { 42 List<HandlerThread> list = sThreads.get(context); 49 sThreads.remove(context); 58 BridgeContext context = RenderAction.getCurrentContext(); local 59 List<HandlerThread> list = sThreads.get(context); 62 sThreads.put(context, list);
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
ChipsUtil.java | 21 import android.content.Context; 52 final Context context = view.getContext(); local 53 final ContentResolver resolver = context.getContentResolver();
|
/frameworks/media/libvideoeditor/vss/src/ |
M4PCMR_CoreReader.c | 44 * - initializes PCM context, 48 * @param pContext: (OUT) Pointer on the PCM Reader context 66 M4PCMR_Context *context; local 76 /* Allocates the context */ 77 context = M4OSA_NULL; 78 context = (M4PCMR_Context *)M4OSA_32bitAlignedMalloc(sizeof(M4PCMR_Context), M4WAV_READER, 80 if (M4OSA_NULL == context) 84 *pContext = (M4OSA_Context)context; 86 /* Initialize the context */ 87 context->m_offset = 0 [all...] |
/hardware/ril/mock-ril/src/cpp/ |
mock_ril.cpp | 218 v8::Handle<v8::Context> context_; 221 UnsolicitedThread(v8::Handle<v8::Context> context) : 222 context_(context) { 253 v8::Context::Scope context_scope(context_); 271 void startMockRil(v8::Handle<v8::Context> context) { 277 v8::Handle<v8::Value> functionValue = context->Global()->Get(name); 281 v8::Handle<v8::Value> result = start->Call(context->Global(), 0, NULL); 311 // Make a context and setup a scop 312 v8::Persistent<v8::Context> context = makeJsContext(); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
ClientSessionContextTest.java | 29 ClientSessionContext context = new ClientSessionContext(); local 34 context.putSession(a); 35 context.putSession(b); 37 assertSame(a, context.getSession("a".getBytes())); 38 assertSame(b, context.getSession("b".getBytes())); 40 assertSame(a, context.getSession("a", 443)); 41 assertSame(b, context.getSession("b", 443)); 43 assertEquals(2, context.size()); 46 Enumeration ids = context.getIds(); 48 sessions.add(context.getSession((byte[]) ids.nextElement())) 59 ClientSessionContext context = new ClientSessionContext(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsApplication.java | 29 import android.content.Context; 124 Context context = getApplicationContext(); local 125 PreferenceManager.getDefaultSharedPreferences(context); 126 AccountTypeManager.getInstance(context);
|