/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);
|
/sdk/testapps/basicProjectWithJava/src/com/android/tests/basicProjectWithJava/ |
MyTextView.java | 5 import android.content.Context; 11 public MyTextView(Context context, AttributeSet attrs, int defStyle) { 12 super(context, attrs, defStyle); 18 public MyTextView(Context context, AttributeSet attrs) { 19 super(context, attrs); 24 public MyTextView(Context context) { 25 super(context); [all...] |
/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 | 18 struct URegexUTextUnescapeCharContext *context = (struct URegexUTextUnescapeCharContext *)ct; local 20 if (offset == context->lastOffset + 1) { 21 c = UTEXT_NEXT32(context->text); 22 context->lastOffset++; 23 } else if (offset == context->lastOffset) { 24 c = UTEXT_PREVIOUS32(context->text); 25 UTEXT_NEXT32(context->text); 27 utext_moveIndex32(context->text, offset - context->lastOffset - 1); 28 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/apps/Exchange/src/com/android/exchange/ |
SecurityPolicyDelegate.java | 23 import android.content.Context; 28 public static boolean isActive(Context context, Policy policy) { 30 return new PolicyServiceProxy(context).isActive(policy); 36 public static void policiesRequired(Context context, long accountId) { 38 new PolicyServiceProxy(context).policiesRequired(accountId); 44 public static void policiesUpdated(Context context, long accountId) { 46 new PolicyServiceProxy(context).policiesUpdated(accountId) [all...] |
/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/Contacts/src/com/android/contacts/model/ |
FallbackAccountType.java | 21 import android.content.Context; 27 private FallbackAccountType(Context context, String resPackageName) { 37 addDataKindStructuredName(context); 38 addDataKindDisplayName(context); 39 addDataKindPhoneticName(context); 40 addDataKindNickname(context); 41 addDataKindPhone(context); 42 addDataKindEmail(context); 43 addDataKindStructuredPostal(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);
|
/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/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...] |
/frameworks/base/libs/rs/ |
rsRuntime.h | 29 // Context 32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 33 void rsrBindSampler(Context *, Script *, ProgramFragment *, uint32_t slot, Sampler *); 34 void rsrBindProgramStore(Context *, Script *, ProgramStore *); 35 void rsrBindProgramFragment(Context *, Script *, ProgramFragment *); 36 void rsrBindProgramVertex(Context *, Script *, ProgramVertex *); 37 void rsrBindProgramRaster(Context *, Script *, ProgramRaster *); 38 void rsrBindFrameBufferObjectColorTarget(Context *, Script *, Allocation *, uint32_t slot); 39 void rsrBindFrameBufferObjectDepthTarget(Context *, Script *, Allocation *); 40 void rsrClearFrameBufferObjectColorTarget(Context *, Script *, uint32_t slot) [all...] |
rs_hal.h | 25 class Context; 60 bool (*initGraphics)(const Context *); 61 void (*shutdownGraphics)(const Context *); 62 bool (*setSurface)(const Context *, uint32_t w, uint32_t h, RsNativeWindow); 63 void (*swap)(const Context *); 65 void (*shutdownDriver)(Context *); 67 void (*setPriority)(const Context *, int32_t priority); 72 bool (*init)(const Context *rsc, ScriptC *s, 79 void (*invokeFunction)(const Context *rsc, Script *s, 83 int (*invokeRoot)(const Context *rsc, Script *s) [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...] |
AccessibilityUIElement.cpp | 39 static JSValueRef allAttributesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 42 return JSValueMakeString(context, attributes.get()); 45 static JSValueRef attributesOfLinkedUIElementsCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 48 return JSValueMakeString(context, linkedUIDescription.get()); 51 static JSValueRef attributesOfDocumentLinksCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 54 return JSValueMakeString(context, linkedUIDescription.get()); 57 static JSValueRef attributesOfChildrenCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 60 return JSValueMakeString(context, childrenDescription.get()); 63 static JSValueRef parameterizedAttributeNamesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 66 return JSValueMakeString(context, parameterizedAttributeNames.get()) [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
StopProgressView.java | 6 import android.content.Context; 21 * @param context 26 public StopProgressView(Context context, AttributeSet attrs, int defStyle, int styleRes) { 27 super(context, attrs, defStyle, styleRes); 32 * @param context 36 public StopProgressView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 42 * @param context [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 20 import android.content.Context; 50 private static SharedPreferences getSharedPreferences(Context context) { 51 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); 54 static long getDiscoverableEndTimestamp(Context context) { 55 return getSharedPreferences(context).getLong( 59 static boolean shouldShowDialogInForeground(Context context, [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
Recycler.java | 26 import android.content.Context; 65 public static boolean checkForThreadsOverLimit(Context context) { 69 return smsRecycler.anyThreadOverLimit(context) || mmsRecycler.anyThreadOverLimit(context); 72 public void deleteOldMessages(Context context) { 76 if (!isAutoDeleteEnabled(context)) { 80 Cursor cursor = getAllThreads(context); 82 int limit = getMessageLimit(context); [all...] |
/development/samples/BrowserPlugin/src/com/android/sampleplugin/ |
BackgroundSurface.java | 3 import android.content.Context; 9 public BackgroundSurface(Context context) { 10 super(context);
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
glslang.h | 8 extern int glslang_initialize(TParseContext* context); 9 extern int glslang_finalize(TParseContext* context); 14 TParseContext* context); 15 extern int glslang_parse(TParseContext* context);
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngines.java | 20 import android.content.Context; 32 public static SearchEngine getDefaultSearchEngine(Context context) { 33 return DefaultSearchEngine.create(context); 36 public static List<SearchEngineInfo> getSearchEngineInfos(Context context) { 38 Resources res = context.getResources(); 42 SearchEngineInfo info = new SearchEngineInfo(context, name); 48 public static SearchEngine get(Context context, String name) [all...] |
/external/dbus/bus/ |
bus.h | 2 /* bus.h message bus context object 81 dbus_bool_t bus_context_reload_config (BusContext *context, 83 void bus_context_shutdown (BusContext *context); 84 BusContext* bus_context_ref (BusContext *context); 85 void bus_context_unref (BusContext *context); 86 dbus_bool_t bus_context_get_id (BusContext *context, 88 const char* bus_context_get_type (BusContext *context); 89 const char* bus_context_get_address (BusContext *context); 90 const char* bus_context_get_servicehelper (BusContext *context); 91 dbus_bool_t bus_context_get_systemd_activation (BusContext *context); [all...] |