/frameworks/base/libs/rs/driver/ |
rsdBcc.h | 24 bool rsdScriptInit(const android::renderscript::Context *, android::renderscript::ScriptC *, 27 void rsdScriptInvokeFunction(const android::renderscript::Context *dc, 33 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc, 42 int rsdScriptInvokeRoot(const android::renderscript::Context *dc, 44 void rsdScriptInvokeInit(const android::renderscript::Context *dc, 46 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc, 49 void rsdScriptSetGlobalVar(const android::renderscript::Context *, 52 void rsdScriptSetGlobalBind(const android::renderscript::Context *, 55 void rsdScriptSetGlobalObj(const android::renderscript::Context *, 59 void rsdScriptSetGlobal(const android::renderscript::Context *dc [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestView.java | 19 import android.content.Context; 57 public BiDiTestView(Context context) { 58 super(context); 59 init(context); 62 public BiDiTestView(Context context, AttributeSet attrs) { 63 super(context, attrs); 64 init(context); 67 public BiDiTestView(Context context, AttributeSet attrs, int defStyle) [all...] |
/frameworks/media/libvideoeditor/osal/inc/ |
M4OSA_FileReader.h | 76 M4OSA_ERR (*openRead) (M4OSA_Context* context, 80 M4OSA_ERR (*readData) (M4OSA_Context context, 84 M4OSA_ERR (*seek) (M4OSA_Context context, 88 M4OSA_ERR (*closeRead) (M4OSA_Context context); 90 M4OSA_ERR (*setOption) (M4OSA_Context context, 94 M4OSA_ERR (*getOption) (M4OSA_Context context, 104 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadOpen (M4OSA_Context* context, 108 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadData (M4OSA_Context context, 112 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadSeek (M4OSA_Context context, 116 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadClose (M4OSA_Context context); [all...] |
/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/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 27 import android.content.Context; 38 public void onReceive(Context context, Intent intent) { 39 if (Settings.Secure.getInt(context.getContentResolver(), 44 context.getSystemService(Context.NOTIFICATION_SERVICE); 46 Intent viewSimIntent = new Intent(context, ManageSimMessages.class); 50 context, 0, viewSimIntent, 0); 54 notification.tickerText = context.getString(R.string.sim_full_title); 58 context, context.getString(R.string.sim_full_title) [all...] |
SmsRejectedReceiver.java | 25 import android.content.Context; 41 public void onReceive(Context context, Intent intent) { 42 if (Settings.Secure.getInt(context.getContentResolver(), 54 context.getSystemService(Context.NOTIFICATION_SERVICE); 56 Intent viewConvIntent = new Intent(context, ConversationList.class); 62 context, 0, viewConvIntent, 0); 77 notification.tickerText = context.getString(titleId); 81 context, context.getString(titleId) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
EffectType.java | 19 import android.content.Context; 38 * @param context The context 43 public static EffectType[] getEffects(Context context, int category) { 50 context.getString(R.string.effect_pan_zoom), EFFECT_KEN_BURNS); 52 context.getString(R.string.effect_gradient), EFFECT_COLOR_GRADIENT); 54 context.getString(R.string.effect_sepia), EFFECT_COLOR_SEPIA); 56 context.getString(R.string.effect_negative), EFFECT_COLOR_NEGATIVE); 63 context.getString(R.string.effect_gradient), EFFECT_COLOR_GRADIENT) [all...] |
/external/webkit/Source/JavaScriptCore/parser/ |
JSParser.cpp | 222 template <class TreeBuilder> ALWAYS_INLINE TreeConstDeclList parseConstDeclarationList(TreeBuilder& context); 652 ASTBuilder context(m_globalData, m_lexer); 656 SourceElements* sourceElements = parseSourceElements<CheckForStrictMode>(context); 661 CodeFeatures features = context.features(); 671 m_globalData->parser->didFinishParsing(sourceElements, context.varDeclarations(), context.funcDeclarations(), features, 672 m_lastLine, context.numConstants(), capturedVariables); 681 template <JSParser::SourceElementsMode mode, class TreeBuilder> TreeSourceElements JSParser::parseSourceElements(TreeBuilder& context) 683 TreeSourceElements sourceElements = context.createSourceElements(); 688 while (TreeStatement statement = parseStatement(context, directive)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetConfigure.java | 21 import android.content.Context; 86 final Context context = ExampleAppWidgetConfigure.this; 91 saveTitlePref(context, mAppWidgetId, titlePrefix); 94 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 95 ExampleAppWidgetProvider.updateAppWidget(context, appWidgetManager, 107 static void saveTitlePref(Context context, int appWidgetId, String text) { 108 SharedPreferences.Editor prefs = context.getSharedPreferences(PREFS_NAME, 0).edit(); 115 static String loadTitlePref(Context context, int appWidgetId) [all...] |
/external/v8/test/cctest/ |
test-decls.cc | 44 // A DeclarationContext holds a reference to a v8::Context and keeps 93 Persistent<Context> context_; 120 context_ = Context::New(0, function->InstanceTemplate(), Local<Value>()); 158 DeclarationContext* context = GetInstance(info); local 159 context->get_count_++; 160 return context->Get(key); 167 DeclarationContext* context = GetInstance(info); local 168 context->set_count_++; 169 return context->Set(key, value); 175 DeclarationContext* context = GetInstance(info) local 207 { DeclarationContext context; local 215 { DeclarationContext context; local 223 { DeclarationContext context; local 231 { DeclarationContext context; local 239 { DeclarationContext context; local 262 { PresentPropertyContext context; local 270 { PresentPropertyContext context; local 278 { PresentPropertyContext context; local 286 { PresentPropertyContext context; local 294 { PresentPropertyContext context; local 316 { AbsentPropertyContext context; local 324 { AbsentPropertyContext context; local 332 { AbsentPropertyContext context; local 340 { AbsentPropertyContext context; local 348 { AbsentPropertyContext context; local 356 { AbsentPropertyContext context; local 406 { AppearingPropertyContext context; local 414 { AppearingPropertyContext context; local 422 { AppearingPropertyContext context; local 430 { AppearingPropertyContext context; local 438 { AppearingPropertyContext context; local 496 { ReappearingPropertyContext context; local 526 { ExistsInPrototypeContext context; local 534 { ExistsInPrototypeContext context; local 542 { ExistsInPrototypeContext context; local 550 { ExistsInPrototypeContext context; local 558 { ExistsInPrototypeContext context; local 586 { AbsentInPrototypeContext context; local [all...] |
/external/webkit/Source/JavaScriptCore/API/tests/ |
JSNodeList.c | 33 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 40 Node* node = NodeList_item(nodeList, (unsigned)JSValueToNumber(context, arguments[0], exception)); 42 return JSNode_new(context, node); 45 return JSValueMakeUndefined(context); 53 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 60 return JSValueMakeNumber(context, NodeList_length(nodeList)); 68 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 72 double index = JSValueToNumber(context, JSValueMakeString(context, propertyName), exception); 77 return JSNode_new(context, node) [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8WorkerContextEventListener.cpp | 45 static WorkerContextExecutionProxy* workerProxy(ScriptExecutionContext* context) 47 ASSERT(context->isWorkerContext()); 48 WorkerContext* workerContext = static_cast<WorkerContext*>(context); 57 void V8WorkerContextEventListener::handleEvent(ScriptExecutionContext* context, Event* event) 59 if (!context) 68 WorkerContextExecutionProxy* proxy = workerProxy(context); 72 v8::Handle<v8::Context> v8Context = proxy->context(); 76 // Enter the V8 context in which to perform the event handling. 77 v8::Context::Scope scope(v8Context) [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCPluginLayerImpl.cpp | 54 GraphicsContext3D* context = layerRenderer()->context(); local 55 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0)); 56 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId)); 60 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR)); 61 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsConte (…) [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.java | 21 import android.content.Context; 43 public static GestureLibrary fromPrivateFile(Context context, String name) { 44 return fromFile(context.getFileStreamPath(name)); 47 public static GestureLibrary fromRawResource(Context context, int resourceId) { 48 return new ResourceGestureLibrary(context, resourceId); 109 private final WeakReference<Context> mContext; 112 public ResourceGestureLibrary(Context context, int resourceId) 128 final Context context = mContext.get(); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
WebView.java | 21 import android.content.Context; 40 * Construct a new WebView with a Context object. 41 * @param context A Context object used to access application assets. 43 public WebView(Context context) { 44 this(context, null); 49 * @param context A Context object used to access application assets. 52 public WebView(Context context, AttributeSet attrs) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnPreference.java | 20 import android.content.Context; 39 * @param context 43 public ApnPreference(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle); 49 * @param context 52 public ApnPreference(Context context, AttributeSet attrs) { 53 super(context, attrs); 58 * @param context 135 Context context = getContext(); local [all...] |
/external/webkit/Source/WebCore/websockets/ |
WorkerThreadableWebSocketChannel.cpp | 52 WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerContext* context, WebSocketChannelClient* client, const String& taskMode, const KURL& url, const String& protocol) 53 : m_workerContext(context) 111 WorkerThreadableWebSocketChannel::Peer::Peer(RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy, ScriptExecutionContext* context, const String& taskMode, const KURL& url, const String& protocol) 114 , m_mainWebSocketChannel(WebSocketChannel::create(context, this, url, protocol)) 135 static void workerContextDidSend(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, bool sent) 137 ASSERT_UNUSED(context, context->isWorkerContext()); 150 static void workerContextDidGetBufferedAmount(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long bufferedAmount) 152 ASSERT_UNUSED(context, context->isWorkerContext()) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppUtility.java | 43 import android.content.Context; 63 public static BluetoothOppTransferInfo queryRecord(Context context, Uri uri) { 66 Cursor cursor = context.getContentResolver().query(uri, null, null, null, null); 89 info.mFileName = context.getString(R.string.unknown_file); 96 info.mFileType = context.getContentResolver().getType(u); 99 info.mFileType = context.getContentResolver().getType(u); 108 BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); 125 public static ArrayList<String> queryTransfersInBatch(Context context, Long timeStamp) [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
SpecialCharSequenceMgr.java | 26 import android.content.Context; 61 public static boolean handleChars(Context context, String input, EditText textField) { 62 return handleChars(context, input, false, textField); 65 static boolean handleChars(Context context, String input) { 66 return handleChars(context, input, false, null); 69 static boolean handleChars(Context context, String input, boolean useSystemWindow, 75 if (handleIMEIDisplay(context, dialString, useSystemWindow 336 Context context = sc.progressDialog.getContext(); local [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ExchangeSource.java | 23 import android.content.Context; 48 protected void inflate(Context context, int inflateLevel) { 50 inflateStructuredName(context, inflateLevel); 51 inflateNickname(context, inflateLevel); 52 inflatePhone(context, inflateLevel); 53 inflateEmail(context, inflateLevel); 54 inflateStructuredPostal(context, inflateLevel); 55 inflateIm(context, inflateLevel); 56 inflateOrganization(context, inflateLevel) [all...] |
/external/webkit/Source/WebCore/loader/ |
WorkerThreadableLoader.cpp | 105 void WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader(ScriptExecutionContext* context, MainThreadBridge* thisPtr, PassOwnPtr<CrossThreadResourceRequestData> requestData, ThreadableLoaderOptions options, const String& outgoingReferrer) 108 ASSERT(context->isDocument()); 109 Document* document = static_cast<Document*>(context); 119 void WorkerThreadableLoader::MainThreadBridge::mainThreadDestroy(ScriptExecutionContext* context, MainThreadBridge* thisPtr) 122 ASSERT_UNUSED(context, context->isDocument()); 128 // Ensure that no more client callbacks are done in the worker context's thread. 135 void WorkerThreadableLoader::MainThreadBridge::mainThreadCancel(ScriptExecutionContext* context, MainThreadBridge* thisPtr) 138 ASSERT_UNUSED(context, context->isDocument()) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
PolicyServiceProxy.java | 19 import android.content.Context; 38 public PolicyServiceProxy(Context _context) { 160 public static boolean isActive(Context context, Policy policies) { 162 return new PolicyServiceProxy(context).isActive(policies); 168 public static void policiesRequired(Context context, long accountId) { 170 new PolicyServiceProxy(context).policiesRequired(accountId); 176 public static void policiesUpdated(Context context, long accountId) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
Config.java | 23 import android.content.Context; 33 public static synchronized AlbumSetPage get(Context context) { 35 sInstance = new AlbumSetPage(context); 40 private AlbumSetPage(Context context) { 41 Resources r = context.getResources(); 71 public static synchronized AlbumPage get(Context context) { 73 sInstance = new AlbumPage(context); [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadReceiver.java | 24 import android.content.Context; 45 public void onReceive(Context context, Intent intent) { 47 mSystemFacade = new RealSystemFacade(context); 56 startService(context); 62 startService(context); 67 startService(context); 70 startService(context); 74 handleNotificationBroadcast(context, intent); 81 private void handleNotificationBroadcast(Context context, Intent intent) [all...] |
/external/icu4c/i18n/ |
decContext.c | 2 /* Decimal Context module */ 20 /* context structures. */ 25 #include "decContext.h" /* context and base types */ 47 /* context is the context structure to be queried */ 50 /* returns context */ 54 U_CAPI decContext * U_EXPORT2 uprv_decContextClearStatus(decContext *context, uInt mask) { 55 context->status&=~mask; 56 return context; 60 /* decContextDefault -- initialize a context structure * [all...] |