/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioSummingJunction.cpp | 37 AudioSummingJunction::AudioSummingJunction(AudioContext* context) 38 : m_context(context) 42 ASSERT(context); 63 ASSERT(context()->isGraphOwner()); 65 context()->markSummingJunctionDirty(this); 72 ASSERT(context()->isAudioThread() && context()->isGraphOwner());
|
AudioBasicInspectorNode.cpp | 37 AudioBasicInspectorNode::AudioBasicInspectorNode(AudioContext* context, float sampleRate, unsigned outputChannelCount) 38 : AudioNode(context, sampleRate) 58 AudioContext::AutoLocker locker(context()); 68 AudioContext::AutoLocker locker(context()); 76 ASSERT(context()->isAudioThread() && context()->isGraphOwner()); 96 ASSERT(context()->isGraphOwner()); 100 // downstream node, thus remove it from the context's automatic pull list. 102 context()->removeAutomaticPullNode(this); 109 // upstream node(s), add it to the context's automatic pull list [all...] |
/external/chromium_org/tools/cr/cr/actions/ |
gyp.py | 23 gyp_defines = cr.context.Find('GYP_DEFINES') or '' 24 for key, value in cr.context.exported.items(): 27 cr.context['GYP_DEFINES'] = gyp_defines.strip() 28 if cr.context.verbose >= 1: 29 print cr.context.Substitute('GYP_DEFINES = {GYP_DEFINES}') 32 if cr.context.verbose >= 1: 33 print cr.context.Substitute('Invoking gyp with {GYP_GENERATOR_FLAGS}')
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ListRowView.java | 17 import android.content.Context; 30 public ListRowView(Context context) { 31 this(context, null); 34 public ListRowView(Context context, AttributeSet attrs) { 35 this(context, attrs, 0); 38 public ListRowView(Context context, AttributeSet attrs, int defStyle) { 39 super(context, attrs, defStyle) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
TintButton.java | 19 import android.content.Context; 37 public TintButton(Context context) { 38 this(context, null); 41 public TintButton(Context context, AttributeSet attrs) { 42 this(context, attrs, android.R.attr.buttonStyle); 45 public TintButton(Context context, AttributeSet attrs, int defStyleAttr) { 46 super(context, attrs, defStyleAttr) [all...] |
TintCheckBox.java | 19 import android.content.Context; 36 public TintCheckBox(Context context) { 37 this(context, null); 40 public TintCheckBox(Context context, AttributeSet attrs) { 41 this(context, attrs, android.R.attr.checkboxStyle); 44 public TintCheckBox(Context context, AttributeSet attrs, int defStyleAttr) { 45 super(context, attrs, defStyleAttr) [all...] |
TintCheckedTextView.java | 19 import android.content.Context; 37 public TintCheckedTextView(Context context) { 38 this(context, null); 41 public TintCheckedTextView(Context context, AttributeSet attrs) { 42 this(context, attrs, android.R.attr.checkedTextViewStyle); 45 public TintCheckedTextView(Context context, AttributeSet attrs, int defStyleAttr) { 46 super(context, attrs, defStyleAttr) [all...] |
TintEditText.java | 19 import android.content.Context; 35 public TintEditText(Context context) { 36 this(context, null); 39 public TintEditText(Context context, AttributeSet attrs) { 40 this(context, attrs, android.R.attr.editTextStyle); 43 public TintEditText(Context context, AttributeSet attrs, int defStyleAttr) { 44 super(context, attrs, defStyleAttr) [all...] |
TintRadioButton.java | 19 import android.content.Context; 37 public TintRadioButton(Context context) { 38 this(context, null); 41 public TintRadioButton(Context context, AttributeSet attrs) { 42 this(context, attrs, android.R.attr.radioButtonStyle); 45 public TintRadioButton(Context context, AttributeSet attrs, int defStyleAttr) { 46 super(context, attrs, defStyleAttr) [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkWidgetProxy.java | 22 import android.content.Context; 31 public void onReceive(Context context, Intent intent) { 33 BookmarkThumbnailWidgetService.changeFolder(context, intent); 35 startActivity(context, 37 null, context, BrowserActivity.class)); 41 startActivity(context, view); 45 void startActivity(Context context, Intent intent) { 48 context.startActivity(intent) [all...] |
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
fetch.c | 47 context_init(struct fetch_context *context, struct process *proc) 49 if (aarch64_read_gregs(proc, &context->gregs) < 0 50 || aarch64_read_fregs(proc, &context->fpregs) < 0) 53 context->ngrn = 0; 54 context->nsrn = 0; 56 context->nsaa = (arch_addr_t) (uintptr_t) context->gregs.sp; 57 context->x8 = 0; 63 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) 68 return memcpy(ret, context, sizeof(*ret)) 292 struct fetch_context *context = malloc(sizeof *context); local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
LeanbackTransitionHelper.java | 17 import android.content.Context; 33 public Object loadTitleInTransition(Context context, TransitionHelper helper); 35 public Object loadTitleOutTransition(Context context, TransitionHelper helper); 45 public Object loadTitleInTransition(Context context, TransitionHelper helper) { 46 return LeanbackTransitionHelperKitKat.loadTitleInTransition(context); 50 public Object loadTitleOutTransition(Context context, TransitionHelper helper) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhoneCapabilityTester.java | 20 import android.content.Context; 48 public static boolean isIntentRegistered(Context context, Intent intent) { 49 final PackageManager packageManager = context.getPackageManager(); 58 public static boolean isPhone(Context context) { 59 if (!sIsInitialized) initialize(context); 64 private static void initialize(Context context) { 65 final TelephonyManager telephonyManager = new TelephonyManager(context); [all...] |
/ndk/sources/android/crazy_linker/include/ |
crazy_linker.h | 50 // Opaque handle to a context object that will hold parameters 55 // The context holds a list of library search paths, initialized to 58 // The context also holds a string buffer to hold error messages that 62 // Create a new context object. 67 const char* crazy_context_get_error(crazy_context_t* context) _CRAZY_PUBLIC; 69 // Clear error in a given context. 70 void crazy_context_clear_error(crazy_context_t* context) _CRAZY_PUBLIC; 72 // Set the explicit load address in a context object. Value 0 means 74 void crazy_context_set_load_address(crazy_context_t* context, 77 // Return the current load address in a context [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
WorkerLoaderClientBridge.cpp | 52 static void workerGlobalScopeDidSendData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) 54 ASSERT_UNUSED(context, context->isWorkerGlobalScope()); 63 static void workerGlobalScopeDidReceiveResponse(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long identifier, PassOwnPtr<CrossThreadResourceResponseData> responseData) 65 ASSERT_UNUSED(context, context->isWorkerGlobalScope()); 75 static void workerGlobalScopeDidReceiveData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) 77 ASSERT_UNUSED(context, context->isWorkerGlobalScope()); 88 static void workerGlobalScopeDidDownloadData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, int dataLength [all...] |
/external/deqp/modules/glshared/ |
glsLongStressTestUtil.cpp | 126 gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragmentTemplate).c_str(), "a_position"); 128 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); 131 context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float)numDummyAttributes))); 133 return context; 161 gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str(), "a_position"); 163 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-positionFactor), Vec3(positionFactor))); 164 context.attributes.push_back(gls::VarSpec("a_texCoord", Vec2(0.0f), Vec2(1.0f))); 166 context.uniforms.push_back(gls::VarSpec("u_sampler", 0)); 167 context.uniforms.push_back(gls::VarSpec("u_posTrans", translationMat<4>(positionFactor-1.0f), translationMat<4>(1.0f-positionFactor))); 170 context.textureSpecs.push_back(gls::TextureSpec(gls::TextureTestUtil::TEXTURETYPE_2D, 0 [all...] |
/external/chromium_org/net/spdy/fuzzing/ |
hpack_fuzz_util.cc | 49 void HpackFuzzUtil::InitializeGeneratorContext(GeneratorContext* context) { 51 context->names.push_back(":authority"); 52 context->names.push_back(":path"); 53 context->names.push_back(":status"); 54 context->names.push_back("cookie"); 55 context->names.push_back("content-type"); 56 context->names.push_back("cache-control"); 57 context->names.push_back("date"); 58 context->names.push_back("user-agent"); 59 context->names.push_back("via") [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
ContextCompat.java | 19 import android.content.Context; 33 * Helper for accessing features in {@link android.content.Context} 65 * @param context Start activities using this activity as the starting context 70 public static boolean startActivities(Context context, Intent[] intents) { 71 return startActivities(context, intents, null); 94 * @param context Start activities using this activity as the starting context 98 * See {@link android.content.Context#startActivity(Intent, Bundle [all...] |
/external/apache-http/src/org/apache/http/client/protocol/ |
ClientContextConfigurer.java | 50 private final HttpContext context; field in class:ClientContextConfigurer 52 public ClientContextConfigurer (final HttpContext context) { 53 if (context == null) 54 throw new IllegalArgumentException("HTTP context may not be null"); 55 this.context = context; 59 this.context.setAttribute(COOKIESPEC_REGISTRY, registry); 63 this.context.setAttribute(AUTHSCHEME_REGISTRY, registry); 67 this.context.setAttribute(COOKIE_STORE, store); 71 this.context.setAttribute(CREDS_PROVIDER, provider) [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
spellcheck_factory.cc | 19 content::BrowserContext* context) { 21 GetInstance()->GetServiceForBrowserContext(context, true)); 31 content::BrowserContext* context = host->GetBrowserContext(); 32 if (!context) 34 return GetForContext(context); 53 content::BrowserContext* context) const { 54 // Many variables are initialized from the |context| in the SpellcheckService. 55 SpellcheckService* spellcheck = new SpellcheckService(context); 57 PrefService* prefs = user_prefs::UserPrefs::Get(context); 89 content::BrowserContext* context) const [all...] |
/external/chromium_org/components/keyed_service/content/ |
browser_context_keyed_base_factory.h | 38 // |context|. This is the public interface and is safe to be called multiple 40 // attached to a single |context|. Only test code is allowed to call this 45 content::BrowserContext* context); 66 const content::BrowserContext* context, 71 // Finds which browser context (if any) to use. 73 content::BrowserContext* context) const; 104 virtual void BrowserContextShutdown(content::BrowserContext* context) = 0; 105 virtual void BrowserContextDestroyed(content::BrowserContext* context); 107 // Returns whether we've registered the preferences on this context. 108 bool ArePreferencesSetOn(content::BrowserContext* context) const [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
MainThreadTaskRunnerTest.cpp | 57 virtual void performTask(ExecutionContext* context) OVERRIDE 67 RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext()); local 68 OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get()); 79 RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext()); local 80 OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get()); 83 context->setTasksNeedSuspension(true); 89 context->setTasksNeedSuspension(false); 97 RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext()); local 98 OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get()); 101 context->setTasksNeedSuspension(true) [all...] |
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
test_jni_hooks.cpp | 20 crazy_context_t* context = crazy_context_create(); local 24 crazy_context_add_search_path_for_address(context, (void*)&main); 26 crazy_context_set_java_vm(context, kJavaVM, JNI_VERSION_1_2); 31 if (!crazy_library_open(&library, kJniLibName, context)) 32 Panic("Could not open library: %s\n", crazy_context_get_error(context)); 45 crazy_context_set_java_vm(context, kJavaVM, JNI_VERSION_1_6); 48 if (crazy_library_open(&library, kJniLibName, context)) 53 crazy_context_set_java_vm(context, NULL, 0); 56 if (!crazy_library_open(&library, kJniLibName, context)) 69 crazy_context_destroy(context); [all...] |
/external/deqp/modules/gles3/performance/ |
es3pPerformanceTests.cpp | 52 TextureTestGroup (Context& context) 53 : TestCaseGroup(context, "texture", "Texture Performance Tests") 70 ShadersTestGroup (Context& context) 71 : TestCaseGroup(context, "shader", "Shader Performance Tests") 87 APITests (Context& context) 88 : TestCaseGroup(context, "api", "API Performance Tests") 105 BufferTestGroup (Context& context [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/ |
FileDescriptorUriLoader.java | 3 import android.content.Context; 22 public ModelLoader<Uri, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { 23 return new FileDescriptorUriLoader(context, factories.buildModelLoader(GlideUrl.class, ParcelFileDescriptor.class, 24 context)); 31 public FileDescriptorUriLoader(Context context) { 32 this(context, Glide.buildFileDescriptorModelLoader(GlideUrl.class, context)); 35 public FileDescriptorUriLoader(Context context, ModelLoader<GlideUrl, ParcelFileDescriptor> urlLoader) [all...] |