/external/webkit/Tools/TestWebKitAPI/ |
PlatformUtilities.cpp | 37 WKContextRef context = WKContextCreateWithInjectedBundlePath(injectedBundlePath.get()); local 48 WKContextSetInitializationUserDataForInjectedBundle(context, initializationDictionary.get()); 50 return context;
|
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
CanHandleRequest.cpp | 47 static void setInjectedBundleClient(WKContextRef context) 53 WKContextSetInjectedBundleClient(context, &injectedBundleClient); 58 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("CanHandleRequestTest")); local 59 setInjectedBundleClient(context.get()); 61 _WKContextRegisterURLSchemeAsEmptyDocument(context.get(), Util::toWK("emptyscheme").get()); 63 PlatformWebView webView(context.get()); 67 WKContextPostMessageToInjectedBundle(context.get(), Util::toWK("CheckCanHandleRequest").get(), 0);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListHorizontalFocusWithinItemWins.java | 23 import android.content.Context; 53 final Context context = parent.getContext(); local 56 context, desiredHeight, Slot.Left, Slot.Right); 59 context, desiredHeight, Slot.Middle);
|
/frameworks/base/services/java/com/android/server/am/ |
FactoryErrorDialog.java | 19 import android.content.Context; 25 public FactoryErrorDialog(Context context, CharSequence msg) { 26 super(context); 28 setTitle(context.getText(com.android.internal.R.string.factorytest_failed)); 31 context.getText(com.android.internal.R.string.factorytest_reboot),
|
/packages/apps/Exchange/src/com/android/exchange/ |
MailboxAlarmReceiver.java | 21 import android.content.Context; 31 public void onReceive(Context context, Intent intent) { 35 context.startService(new Intent(context, ExchangeService.class)); 37 ExchangeService.alert(context, mailboxId);
|
/system/media/mca/filterfw/java/android/filterfw/basefilters/ |
FrameStore.java | 43 public void process(FilterContext context) { 48 context.storeFrame(mKey, input);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSessionContextTest.java | 23 SSLContext context = SSLContext.getInstance("TLS"); local 24 context.init(null, null, null); 25 SSLSessionContext sc = context 47 SSLContext context = SSLContext.getInstance("TLS"); local 48 context.init(null, null, null); 49 SSLSessionContext sc = context 70 SSLContext context = SSLContext.getInstance("TLS"); local 71 context.init(null, null, null); 72 SSLSessionContext sc = context 88 SSLContext context = SSLContext.getInstance("TLS") local [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactListEmptyView.java | 22 import android.content.Context; 39 public ContactListEmptyView(Context context, AttributeSet attrs) { 40 super(context, attrs); 56 Context context = getContext(); local 58 empty.setText(context.getText(R.string.noContactsWithPhoneNumbers)); 60 empty.setText(context.getText(R.string.noFavoritesHelpText)); 62 empty.setText(context.getText(R.string.noMatchingContacts)); 65 empty.setText(context.getText(R.string.no_contacts_selected)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
XmlFormatProcessor.java | 51 FormattingContext context = new FormattingContext(); local 52 context.setProperty(CONTEXT_MEDIUM, document); 53 context.setProperty(CONTEXT_PARTITION, new TypedPosition(start, length, 55 context.setProperty(CONTEXT_REGION, new org.eclipse.jface.text.Region(start, length)); 56 formatter.formatMaster(context, document, start, length);
|
AndroidXmlFormatter.java | 47 FormattingContext context = new FormattingContext(); local 48 context.setProperty(FormattingContextProperties.CONTEXT_DOCUMENT, Boolean.FALSE); 49 context.setProperty(FormattingContextProperties.CONTEXT_REGION, region); 51 format(document, context); 58 public void format(IDocument document, IFormattingContext context) { 59 context.setProperty(FormattingContextProperties.CONTEXT_MEDIUM, document); 60 formatMaster(context, document, 0, document.getLength()); 63 protected void formatMaster(IFormattingContext context, IDocument document, int offset, 74 context.setProperty(FormattingContextProperties.CONTEXT_PARTITION, 76 strategy.formatterStarts(context); [all...] |
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
MessageData.java | 38 public MessageData(final Device device, final Message msg, final Context context) { 68 context.serverVertex.glDrawArrays(this); 73 context.serverVertex.glDrawElements(this);
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
InterpretedTemplate.java | 63 public void render(RenderingContext context) throws IOException { 65 new TemplateInterpreter(this, loader, context, functionExecutor); 66 context.pushExecutionContext(this); 68 context.popExecutionContext();
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountFilterUtil.java | 26 import android.content.Context; 65 final Context context = filterContainer.getContext(); local 80 headerTextView.setText(context.getString( 96 headerTextView.setText(context.getString(
|
/packages/apps/Email/tests/src/com/android/email/ |
FolderPropertiesTests.java | 22 import android.content.Context; 44 Context context = getContext(); local 45 FolderProperties fp = FolderProperties.getInstance(context); 48 context.getString(R.string.mailbox_name_display_inbox), 60 context.getString(R.string.mailbox_name_display_drafts), 64 context.getString(R.string.mailbox_name_display_outbox), 68 context.getString(R.string.mailbox_name_display_sent), 72 context.getString(R.string.mailbox_name_display_trash), 76 context.getString(R.string.mailbox_name_display_junk) 101 Context context = getContext(); local 148 Context context = getContext(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/ |
Filter.java | 38 private static EffectContext context; field in class:Filter 43 * Filter context should be released before the current GL context is lost. 46 if (context != null) { 47 // Release all effects created with the releasing context. 52 context.release(); 53 context = null; 67 if (context == null) { 68 context = EffectContext.createWithCurrentGlContext(); 70 effect = context.getFactory().createEffect(name) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
MmsSystemEventReceiver.java | 21 import android.content.Context; 48 private static void wakeUpService(Context context) { 53 context.startService(new Intent(context, TransactionService.class)); 57 public void onReceive(Context context, Intent intent) { 74 wakeUpService(context); 80 MessagingNotification.nonBlockingUpdateNewMessageIndicator(context, false, false); 84 public static void registerForConnectionStateChanges(Context context) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
MessageData.java | 38 public MessageData(final Device device, final Message msg, final Context context) { 68 context.serverVertex.glDrawArrays(this); 73 context.serverVertex.glDrawElements(this);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
ExceptionWithContext.java | 23 * Exception which carries around structured context. 27 /** {@code non-null;} human-oriented context of the exception */ 28 private StringBuffer context; field in class:ExceptionWithContext 31 * Augments the given exception with the given context, and return the 37 * @param str {@code non-null;} context to add 83 String ctx = ((ExceptionWithContext) cause).context.toString(); 84 context = new StringBuffer(ctx.length() + 200); 85 context.append(ctx); 87 context = new StringBuffer(200); 95 out.println(context); [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ExceptionWithContext.java | 23 * Exception which carries around structured context. 27 /** {@code non-null;} human-oriented context of the exception */ 28 private StringBuffer context; field in class:ExceptionWithContext 31 * Augments the given exception with the given context, and return the 37 * @param str {@code non-null;} context to add 83 String ctx = ((ExceptionWithContext) cause).context.toString(); 84 context = new StringBuffer(ctx.length() + 200); 85 context.append(ctx); 87 context = new StringBuffer(200); 95 out.println(context); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ResourcesSample.java | 24 import android.content.Context; 34 * Each context has a resources object that you can access. Additionally, 35 * the Context class (an Activity is a Context) has a getString convenience 53 // ====== Using the Context.getString() convenience method =========== 72 // In this case it's just 'this' since Activity is a context. 73 Context context = this; local 75 // Get the Resources object from our context 76 Resources res = context.getResources() [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncNamespace.java | 39 * @param xctxt The current execution context. 47 int context = getArg0AsNode(xctxt); local 50 if(context != DTM.NULL) 52 DTM dtm = xctxt.getDTM(context); 53 int t = dtm.getNodeType(context); 56 s = dtm.getNamespaceURI(context); 64 s = dtm.getNodeName(context); 68 s = dtm.getNamespaceURI(context);
|
FuncQname.java | 39 * @param xctxt The current execution context. 47 int context = getArg0AsNode(xctxt); local 50 if (DTM.NULL != context) 52 DTM dtm = xctxt.getDTM(context); 53 String qname = dtm.getNodeNameX(context);
|
FuncUnparsedEntityURI.java | 38 * @param xctxt The current execution context. 47 int context = xctxt.getCurrentNode(); local 48 DTM dtm = xctxt.getDTM(context);
|
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
VariableSafeAbsRef.java | 33 * be used in some situations where the document context may have changed. 38 * to make sure the document context of the referenced variable is the same as 39 * the current document context, and, if it is not, execute the referenced variable's 40 * expression with the current context instead. 52 * @param xctxt The runtime execution context. 63 int context = xctxt.getContextNode(); local 65 dtmMgr.getDTM(context).getDocument()) 68 xns = (XNodeSet)expr.asIterator(xctxt, context);
|
/external/bluetooth/bluez/tracer/ |
main.c | 83 GOptionContext *context; local 96 context = g_option_context_new(NULL); 97 g_option_context_add_main_entries(context, options, NULL); 99 if (g_option_context_parse(context, &argc, &argv, &err) == FALSE) { 108 g_option_context_free(context);
|