/external/webkit/Source/WebKit2/UIProcess/ |
GenericCallback.h | 47 CallbackBase(void* context) 48 : m_context(context) 53 void* context() const { return m_context; } function in class:WebKit::CallbackBase 70 static PassRefPtr<VoidCallback> create(void* context, CallbackFunction callback) 72 return adoptRef(new VoidCallback(context, callback)); 84 m_callback(0, context()); 94 m_callback(toAPI(error.get()), context()); 100 VoidCallback(void* context, CallbackFunction callback) 101 : CallbackBase(context) 114 static PassRefPtr<GenericCallback> create(void* context, CallbackFunction callback [all...] |
/external/webkit/Source/WebKit2/WebProcess/win/ |
WebProcessWin.cpp | 148 EnumWindowsContext* context = reinterpret_cast<EnumWindowsContext*>(lParam); local 150 if (::GetWindowThreadProcessId(window, 0) != context->currentThreadID) 153 context->windows->append(window); 165 EnumWindowsContext context; local 166 context.currentThreadID = ::GetCurrentThreadId(); 167 context.windows = &windows; 171 ::EnumThreadWindows(context.currentThreadID, addWindowToVectorIfOwnedByCurrentThread, reinterpret_cast<LPARAM>(&context)); 176 ::EnumChildWindows(windows[i], addWindowToVectorIfOwnedByCurrentThread, reinterpret_cast<LPARAM>(&context)); 181 ::EnumChildWindows((*it)->nativeWindow(), addWindowToVectorIfOwnedByCurrentThread, reinterpret_cast<LPARAM>(&context)); [all...] |
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/ |
EventSendingController.cpp | 58 static unsigned arrayLength(JSContextRef context, JSObjectRef array) 61 JSValueRef lengthValue = JSObjectGetProperty(context, array, lengthString.get(), 0); 64 return static_cast<unsigned>(JSValueToNumber(context, lengthValue, 0)); 67 static WKEventModifiers parseModifierArray(JSContextRef context, JSValueRef arrayValue) 71 if (!JSValueIsObject(context, arrayValue)) 74 unsigned length = arrayLength(context, array); 78 JSValueRef value = JSObjectGetPropertyAtIndex(context, array, i, &exception); 81 JSRetainPtr<JSStringRef> string(Adopt, JSValueToStringCopy(context, value, &exception)); 117 JSContextRef context = WKBundleFrameGetJavaScriptContext(frame); local 118 WKEventModifiers modifiers = parseModifierArray(context, modifierArray) 127 JSContextRef context = WKBundleFrameGetJavaScriptContext(frame); local [all...] |
/external/webkit/Tools/WebKitTestRunner/ |
TestController.h | 53 WKContextRef context() { return m_context.get(); } function in class:WTR::TestController
|
/external/webrtc/src/modules/audio_processing/main/test/android/apmtest/jni/ |
main.c | 54 EGLContext context; member in struct:engine 61 * Initialize an EGL context for the current display. 82 EGLContext context; local 102 context = eglCreateContext(display, config, NULL, NULL); 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { 113 engine->context = context; 146 * Tear down the EGL context currently associated with the display. 151 if (engine->context != EGL_NO_CONTEXT) { 152 eglDestroyContext(engine->display, engine->context); [all...] |
/external/wpa_supplicant/ |
crypto.c | 95 SHA_CTX context; local 96 os_memset(&context, 0, sizeof(context)); 97 os_memcpy(&context.h0, state, 5 * 4); 98 SHA1_Transform(&context, data); 99 os_memcpy(state, &context.h0, 5 * 4);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothProfileState.java | 19 import android.content.Context; 59 public void onReceive(Context context, Intent intent) { 91 public BluetoothProfileState(Context context, int profile) { 103 context.registerReceiver(mBroadcastReceiver, filter);
|
/frameworks/base/core/java/android/webkit/ |
SelectActionModeCallback.java | 20 import android.content.Context; 49 final Context context = mWebView.getContext(); local 50 boolean allowText = context.getResources().getBoolean( 53 context.getString(com.android.internal.R.string.textSelectionCABTitle) : null);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 23 import android.content.Context; 42 MockContext context = new MockContext2(); local 43 ListView listView = new ListView(context); 45 Adapter<String> adapter = new Adapter<String>(context, 0, items); 70 MockContext context = new MockContext2(); local 71 ListView listView = new ListView(context); 73 listView.addHeaderView(new View(context), null, false); 75 Adapter<String> adapter = new Adapter<String>(context, 0, items); 107 if (Context.LAYOUT_INFLATER_SERVICE.equals(name)) { 118 public MockView(Context context) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 19 import android.content.Context; 46 final Context context = mActivity.getApplicationContext(); local 47 mViewConfig = ViewConfiguration.get(context);
|
/frameworks/base/libs/rs/driver/ |
rsdGL.h | 38 EGLContext context; member in struct:RsdGLRec::__anon14757 78 bool rsdGLInit(const android::renderscript::Context *rsc); 79 void rsdGLShutdown(const android::renderscript::Context *rsc); 80 bool rsdGLSetSurface(const android::renderscript::Context *rsc, 82 void rsdGLSwap(const android::renderscript::Context *rsc); 83 void rsdGLCheckError(const android::renderscript::Context *rsc,
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpActivity.java | 21 import android.content.Context; 40 private Context context; field in class:VideoDumpActivity 49 context = this; 69 mVideoView.setMediaController(new MediaController(context));
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
NfcAdapterExtras.java | 21 import android.content.Context; 94 Context context = adapter.getContext(); local 95 if (context == null) { 97 "You must pass a context to your NfcAdapter to use the NFC extras APIs");
|
/frameworks/base/opengl/tests/angeles/ |
app-linux.cpp | 83 case EGL_BAD_CONTEXT: return "BAD CONTEXT"; 91 // case EGL_CONTEXT_LOST: return "CONTEXT LOST"; 132 EGLContext context; local 155 context = eglCreateContext(dpy, config, NULL, NULL); 157 fprintf(stderr,"context = %p\n", context); 159 eglMakeCurrent(dpy, surface, surface, context); 167 sEglContext = context;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BluetoothController.java | 23 import android.content.Context; 34 private Context mContext; 41 public BluetoothController(Context context) { 42 mContext = context; 47 context.registerReceiver(this, filter); 62 public void onReceive(Context context, Intent intent) {
|
/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...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityInputFilter.java | 21 import android.content.Context; 37 private final Context mContext; 69 public AccessibilityInputFilter(Context context) { 70 super(context.getMainLooper()); 71 mContext = context;
|
/frameworks/base/services/java/com/android/server/am/ |
CoreSettingsObserver.java | 19 import android.content.Context; 83 Context context = mActivityManagerService.mContext; local 89 String value = Settings.Secure.getString(context.getContentResolver(), 93 int value = Settings.Secure.getInt(context.getContentResolver(), 97 float value = Settings.Secure.getFloat(context.getContentResolver(), 101 long value = Settings.Secure.getLong(context.getContentResolver(),
|
/frameworks/base/services/jni/ |
com_android_server_UsbHostManager.cpp | 136 struct usb_host_context* context = usb_host_init(); local 137 if (!context) { 142 usb_host_run(context, usb_device_added, usb_device_removed, NULL, (void *)thiz);
|
/frameworks/base/test-runner/src/android/test/ |
ProviderTestCase.java | 21 import android.content.Context; 65 new MockContext(), // The context that most methods are delegated to 66 getInstrumentation().getTargetContext(), // The context that file methods are delegated to 97 Context targetContext, Class<T> providerClass, String authority, 103 new MockContext(), // The context that most methods are delegated to 104 targetContext, // The context that file methods are delegated to 106 Context context = new IsolatedContext( local 108 DatabaseUtils.createDbFromSqlStatements(context, databaseName, databaseVersion, sql); 111 provider.attachInfo(context, null) [all...] |
ProviderTestCase2.java | 21 import android.content.Context; 42 * An {@link android.test.IsolatedContext} that stubs out Context methods that might 87 // one created through the regular Context 92 public Context getApplicationContext() { 136 new MockContext2(), // The context that most methods are 138 getContext(), // The context that file methods are delegated to 195 * @param targetContext The context to use as the basis of the IsolatedContext 210 Context targetContext, String filenamePrefix, Class<T> providerClass, String authority, 215 new MockContext(), // The context that most methods are delegated to 216 targetContext, // The context that file methods are delegated t 218 Context context = new IsolatedContext(resolver, targetContextWrapper); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
BridgeInflater.java | 33 import android.content.Context; 61 protected BridgeInflater(LayoutInflater original, Context newContext) { 69 * @param context The Android application context. 72 public BridgeInflater(Context context, IProjectCallback projectCallback) { 73 super(context); 75 mConstructorArgs[0] = context; 156 Context context = getContext() local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderDrawable.java | 65 BridgeContext context = getContext(); local 66 drawableResource = context.getRenderResources().resolveResValue(drawableResource); 74 FrameLayout content = new FrameLayout(context); 77 Drawable d = ResourceHelper.getDrawable(drawableResource, context);
|
/frameworks/media/libvideoeditor/vss/src/ |
VideoEditorResampler.cpp | 80 VideoEditorResampler *context = new VideoEditorResampler(); local 81 context->mResampler = AudioResampler::create( 83 if (context->mResampler == NULL) { 86 context->mResampler->setSampleRate(android::VideoEditorResampler::kFreq32000Hz); 87 context->mResampler->setVolume(0x1000, 0x1000); 88 context->nbChannels = inChannelCount; 89 context->outSamplingRate = sampleRate; 90 context->mInput = NULL; 91 context->mTmpInBuffer = NULL; 93 return ((M4OSA_Context )context); 99 VideoEditorResampler *context = local 114 VideoEditorResampler *context = local 121 VideoEditorResampler *context = local 148 VideoEditorResampler *context = local [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
dynamic_loader.h | 363 /* a context field for use by Dynamic_Loader_Allocate; 366 u32 context; member in struct:LDR_SECTION_INFO 368 uintptr_t context; member in struct:LDR_SECTION_INFO
|