/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
VerticalSlider.java | 3 import android.content.Context; 7 public VerticalSlider(Context context) { 8 super(context); 9 initSliderView(context, true); 12 public VerticalSlider(Context context, AttributeSet attrs) { 13 super(context, attrs); 14 initSliderView(context, true);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
TestBroadcastReceiver.java | 4 import android.content.Context; 8 public Context context; field in class:TestBroadcastReceiver 12 public void onReceive(Context context, Intent intent) { 13 this.context = context;
|
CustomView2.java | 3 import android.content.Context; 10 public CustomView2(Context context, AttributeSet attrs) { 11 super(context, attrs);
|
CustomView.java | 3 import android.content.Context; 11 public CustomView(Context context, AttributeSet attrs) { 12 super(context, attrs); 13 inflate(context, R.layout.inner_merge, this);
|
/external/webkit/LayoutTests/fast/xpath/ |
document-order-expected.txt | 1 PASS ancestor::* (context = attr1) 2 PASS ancestor::* (context = GCHILD11) 3 PASS ancestor::node() (context = attr1) 4 PASS ancestor::node() (context = GCHILD11) 5 PASS preceding::node() (context = attr4) 6 PASS preceding::node() (context = CHILD2) 7 PASS preceding::node() (context = GCHILD12) 8 PASS following::node() (context = attr1) 9 PASS following::node() (context = CHILD1) 10 PASS following::node() (context = GCHILD11 [all...] |
ambiguous-operators.html | 7 #context {display:none} 12 binary operator context, and as a NameTest otherwise. 19 <div id="context"> 24 var context = document.getElementById('context'); 29 test(document, context, "div", [div], null); // div with no preceding token 30 test(document, context, " div", [div], null); 32 test(document, context, "(div) div (div)", 2/2, null); // div after ( and ) 33 test(document, context, "self::node()[div] div 1", 2/1, null); // div after [ and ] 34 test(document, context, ". div .", 2/2, null); // div after [all...] |
/external/icu4c/i18n/ |
regextxt.cpp | 19 struct URegexUTextUnescapeCharContext *context = (struct URegexUTextUnescapeCharContext *)ct; local 21 if (offset == context->lastOffset + 1) { 22 c = UTEXT_NEXT32(context->text); 23 context->lastOffset++; 24 } else if (offset == context->lastOffset) { 25 c = UTEXT_PREVIOUS32(context->text); 26 UTEXT_NEXT32(context->text); 28 utext_moveIndex32(context->text, offset - context->lastOffset - 1); 29 c = UTEXT_NEXT32(context->text) [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainBroadcastReceiver.java | 5 import android.content.Context; 10 public void onReceive(final Context context, final Intent intent) { 11 intent.setClass(context, KeyChainService.class); 12 context.startService(intent);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
TransactionContextTest.java | 33 TransactionContext context = new TransactionContext(false); local 34 context.markRawContactDirtyAndChanged(1L, false); 35 context.rawContactUpdated(1L); 36 context.rawContactInserted(1L, 1L); 37 context.syncStateUpdated(1L, new Object()); 39 context.clearExceptSearchIndexUpdates(); 41 Set<Long> newDirty = context.getDirtyRawContactIds(); 42 Set<Long> newChanged = context.getChangedRawContactIds(); 43 Set<Long> newInserted = context.getInsertedRawContactIds(); 44 Set<Long> newUpdated = context.getUpdatedRawContactIds() 55 TransactionContext context = new TransactionContext(false); local 64 TransactionContext context = new TransactionContext(false); local 73 TransactionContext context = new TransactionContext(false); local 86 TransactionContext context = new TransactionContext(false); local [all...] |
/external/robolectric/src/main/java/com/foo/ |
Receiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/main/java/com/xtremelabs/ |
ConfigTestReceiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/test/ |
ConfigTestReceiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
DotConfigTestReceiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
manifest.json | 2 "name": "Context Menus Sample",
3 "description": "Shows some of the features of the Context Menus API",
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
FallbackAccountType.java | 19 import android.content.Context; 29 private FallbackAccountType(Context context, String resPackageName) { 40 addDataKindStructuredName(context); 41 addDataKindDisplayName(context); 42 addDataKindPhoneticName(context); 43 addDataKindNickname(context); 44 addDataKindPhone(context); 45 addDataKindEmail(context); 46 addDataKindStructuredPostal(context); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServReqTestSuite.java | 21 import android.content.Context; 27 public static ArrayList<ReqTestCase> getTestSuite(Context context) { 28 initialize(context); 32 public static ReqTestCase getTestCase(Context context, 34 initialize(context); 44 private static void initialize(Context context) { 50 sTestSuite.add(new ServReqAllTestCase01(context)); [all...] |
/external/ppp/pppd/plugins/radius/ |
md5.c | 8 MD5_CTX context; local 10 MD5_Init (&context); 11 MD5_Update (&context, input, inlen); 12 MD5_Final (output, &context);
|
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/ |
MyView.java | 3 import android.content.Context; 10 public MyView(Context context) { 11 super(context);
|
/cts/tests/src/android/view/cts/ |
MockViewStub.java | 19 import android.content.Context; 24 public MockViewStub(Context context) { 25 super(context); 28 public MockViewStub(Context context, AttributeSet attrs) { 29 super(context, attrs); 32 public MockViewStub(Context context, AttributeSet attrs, int defStyle) { 33 super(context, attrs, defStyle) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
FolderEditText.java | 3 import android.content.Context; 12 public FolderEditText(Context context) { 13 super(context); 16 public FolderEditText(Context context, AttributeSet attrs) { 17 super(context, attrs); 20 public FolderEditText(Context context, AttributeSet attrs, int defStyle) { 21 super(context, attrs, defStyle) [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkThumbnailWidgetProvider.java | 23 import android.content.Context; 39 public void onReceive(Context context, Intent intent) { 44 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 45 performUpdate(context, appWidgetManager, 46 appWidgetManager.getAppWidgetIds(getComponentName(context))); 48 super.onReceive(context, intent); 53 public void onUpdate(Context context, AppWidgetManager mngr, int[] ids) { 54 performUpdate(context, mngr, ids) [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
VideoEditorResampler.cpp | 81 VideoEditorResampler *context = new VideoEditorResampler(); local 82 context->mResampler = AudioResampler::create( 84 if (context->mResampler == NULL) { 87 context->mResampler->setSampleRate(android::VideoEditorResampler::kFreq32000Hz); 88 context->mResampler->setVolume(0x1000, 0x1000); 89 context->nbChannels = inChannelCount; 90 context->outSamplingRate = sampleRate; 91 context->mInput = NULL; 92 context->mTmpInBuffer = NULL; 94 return ((M4OSA_Context )context); 100 VideoEditorResampler *context = local 115 VideoEditorResampler *context = local 122 VideoEditorResampler *context = local 149 VideoEditorResampler *context = local [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...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLayoutInflater.java | 4 import android.content.Context; 24 private Context context; field in class:ShadowLayoutInflater 26 private static LayoutInflater bind(LayoutInflater layoutInflater, Context context) { 27 shadowOf(layoutInflater).context = context; 32 public static LayoutInflater from(Context context) { 33 return bind(instances.getInstance(context), context) [all...] |
ShadowMenuInflater.java | 3 import android.content.Context; 18 private Context context; field in class:ShadowMenuInflater 20 public void __constructor__(Context context) { 21 this.context = context; 26 shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root);
|