HomeSort by relevance Sort by last modified time
    Searched full:context (Results 26 - 50 of 10490) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
Version.java 19 import android.content.Context;
26 static String getVersionName(Context context) {
27 return getPackageInfo(context).versionName;
30 static int getVersionCode(Context context) {
31 return getPackageInfo(context).versionCode;
34 static PackageInfo getPackageInfo(Context context) {
36 PackageManager packageManager = context.getPackageManager()
    [all...]
  /dalvik/libdex/
sha1.h 15 void SHA1Init(SHA1_CTX* context);
16 void SHA1Update(SHA1_CTX* context, const unsigned char* data,
18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
CursorFactoryListAdapter.java 22 import android.content.Context;
34 public View newView(Context context, ViewGroup parent);
35 public void bindView(View view, Context context, Cursor cursor);
49 public View newView(Context context, ViewGroup parent) {
50 LayoutInflater inflater = (LayoutInflater) context.getSystemService(
51 Context.LAYOUT_INFLATER_SERVICE);
55 public void bindView(View view, Context context, Cursor cursor)
    [all...]
  /external/icu4c/samples/layout/
cgnomelayout.c 21 struct Context
28 typedef struct Context Context;
80 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local
92 if (context->paragraph != NULL) {
93 pf_close(context->paragraph);
96 context->paragraph = newPara
226 Context *context = NEW_ARRAY(Context, 1); local
240 gtk_object_set_data(GTK_OBJECT(app), "context", context); local
265 context); local
270 context); local
281 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local
    [all...]
gnomelayout.cpp 33 struct Context
88 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local
100 if (context->paragraph != NULL) {
101 delete context->paragraph;
104 context->paragraph = newPara;
108 context->paragraph->breakLines(context->width, context->height)
232 Context *context = new Context(); local
241 gtk_object_set_data(GTK_OBJECT(app), "context", context); local
266 context); local
271 context); local
282 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local
    [all...]
  /external/v8/src/
contexts.cc 37 JSBuiltinsObject* Context::builtins() {
48 Context* Context::global_context() {
49 // Fast case: the global object for this context has been set. In
51 // context.
57 // have to search the context chain to find the global context.
59 Context* current = this;
62 current = Context::cast(closure->context());
210 Context* context = this; local
259 Object* context = GetHeap()->global_contexts_list(); local
    [all...]
  /external/webkit/Source/JavaScriptCore/API/tests/
testapi.c 50 static JSGlobalContextRef context; variable
54 if (JSValueToBoolean(context, value) != expectedValue) {
62 double number = JSValueToNumber(context, value, NULL);
75 JSStringRef valueAsString = JSValueToStringCopy(context, value, NULL);
100 JSStringRef valueAsString = JSValueToStringCopy(context, value, NULL);
141 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName)
143 UNUSED_PARAM(context);
158 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
160 UNUSED_PARAM(context);
164 return JSValueMakeNumber(context, 1)
786 JSGlobalContextRef context = JSGlobalContextCreate(0); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
PhoneCapabilityTester.java 21 import android.content.Context;
44 public static boolean isIntentRegistered(Context context, Intent intent) {
45 final PackageManager packageManager = context.getPackageManager();
54 public static boolean isPhone(Context context) {
55 if (!sIsInitialized) initialize(context);
60 private static void initialize(Context context) {
61 final TelephonyManager telephonyManager = new TelephonyManager(context);
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TestingSettingsBroadcastReceiver.java 6 import android.content.Context;
19 public void onReceive(Context context, Intent intent) {
22 i.setClass(context, TestingSettings.class);
24 context.startActivity(i);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothManager.java 19 import android.content.Context;
34 private final Context mContext;
37 private Context mForegroundActivity;
51 public static synchronized LocalBluetoothManager getInstance(Context context) {
58 Context appContext = context.getApplicationContext();
73 private LocalBluetoothManager(LocalBluetoothAdapter adapter, Context context) {
74 mContext = context;
    [all...]
  /packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
GoogleSecurityToolReceiver.java 6 import android.content.Context;
13 public void onReceive(Context context, Intent intent) {
18 intent.setClass(context, GoogleSecurityToolActivity.class);
19 if (context.startService(intent) == null) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
GoogleSource.java 29 import android.content.Context;
52 protected void inflate(Context context, int inflateLevel) {
54 inflateStructuredName(context, inflateLevel);
55 inflateNickname(context, inflateLevel);
56 inflatePhone(context, inflateLevel);
57 inflateEmail(context, inflateLevel);
58 inflateStructuredPostal(context, inflateLevel);
59 inflateIm(context, inflateLevel);
60 inflateOrganization(context, inflateLevel)
    [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
TextInputController.cpp 41 static JSValueRef setMarkedTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
45 return JSValueMakeUndefined(context);
48 return JSValueMakeUndefined(context);
50 JSStringRef string = JSValueToStringCopy(context, arguments[0], exception);
51 g_return_val_if_fail((!exception || !*exception), JSValueMakeUndefined(context));
58 int start = static_cast<int>(JSValueToNumber(context, arguments[1], exception));
59 g_return_val_if_fail((!exception || !*exception), JSValueMakeUndefined(context));
61 int end = static_cast<int>(JSValueToNumber(context, arguments[2], exception));
62 g_return_val_if_fail((!exception || !*exception), JSValueMakeUndefined(context));
66 return JSValueMakeUndefined(context);
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
PopupManager.java 19 import android.content.Context;
30 private static HashMap<Context, PopupManager> sMap =
31 new HashMap<Context, PopupManager>();
53 public static PopupManager getInstance(Context context) {
54 PopupManager instance = sMap.get(context);
57 sMap.put(context, instance);
62 public static void removeInstance(Context context) {
63 PopupManager instance = sMap.get(context);
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
HolographicImageView.java 19 import android.content.Context;
28 public HolographicImageView(Context context) {
29 this(context, null);
32 public HolographicImageView(Context context, AttributeSet attrs) {
33 this(context, attrs, 0);
36 public HolographicImageView(Context context, AttributeSet attrs, int defStyle) {
37 super(context, attrs, defStyle)
    [all...]
  /packages/apps/Stk/src/com/android/stk/
StkAppInstaller.java 22 import android.content.Context;
32 static void install(Context context) {
33 setAppState(context, true);
36 static void unInstall(Context context) {
37 setAppState(context, false);
40 private static void setAppState(Context context, boolean install) {
41 if (context == null)
    [all...]
  /frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
AppWidgetContainerView.java 19 import android.content.Context;
25 public AppWidgetContainerView(Context context) {
26 super(context);
29 public AppWidgetContainerView(Context context, AttributeSet attrs) {
30 super(context, attrs);
  /external/webkit/Source/WebCore/platform/graphics/cairo/
FontCairo.cpp 46 static void prepareContextForGlyphDrawing(cairo_t* context, const SimpleFontData* font, const FloatPoint& point)
49 cairo_set_scaled_font(context, font->platformData().scaledFont());
52 cairo_transform(context, &mat);
54 cairo_translate(context, point.x(), point.y());
57 static void drawGlyphsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
59 cairo_show_glyphs(context, glyphs, numGlyphs);
62 cairo_translate(context, font->syntheticBoldOffset(), 0);
63 cairo_show_glyphs(context, glyphs, numGlyphs);
64 cairo_translate(context, -font->syntheticBoldOffset(), 0);
78 cairo_t* context = graphicsContext->platformContext()->cr() local
    [all...]
  /external/dbus/bus/
bus.c 2 /* bus.c message bus context object
75 BusContext *context; member in struct:__anon5387
83 BusContext *context; local
96 context = bd->context;
100 return context;
121 BusContext *context; local
123 context = server_get_context (server);
125 return _dbus_loop_add_watch (context->loop,
135 BusContext *context; local
157 BusContext *context; local
170 BusContext *context; local
183 BusContext *context = data; local
689 BusContext *context; local
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
ClearUserDictionaryDialogPreferenceEN.java 19 import android.content.Context;
31 /** The context */
32 protected Context mContext = null;
37 * @param context The context
40 public ClearUserDictionaryDialogPreferenceEN(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 mContext = context;
48 * @param context The contex
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
ClearLearnDictionaryDialogPreferenceJAJP.java 19 import android.content.Context;
31 /** The context */
32 protected Context mContext = null;
37 * @param context The context
40 public ClearLearnDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 mContext = context;
48 * @param context The contex
    [all...]
ClearUserDictionaryDialogPreferenceJAJP.java 19 import android.content.Context;
31 /** The context */
32 protected Context mContext = null;
37 * @param context The context
40 public ClearUserDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 mContext = context;
48 * @param context The contex
    [all...]
  /external/bluetooth/glib/tests/
markup-test.c 21 start_element_handler (GMarkupParseContext *context,
49 end_element_handler (GMarkupParseContext *context,
60 text_handler (GMarkupParseContext *context,
72 passthrough_handler (GMarkupParseContext *context,
84 error_handler (GMarkupParseContext *context,
112 GMarkupParseContext *context; local
115 context = g_markup_parse_context_new (&silent_parser, 0, NULL, NULL);
121 if (!g_markup_parse_context_parse (context,
126 g_markup_parse_context_free (context);
133 if (!g_markup_parse_context_end_parse (context, NULL)
150 GMarkupParseContext *context; local
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SqliteWrapper.java 22 import android.content.Context;
47 public static void checkSQLiteException(Context context, SQLiteException e) {
49 Toast.makeText(context, com.android.internal.R.string.low_memory,
56 public static Cursor query(Context context, ContentResolver resolver, Uri uri,
62 checkSQLiteException(context, e);
67 public static boolean requery(Context context, Cursor cursor) {
72 checkSQLiteException(context, e)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCVideoLayerImpl.cpp 106 GraphicsContext3D* context = layerRenderer()->context(); local
111 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE1));
112 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, yTexture.id));
113 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE2));
114 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, uTexture.id))
144 GraphicsContext3D* context = layerRenderer()->context(); local
    [all...]

Completed in 445 milliseconds

12 3 4 5 6 7 8 91011>>