/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
ContactBadge.java | 18 import android.content.Context; 32 public ContactBadge(Context context) { 33 super(context); 36 public ContactBadge(Context context, AttributeSet attrs) { 37 super(context, attrs); 40 public ContactBadge(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
EditorRelativeLayout.java | 21 import android.content.Context; 36 public EditorRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 42 public EditorRelativeLayout(Context context, AttributeSet attrs) { 43 this(context, attrs, 0); 46 public EditorRelativeLayout(Context context) { 47 this(context, null, 0) [all...] |
PreviewSurfaceView.java | 19 import android.content.Context; 31 public PreviewSurfaceView(Context context, AttributeSet attrs, int defStyle) { 32 super(context, attrs, defStyle); 35 public PreviewSurfaceView(Context context, AttributeSet attrs) { 36 this(context, attrs, 0); 39 public PreviewSurfaceView(Context context) { 40 this(context, null, 0) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoundManager.java | 19 import android.content.Context; 27 private Context mContext; 33 private SoundManager(Context context) { 34 mContext = context; 41 .getSystemService(Context.AUDIO_SERVICE); 46 public static SoundManager getInstance(Context context) { 48 if (null != context) { 49 mInstance = new SoundManager(context); [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
RegionMediaModel.java | 24 import android.content.Context; 33 public RegionMediaModel(Context context, String tag, Uri uri, 35 this(context, tag, null, null, uri, region); 38 public RegionMediaModel(Context context, String tag, String contentType, 40 super(context, tag, contentType, src, uri); 44 public RegionMediaModel(Context context, String tag, String contentType, 46 super(context, tag, contentType, src, data) [all...] |
/packages/apps/Stk/src/com/android/stk/ |
StkCmdReceiver.java | 22 import android.content.Context; 33 public void onReceive(Context context, Intent intent) { 37 handleCommandMessage(context, intent); 39 handleSessionEnd(context, intent); 43 private void handleCommandMessage(Context context, Intent intent) { 48 context.startService(new Intent(context, StkAppService.class) 52 private void handleSessionEnd(Context context, Intent intent) [all...] |
/external/webkit/Source/WebKit/chromium/tests/ |
TransparencyWinTest.cpp | 50 static void drawNativeRect(GraphicsContext* context, 53 SkCanvas* canvas = context->platformContext()->canvas(); 67 static Color getPixelAt(GraphicsContext* context, int x, int y) 69 const SkBitmap& bitmap = context->platformContext()->canvas()->getTopDevice()->accessBitmap(false); 75 static void clearTopLayerAlphaChannel(GraphicsContext* context) 77 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()->canvas()->getTopDevice()->accessBitmap(false)); 86 static void clearTopLayerAlphaPixel(GraphicsContext* context, int x, int y) 88 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()->canvas()->getTopDevice()->accessBitmap(false)); 108 helper.init(src->context(), 113 EXPECT_TRUE(src->context() == helper.context()) [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetProvider.java | 31 import android.content.Context; 54 public void onReceive(Context context, Intent intent) { 60 if (Utils.getWidgetUpdateAction(context).equals(action)) { 61 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 62 performUpdate(context, appWidgetManager, 63 appWidgetManager.getAppWidgetIds(getComponentName(context)), 69 || action.equals(Utils.getWidgetScheduledUpdateAction(context))) { 70 Intent service = new Intent(context, CalendarAppWidgetService.class); 71 context.startService(service) [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
main.cpp | 40 current->context = NULL; 76 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface) 80 current->context = context; 83 if (context && display && surface) 85 context->makeCurrent(display, surface); 89 Context *getContext() 93 return current->context; 114 gl::Context *context = glGetCurrentContext() local [all...] |
main.h | 19 #include "libGLESv2/Context.h" 25 Context *context; member in struct:gl::Current 29 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface); 31 Context *getContext();
|
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
MapView.java | 21 import android.content.Context; 37 * Construct a new WebView with a Context object. 38 * @param context A Context object used to access application assets. 40 public MapView(Context context) { 41 this(context, null); 46 * @param context A Context object used to access application assets. 49 public MapView(Context context, AttributeSet attrs) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserWebView.java | 19 import android.content.Context; 41 * @param context 46 public BrowserWebView(Context context, AttributeSet attrs, int defStyle, 48 super(context, attrs, defStyle, javascriptInterfaces, privateBrowsing); 52 * @param context 57 Context context, AttributeSet attrs, int defStyle, boolean privateBrowsing) { 58 super(context, attrs, defStyle, privateBrowsing); 62 * @param context [all...] |
OpenDownloadReceiver.java | 22 import android.content.Context; 42 public void onReceive(final Context context, Intent intent) { 45 openDownloadsPage(context); 51 openDownloadsPage(context); 59 onReceiveAsync(context, id); 66 private void onReceiveAsync(Context context, long id) { 67 DownloadManager manager = (DownloadManager) context.getSystemService( 68 Context.DOWNLOAD_SERVICE) [all...] |
PageProgressView.java | 19 import android.content.Context; 45 * @param context 49 public PageProgressView(Context context, AttributeSet attrs, int defStyle) { 50 super(context, attrs, defStyle); 51 init(context); 55 * @param context 58 public PageProgressView(Context context, AttributeSet attrs) { 59 super(context, attrs) [all...] |
/external/dbus/bus/ |
config-loader-expat.c | 41 process_content (ExpatParseContext *context) 43 if (context->failed) 46 if (_dbus_string_get_length (&context->content) > 0) 48 if (!bus_config_parser_content (context->parser, 49 &context->content, 50 context->error)) 52 context->failed = TRUE; 55 _dbus_string_set_length (&context->content, 0); 66 ExpatParseContext *context = userData; local 74 if (context->failed 127 ExpatParseContext *context = userData; local 147 ExpatParseContext *context = userData; local 170 ExpatParseContext context; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/file/ |
SDL_rwops.c | 48 static int SDLCALL win32_file_open(SDL_RWops *context, const char *filename, const char *mode) 58 if (!context) 61 context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */ 62 context->hidden.win32io.buffer.data = NULL; 63 context->hidden.win32io.buffer.size = 0; 64 context->hidden.win32io.buffer.left = 0; 82 context->hidden.win32io.buffer.data = (char *)SDL_malloc(READAHEAD_BUFFER_SIZE); 83 if (!context->hidden.win32io.buffer.data) { 95 SDL_free(context->hidden.win32io.buffer.data); 96 context->hidden.win32io.buffer.data = NULL [all...] |
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 19 import android.content.Context; 33 private Context mContext; 37 * @deprecated Use {@link #ImageSpan(Context, Bitmap)} instead. 45 * @deprecated Use {@link #ImageSpan(Context, Bitmap, int) instead. 52 public ImageSpan(Context context, Bitmap b) { 53 this(context, b, ALIGN_BOTTOM); 60 public ImageSpan(Context context, Bitmap b, int verticalAlignment) { 62 mContext = context; [all...] |
/frameworks/base/core/java/com/google/android/mms/util/ |
SqliteWrapper.java | 23 import android.content.Context; 41 private static boolean isLowMemory(Context context) { 42 if (null == context) { 47 context.getSystemService(Context.ACTIVITY_SERVICE); 59 public static void checkSQLiteException(Context context, SQLiteException e) { 61 Toast.makeText(context, com.android.internal.R.string.low_memory, 68 public static Cursor query(Context context, ContentResolver resolver, Uri uri [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 25 import android.content.Context; 37 static RemoteViews buildWidget(Context context, int id, Entry entry) { 42 return buildStackWidget(context, id, entry); 44 return buildFrameWidget(context, id, entry); 50 public void onUpdate(Context context, 52 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(context); 57 RemoteViews views = buildWidget(context, id, entry); 66 super.onUpdate(context, appWidgetManager, appWidgetIds) [all...] |
/system/media/mca/effect/java/android/media/effect/ |
EffectContext.java | 30 * context.</p> 32 * <p>Every EffectContext is bound to one GL context. The application is responsible for creating 33 * this EGL context, and making it current before applying any effect. If your EGL context is 34 * destroyed, the EffectContext becomes invalid and any effects bound to this context can no longer 35 * be used. If you switch to another EGL context, you must create a new EffectContext. Each Effect 36 * is bound to a single EffectContext, and can only be executed in that context.</p> 52 * Creates a context within the current GL context. 54 * <p>Binds the EffectContext to the current OpenGL context. All subsequent calls to th [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
RenderThemeGtk3.cpp | 87 GRefPtr<GtkStyleContext> context = adoptGRef(gtk_style_context_new()); local 88 gtk_style_context_set_path(context.get(), path); 91 result.first->second = context; 92 return context.get(); 126 static void adjustRectForFocus(GtkStyleContext* context, IntRect& rect) 129 gtk_style_context_get_style(context, 137 GtkStyleContext* context = 0; local 143 context = getStyleContext(part == CheckboxPart ? GTK_TYPE_CHECK_BUTTON : GTK_TYPE_RADIO_BUTTON); 146 gtk_style_context_get_style(context, "indicator-spacing", &indicatorSpacing, NULL); 152 context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE) 200 GtkStyleContext* context = getStyleContext(widgetType); local 326 GtkStyleContext* context = getStyleContext(GTK_TYPE_BUTTON); local 559 GtkStyleContext* context = getStyleContext(GTK_TYPE_ENTRY); local 601 GtkStyleContext* context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE); local 636 GtkStyleContext* context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE); local 737 GtkStyleContext* context = getStyleContext(GTK_TYPE_SPIN_BUTTON); local 815 GtkStyleContext* context = getStyleContext(GTK_TYPE_SPIN_BUTTON); local 839 GtkStyleContext* context = getStyleContext(widgetType); local [all...] |
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
TouchExampleView.java | 18 import android.content.Context; 33 public TouchExampleView(Context context) { 34 this(context, null, 0); 37 public TouchExampleView(Context context, AttributeSet attrs) { 38 this(context, attrs, 0); 41 public TouchExampleView(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle) [all...] |
/external/icu4c/samples/layout/ |
clayout.c | 27 struct Context 34 typedef struct Context Context; 51 void InitParagraph(HWND hwnd, Context *context) 55 if (context->paragraph != NULL) { 58 if (context->width > 0 && context->height > 0) { 59 pf_breakLines(context->paragraph, context->width, context->height) 121 Context *context; local [all...] |
/frameworks/compile/libbcc/helper/ |
sha1.h | 19 void SHA1Init(SHA1_CTX* context); 20 void SHA1Update(SHA1_CTX* context, const unsigned char* data, 22 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
selinux-context-h.m4 | 8 # Provide <selinux/context.h>, if necessary. 12 AC_CHECK_HEADERS([selinux/context.h], 14 [SELINUX_CONTEXT_H=selinux/context.h])
|