/packages/apps/Contacts/src/com/android/contacts/widget/ |
NotifyingSpinner.java | 19 import android.content.Context; 35 public NotifyingSpinner(Context context) { 36 super(context); 39 public NotifyingSpinner(Context context, AttributeSet attrs) { 40 super(context, attrs);
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
AnalogAppWidgetProvider.java | 25 import android.content.Context; 35 public void onReceive(Context context, Intent intent) { 39 RemoteViews views = new RemoteViews(context.getPackageName(), 43 PendingIntent.getActivity(context, 0, 44 new Intent(context, AlarmClock.class), 0)); 49 AppWidgetManager gm = AppWidgetManager.getInstance(context);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmInitReceiver.java | 19 import android.content.Context; 31 public void onReceive(final Context context, Intent intent) { 36 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context); 42 Alarms.saveSnoozeAlert(context, Alarms.INVALID_ALARM_ID, -1); 45 Alarms.disableExpiredAlarms(context); 46 Alarms.setNextAlert(context);
|
AndroidClockTextView.java | 19 import android.content.Context; 40 public AndroidClockTextView(Context context) { 41 super(context); 44 public AndroidClockTextView(Context context, AttributeSet attrs) { 45 super(context, attrs);
|
/packages/apps/Email/src/com/android/email/widget/ |
WidgetManager.java | 19 import android.content.Context; 54 public synchronized void createWidgets(Context context, int[] widgetIds) { 56 getOrCreateWidget(context, widgetId); 60 public synchronized void deleteWidgets(Context context, int[] widgetIds) { 68 remove(context, widgetId); 72 public synchronized void updateWidgets(Context context, int[] widgetIds) { 79 getOrCreateWidget(context, widgetId) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetHost.java | 22 import android.content.Context; 30 public LauncherAppWidgetHost(Context context, int hostId) { 31 super(context, hostId); 35 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, 37 return new LauncherAppWidgetHostView(context);
|
/packages/apps/Music/src/com/android/music/ |
MediaAppWidgetProvider.java | 23 import android.content.Context; 49 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 50 defaultAppWidget(context, appWidgetIds); 59 context.sendBroadcast(updateIntent); 66 private void defaultAppWidget(Context context, int[] appWidgetIds) { 67 final Resources res = context.getResources(); 68 final RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.album_appwidget); 73 linkButtons(context, views, false /* not playing */) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
Summary.java | 21 import android.content.Context; 25 static String get(Context context, String ssid, DetailedState state) { 26 String[] formats = context.getResources().getStringArray((ssid == null) 36 static String get(Context context, DetailedState state) { 37 return get(context, null, state);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SynchronouslyLoadedUserDictionary.java | 19 import android.content.Context; 25 public SynchronouslyLoadedUserDictionary(final Context context, final String locale) { 26 this(context, locale, false); 29 public SynchronouslyLoadedUserDictionary(final Context context, final String locale, 31 super(context, locale, alsoUseMoreRestrictiveLocales);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
KeyboardListPreferenceJAJP.java | 20 import android.content.Context; 32 public KeyboardListPreferenceJAJP(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public KeyboardListPreferenceJAJP(Context context) { 37 this(context, null);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2ForTesting.java | 6 import android.content.Context; 44 public MockCalendarAlarmManager(Context context) { 45 super(context); 49 protected void initializeWithContext(Context context) { 50 mContext = context;
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameFlowEvent.java | 19 import android.content.Context; 36 public void post(int event, int index, Context context) { 37 if (context instanceof AndouKun) { 41 mMainActivity = (AndouKun)context; 46 public void postImmediate(int event, int index, Context context) { 47 if (context instanceof AndouKun) { 51 mMainActivity = (AndouKun)context;
|
/frameworks/base/core/java/android/webkit/ |
PluginStub.java | 18 import android.content.Context; 33 * @param context The current application's Context. 36 public abstract View getEmbeddedView(int NPP, Context context); 43 * @param context The current application's Context. 46 public abstract View getFullScreenView(int NPP, Context context);
|
/frameworks/base/libs/rs/ |
rsFBOCache.h | 33 void init(Context *rsc); 34 void deinit(Context *rsc); 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot); 37 void bindDepthTarget(Context *, Allocation *a); 38 void resetAll(Context *); 40 void setup(Context *); 59 void checkError(Context *); 60 void setColorAttachment(Context *rsc); 61 void setDepthAttachment(Context *rsc);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
CompatModeButton.java | 20 import android.content.Context; 36 public CompatModeButton(Context context, AttributeSet attrs) { 37 this(context, attrs, 0); 40 public CompatModeButton(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs); 45 mAM = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
LoadScreennailTask.java | 19 import android.content.Context; 44 private final Context context; field in class:LoadScreennailTask 47 public LoadScreennailTask(Context context, Callback callback) { 48 this.context = context; 60 return new BitmapUtils(context).getBitmap(params[0], SCREENNAIL_WIDTH, SCREENNAIL_HEIGHT); 66 Toast toast = Toast.makeText(context, R.string.loading_failure, Toast.LENGTH_SHORT);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
OverlayType.java | 19 import android.content.Context; 30 * @param context The context 34 public static OverlayType[] getOverlays(Context context) { 36 overlays[0] = new OverlayType(context.getString(R.string.overlay_preview_center), 38 overlays[1] = new OverlayType(context.getString(R.string.overlay_preview_bottom), 40 overlays[2] = new OverlayType(context.getString(R.string.overlay_preview_center), 42 overlays[3] = new OverlayType(context.getString(R.string.overlay_preview_bottom),
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerReceiver.java | 20 import android.content.Context; 31 public void onReceive(Context context, Intent intent) { 40 CommandRecognizerEngine.deleteCachedGrammarFiles(context); 49 CommandRecognizerEngine.deleteCachedGrammarFiles(context); 54 RecognizerLogger.enable(context); 55 Toast.makeText(context, R.string.logging_enabled, Toast.LENGTH_LONG).show(); 60 RecognizerLogger.disable(context); 61 Toast.makeText(context, R.string.logging_disabled, Toast.LENGTH_LONG).show();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PackageIntentReceiver.java | 21 import android.content.Context; 34 public void onReceive(Context context, Intent intent) { 38 context.getContentResolver().acquireProvider(ContactsContract.AUTHORITY); 43 handlePackageChangedForVoicemail(context, intent); 46 private void handlePackageChangedForVoicemail(Context context, Intent intent) { 50 Intent intentToForward = new Intent(context, VoicemailCleanupService.class); 54 context.startService(intentToForward);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
UsbReceiver.java | 19 import android.content.Context; 34 public void onReceive(Context context, Intent intent) { 41 intent = new Intent(context, MtpService.class); 45 context.startService(intent); 47 context.getContentResolver().insert(Uri.parse( 50 context.stopService(new Intent(context, MtpService.class)); 52 context.getContentResolver().delete(Uri.parse(
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
glslang.l | 61 TParseContext* context = yyextra; 97 "float" { context->lexAfterType = true; return(FLOAT_TYPE); } 98 "int" { context->lexAfterType = true; return(INT_TYPE); } 99 "void" { context->lexAfterType = true; return(VOID_TYPE); } 100 "bool" { context->lexAfterType = true; return(BOOL_TYPE); } 107 "mat2" { context->lexAfterType = true; return(MATRIX2); } 108 "mat3" { context->lexAfterType = true; return(MATRIX3); } 109 "mat4" { context->lexAfterType = true; return(MATRIX4); } 111 "vec2" { context->lexAfterType = true; return (VEC2); } 112 "vec3" { context->lexAfterType = true; return (VEC3); [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
JoystickView.java | 3 import android.content.Context; 24 public JoystickView(Context context) { 25 super(context); 26 initJoystickView(context); 29 public JoystickView(Context context, AttributeSet attrs) { 30 super(context, attrs); 31 initJoystickView(context); 46 private void initJoystickView(Context context) [all...] |
/external/opencv/cxcore/src/ |
cxerror.cpp | 76 CvContext* context = (CvContext*)malloc( sizeof(*context) ); local 78 context->err_mode = CV_ErrModeLeaf; 79 context->err_code = CV_StsOk; 81 context->error_callback = CV_DEFAULT_ERROR_CALLBACK; 82 context->userdata = 0; 84 return context; 88 icvDestroyContext(CvContext* context) 90 free(context); 104 CvContext* context; local 217 CvContext* context = icvGetContext(); local 316 CvContext* context = icvGetContext(); local 341 CvContext* context = icvGetContext(); local 420 CvContext* context = (CvContext*) key_val; local [all...] |
/external/webkit/Source/WebCore/loader/ |
ThreadableLoader.cpp | 43 PassRefPtr<ThreadableLoader> ThreadableLoader::create(ScriptExecutionContext* context, ThreadableLoaderClient* client, const ResourceRequest& request, const ThreadableLoaderOptions& options) 46 ASSERT(context); 49 if (context->isWorkerContext()) 50 return WorkerThreadableLoader::create(static_cast<WorkerContext*>(context), client, WorkerRunLoop::defaultMode(), request, options); 53 ASSERT(context->isDocument()); 54 return DocumentThreadableLoader::create(static_cast<Document*>(context), client, request, options); 57 void ThreadableLoader::loadResourceSynchronously(ScriptExecutionContext* context, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options) 59 ASSERT(context); 62 if (context->isWorkerContext()) { 63 WorkerThreadableLoader::loadResourceSynchronously(static_cast<WorkerContext*>(context), request, client, options) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
md5_i.h | 24 void MD5Init(struct MD5Context *context); 25 void MD5Update(struct MD5Context *context, unsigned char const *buf, 27 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|