/external/webkit/Source/WebCore/css/ |
MediaQueryListListener.cpp | 41 v8::Handle<v8::Context> context = state->context(); local 42 if (context.IsEmpty()) 44 v8::Context::Scope scope(context);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportReceiver.java | 28 import android.content.Context; 67 public void onReceive(Context context, Intent intent) { 73 final Uri bugreportUri = FileProvider.getUriForFile(context, AUTHORITY, bugreportFile); 74 final Uri screenshotUri = FileProvider.getUriForFile(context, AUTHORITY, screenshotFile); 76 Intent sendIntent = buildSendIntent(context, bugreportUri, screenshotUri); 80 if (getWarningState(context, STATE_SHOW) == STATE_SHOW) { 81 notifIntent = buildWarningIntent(context, sendIntent); 87 final Notification.Builder builder = new Notification.Builder(context); 89 builder.setContentTitle(context.getString(R.string.bugreport_finished_title)) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BootReceiver.java | 21 import android.content.Context; 34 public void onReceive(final Context context, Intent intent) { 37 ContentResolver res = context.getContentResolver(); 39 Intent loadavg = new Intent(context, com.android.systemui.LoadAverageService.class); 40 context.startService(loadavg);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
CurrentUserTracker.java | 21 import android.content.Context; 29 public CurrentUserTracker(Context context) { 31 context.registerReceiver(this, filter); 40 public void onReceive(Context context, Intent intent) {
|
/frameworks/base/services/java/com/android/server/am/ |
FactoryErrorDialog.java | 19 import android.content.Context; 26 public FactoryErrorDialog(Context context, CharSequence msg) { 27 super(context); 29 setTitle(context.getText(com.android.internal.R.string.factorytest_failed)); 32 context.getText(com.android.internal.R.string.factorytest_reboot),
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
LayoutInsetsTest.java | 4 import android.content.Context; 19 public static View create(Context context) { 22 GridLayout p = new GridLayout(context); 32 TextView tv = new TextView(context); 37 Button b = new Button(context);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselViewUtilities.java | 8 import android.content.Context; 18 * @param context calling context 23 public static boolean writeBitmapToFile(Context context, Bitmap bitmap, String filename) { 30 MediaScannerConnection.scanFile(context, new String[] { file.toString() }, null, null);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhoneFactory.java | 21 import android.content.Context; 34 * @param context {@code Context} needed to create a Phone object 39 public static SipPhone makePhone(String sipUri, Context context, 43 return new SipPhone(context, phoneNotifier, profile);
|
/frameworks/rs/driver/ |
rsdAllocation.h | 56 const android::renderscript::Context *rsc; 95 bool rsdAllocationInit(const android::renderscript::Context *rsc, 98 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 101 void rsdAllocationResize(const android::renderscript::Context *rsc, 104 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 107 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 109 void* rsdAllocationGetSurface(const android::renderscript::Context *rsc, 111 void rsdAllocationSetSurface(const android::renderscript::Context *rsc, 113 void rsdAllocationIoSend(const android::renderscript::Context *rsc, 115 void rsdAllocationIoReceive(const android::renderscript::Context *rsc [all...] |
/frameworks/rs/ |
rsAllocation.h | 85 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 93 void syncAll(Context *rsc, RsAllocationUsageType src); 95 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 97 void resize1D(Context *rsc, uint32_t dimX); 98 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 100 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 101 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 103 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 106 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 107 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face [all...] |
/packages/apps/Browser/src/com/android/browser/homepages/ |
Template.java | 28 import android.content.Context;
39 public static Template getCachedTemplate(Context context, int id) {
43 template = new Template(context, id);
100 public ListEntity(Context context, String key, String subTemplate) {
102 mSubTemplate = new Template(context, subTemplate);
167 private Template(Context context, int tid) {
168 this(context, readRaw(context, tid)); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
CameraPreference.java | 19 import android.content.Context; 32 private final Context mContext; 41 public CameraPreference(Context context, AttributeSet attrs) { 42 mContext = context; 43 TypedArray a = context.obtainStyledAttributes(
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
NameConverter.java | 20 import android.content.Context; 55 * @param context Activity context. 59 public static String structuredNameToDisplayName(Context context, 67 return fetchDisplayName(context, builder.build()); 72 * @param context Activity context. 76 public static String structuredNameToDisplayName(Context context, ContentValues values) [all...] |
/packages/apps/Exchange/exchange2/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);
|
/packages/apps/Gallery2/src/com/android/camera/ |
CameraPreference.java | 19 import android.content.Context; 34 private final Context mContext; 43 public CameraPreference(Context context, AttributeSet attrs) { 44 mContext = context; 45 TypedArray a = context.obtainStyledAttributes(
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
ResourceTexture.java | 19 import android.content.Context; 29 protected final Context mContext; 32 public ResourceTexture(Context context, int resId) { 33 Assert.assertNotNull(context); 34 mContext = context;
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
GalleryAppMock.java | 20 import android.content.Context; 30 Context mContext; 33 GalleryAppMock(Context context, 35 mContext = context; 45 public Context getAndroidContext() { return mContext; }
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraPreference.java | 19 import android.content.Context; 34 private final Context mContext; 42 public CameraPreference(Context context, AttributeSet attrs) { 43 mContext = context; 44 TypedArray a = context.obtainStyledAttributes(
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlContainer.java | 21 import android.content.Context; 26 public abstract void initialize(Context context, PreferenceGroup group, 29 public IndicatorControlContainer(Context context, AttributeSet attrs) { 30 super(context, attrs);
|
/packages/apps/Mms/src/com/android/mms/widget/ |
MmsWidgetProvider.java | 24 import android.content.Context; 45 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 46 super.onUpdate(context, appWidgetManager, appWidgetIds); 49 updateWidget(context, appWidgetIds[i]); 54 public void onReceive(Context context, Intent intent) { 65 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 66 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, 73 super.onReceive(context, intent) [all...] |
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcSecureElement.java | 19 import android.content.Context; 32 private final Context mContext; 37 public NativeNfcSecureElement(Context context) { 38 mContext = context; 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
NativeNfcSecureElement.java | 19 import android.content.Context; 32 private final Context mContext; 37 public NativeNfcSecureElement(Context context) { 38 mContext = context; 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
AbstractCorpus.java | 19 import android.content.Context; 27 private final Context mContext; 31 public AbstractCorpus(Context context, Config config) { 32 mContext = context; 36 protected Context getContext() {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
SpellCheckersPreference.java | 19 import android.content.Context; 26 public SpellCheckersPreference(Context context, AttributeSet attrs) { 27 super(context, attrs); 28 mTsm = (TextServicesManager) context.getSystemService( 29 Context.TEXT_SERVICES_MANAGER_SERVICE);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryFactory.java | 19 import android.content.Context; 40 * @param context application context for reading resources 45 public static DictionaryCollection createMainDictionaryFromManager(final Context context, 50 createBinaryDictionary(context, locale)); 55 BinaryDictionaryGetter.getDictionaryFiles(locale, context); 77 * @param context application context for reading resources 81 public static DictionaryCollection createMainDictionaryFromManager(final Context context [all...] |