/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFrameLayout.java | 3 import android.content.Context; 19 public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { 21 super.__constructor__(context, attributeSet, defStyle);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AbsSeekBarTest.java | 4 import android.content.Context; 26 public TestAbsSeekBar(Context context) { 27 super(context);
|
/external/srec/srec/crec/ |
c47mulsp.c | 93 srec_context* context = grammar; local 95 context->max_searchable_nodes = recm->max_fsm_nodes; 96 context->max_searchable_arcs = recm->max_fsm_arcs; 98 if (context->max_searchable_nodes < context->num_nodes || context->max_searchable_arcs < context->num_arcs) 100 PLogError(L("Error: context switch failed due to search limitations [arcs max=%d, actual=%d], [nodes max=%d, actual=%d]\n"), 101 context->max_searchable_arcs, context->num_arcs [all...] |
/external/v8/test/cctest/ |
test-random.cc | 39 static v8::Persistent<v8::Context> env; 51 Handle<Context> context, 55 Handle<JSObject> global(context->global()); 56 Handle<ByteArray> seeds(context->random_seed()); 66 V8::FillHeapNumberWithRandom(*value, *context); 73 if (env.IsEmpty()) env = v8::Context::New(); 79 Handle<Context> context(Isolate::Current()->context()); [all...] |
/frameworks/av/libvideoeditor/osal/inc/ |
M4OSA_Mutex.h | 38 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexOpen( M4OSA_Context* context ); 41 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexLock( M4OSA_Context context, 45 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexUnlock( M4OSA_Context context ); 48 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexClose( M4OSA_Context context );
|
M4OSA_Semaphore.h | 35 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphoreOpen( M4OSA_Context* context, 39 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphorePost( M4OSA_Context context ); 42 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphoreWait( M4OSA_Context context, 46 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphoreClose( M4OSA_Context context );
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
NumPadKey.java | 19 import android.content.Context; 60 public NumPadKey(Context context) { 61 this(context, null); 64 public NumPadKey(Context context, AttributeSet attrs) { 65 this(context, attrs, 0); 68 public NumPadKey(Context context, AttributeSet attrs, int defStyle) { 69 super(context, attrs, defStyle) [all...] |
/frameworks/rs/driver/ |
rsdBcc.h | 23 bool rsdScriptInit(const android::renderscript::Context *, android::renderscript::ScriptC *, 26 bool rsdInitIntrinsic(const android::renderscript::Context *rsc, 31 void rsdScriptInvokeFunction(const android::renderscript::Context *dc, 37 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc, 46 int rsdScriptInvokeRoot(const android::renderscript::Context *dc, 48 void rsdScriptInvokeInit(const android::renderscript::Context *dc, 50 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc, 53 void rsdScriptSetGlobalVar(const android::renderscript::Context *, 56 void rsdScriptGetGlobalVar(const android::renderscript::Context *, 59 void rsdScriptSetGlobalVarWithElemDims(const android::renderscript::Context *, [all...] |
/frameworks/rs/ |
rsAdapter.cpp | 24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { 44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { 47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { 54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { 60 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { 66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { 95 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) [all...] |
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
TaskStackBuilderHoneycomb.java | 20 import android.content.Context; 27 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, 29 return PendingIntent.getActivities(context, requestCode, intents, flags);
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
TaskStackBuilderJellybean.java | 20 import android.content.Context; 26 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, 28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
|
/frameworks/support/v4/jellybean/android/support/v4/content/ |
ContextCompatJellybean.java | 19 import android.content.Context; 25 public static void startActivities(Context context, Intent[] intents, Bundle options) { 26 context.startActivities(intents, options);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLCipherContext.java | 20 private final long context; field in class:OpenSSLCipherContext 27 this.context = ctx; 33 NativeCrypto.EVP_CIPHER_CTX_cleanup(context); 40 return context;
|
OpenSSLDigestContext.java | 20 private final long context; field in class:OpenSSLDigestContext 27 this.context = ctx; 33 NativeCrypto.EVP_MD_CTX_destroy(context); 40 return context;
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 19 import android.content.Context; 48 public void onReceive(Context context, Intent intent) { 50 if (isPreloadEnabledOnCurrentNetwork(context) && 52 handlePreload(context, intent); 56 private boolean isPreloadEnabledOnCurrentNetwork(Context context) { 59 if (BrowserSettings.getPreloadAlwaysPreferenceString(context).equals(preload)) { 61 } else if (BrowserSettings.getPreloadOnWifiOnlyPreferenceString(context).equals(preload)) { 62 boolean onWifi = isOnWifi(context); [all...] |
/packages/apps/Email/src/com/android/email/service/ |
EmailBroadcastReceiver.java | 20 import android.content.Context; 28 public void onReceive(Context context, Intent intent) { 29 EmailBroadcastProcessorService.processBroadcastIntent(context, intent);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/service/ |
ExchangeBroadcastReceiver.java | 20 import android.content.Context; 28 public void onReceive(Context context, Intent intent) { 29 ExchangeBroadcastProcessorService.processBroadcastIntent(context, intent);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 23 import android.content.Context; 40 static RemoteViews buildWidget(Context context, int id, Entry entry) { 45 return buildStackWidget(context, id, entry); 47 return buildFrameWidget(context, id, entry); 53 public void onUpdate(Context context, 58 GalleryWidgetMigrator.migrateGalleryWidgets(context); 61 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(context); 66 RemoteViews views = buildWidget(context, id, entry) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
StrokedTextView.java | 19 import android.content.Context; 45 public StrokedTextView(Context context) { 46 super(context); 47 init(context, null, 0); 50 public StrokedTextView(Context context, AttributeSet attrs) { 51 super(context, attrs); 52 init(context, attrs, 0); 55 public StrokedTextView(Context context, AttributeSet attrs, int defStyle) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
WarnedListPreference.java | 19 import android.content.Context; 24 public WarnedListPreference(Context context, AttributeSet attrs) { 25 super(context, attrs);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AuthenticatorHelper.java | 22 import android.content.Context; 53 public Drawable getDrawableForType(Context context, final String accountType) { 61 Context authContext = context.createPackageContext(desc.packageName, 0); 69 icon = context.getPackageManager().getDefaultActivityIcon(); 79 public CharSequence getLabelForType(Context context, final String accountType) { 84 Context authContext = context.createPackageContext(desc.packageName, 0) [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPairingRequest.java | 26 import android.content.Context; 43 public void onReceive(Context context, Intent intent) { 52 pairingIntent.setClass(context, BluetoothPairingDialog.class); 66 (PowerManager)context.getSystemService(Context.POWER_SERVICE); 69 LocalBluetoothPreferences.shouldShowDialogInForeground(context, deviceAddress)) { 72 context.startActivity(pairingIntent); 75 Resources res = context.getResources(); 76 Notification.Builder builder = new Notification.Builder(context) [all...] |
BluetoothProgressCategory.java | 22 import android.content.Context; 26 public BluetoothProgressCategory(Context context, AttributeSet attrs) { 27 super(context, attrs, R.string.bluetooth_no_devices_found);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPointCategoryForSetupWizardXL.java | 22 import android.content.Context; 26 public AccessPointCategoryForSetupWizardXL(Context context, AttributeSet attrs) { 27 super(context, attrs);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForCustomMimetype.java | 18 import android.content.Context; 24 public DataRowHandlerForCustomMimetype(Context context, 26 super(context, dbHelper, aggregator, mimetype);
|