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

<<11121314151617181920>>

  /packages/apps/Camera/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/Camera/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/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/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/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/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/OpenWnn/src/jp/co/omronsoft/openwnn/
UserDictionaryToolsListFocus.java 20 import android.content.Context;
35 * @param context The context
37 public UserDictionaryToolsListFocus(Context context) {
38 super(context);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 19 import android.content.Context;
33 private Context mContext;
35 public CountryMonitor(Context context) {
36 mContext = context;
47 (CountryDetector) mContext.getSystemService(Context.COUNTRY_DETECTOR);
  /packages/apps/Contacts/src/com/android/contacts/socialwidget/
SocialWidgetProvider.java 31 import android.content.Context;
63 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
69 loadWidgetData(context, appWidgetManager, appWidgetId, false);
74 public void onDeleted(Context context, int[] appWidgetIds) {
83 SocialWidgetSettings.getInstance().remove(context, appWidgetIds);
86 public static void loadWidgetData(final Context context,
101 new RemoteViews(context.getPackageName(), R.layout.social_widget)
    [all...]
SocialWidgetSettings.java 19 import android.content.Context;
49 public void remove(Context context, int[] widgetIds) {
50 final SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
61 public Uri getContactUri(Context context, int widgetId) {
62 final SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
64 ensureMigrated(context, settings);
74 public void setContactUri(Context context, int widgetId, Uri contactLookupUri)
    [all...]
  /frameworks/media/libvideoeditor/vss/common/inc/
M4AMRR_CoreReader.h 66 * @note This function opens the file and creates a context for AMR Parser.
67 * - sets context to null if error occured.
68 * @param pContext(OUT) : AMR Reader context allocated in the function
85 * M4OSA_ERR M4AMRR_getNextStream(M4OSA_Context Context, M4SYS_StreamDescription* pStreamDesc );
89 * @param Context(IN/OUT) : AMR Reader context
94 * @returns M4ERR_BAD_CONTEXT : The provided context is not valid
101 M4OSA_ERR M4AMRR_getNextStream(M4OSA_Context Context, M4SYS_StreamDescription* pStreamDesc );
105 * M4OSA_ERR M4AMRR_startReading(M4OSA_Context Context, M4SYS_StreamID* pStreamIDs );
108 * @param Context(IN/OUT) : AMR Reader contex
    [all...]
  /external/webkit/Source/WebCore/platform/win/
WebCoreTextRenderer.cpp 49 static void doDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
53 context.setFillColor(color, ColorSpaceDeviceRGB);
55 font.drawText(&context, run, point);
57 context.drawBidiText(font, run, point);
75 context.setStrokeColor(color, ColorSpaceDeviceRGB);
76 context.drawLineForText(underlinePoint, underlinedWidth, false);
80 void WebCoreDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
82 context.save();
84 doDrawTextAtPoint(context, text, point, font, color, underlinedIndex);
86 context.restore()
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java 23 import android.content.Context;
42 MockContext context = new MockContext2(); local
43 ListView listView = new ListView(context);
45 Adapter<String> adapter = new Adapter<String>(context, 0, items);
70 MockContext context = new MockContext2(); local
71 ListView listView = new ListView(context);
73 listView.addHeaderView(new View(context), null, false);
75 Adapter<String> adapter = new Adapter<String>(context, 0, items);
107 if (Context.LAYOUT_INFLATER_SERVICE.equals(name)) {
118 public MockView(Context context)
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
SearchViewCompat.java 19 import android.content.Context;
30 View newSearchView(Context context);
38 public View newSearchView(Context context) {
56 public View newSearchView(Context context) {
57 return SearchViewCompatHoneycomb.newSearchView(context);
91 private SearchViewCompat(Context context) {
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
ProportionalLayout.java 21 import android.content.Context;
66 public ProportionalLayout(Context context) {
67 super(context);
70 public ProportionalLayout(Context context, AttributeSet attrs) {
71 super(context, attrs);
72 initFromAttributes(context, attrs);
75 public ProportionalLayout(Context context, AttributeSet attrs, int defStyle)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/
TrafficFlags.java 19 import android.content.Context;
66 * @param context the caller's context
70 public static int getSyncFlags(Context context, Account account) {
71 int protocolIndex = Utility.arrayIndex(PROTOCOLS, account.getProtocol(context));
78 * @param context the caller's context
82 public static int getAttachmentFlags(Context context, Account account)
    [all...]
  /packages/experimental/AndroidVendorSecurityTool/src/com/google/android/googlelogin/
GoogleAppsVerifier.java 19 import android.content.Context;
31 * {@link #isServiceAvailable(Context, String)}. After bound, make sure you are
32 * bound to a Google-provided service by calling {@link #isGoogleAppsVerified(Context)}.
59 * service, call {@link #isGoogleAppsVerified(Context)}.
61 * @param context The context.
65 public static boolean isServiceAvailable(Context context, String serviceName) {
68 PackageManager packageManager = context.getPackageManager();
87 // A mock implementation of context may throw this, so fallthroug
    [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
EventSender.cpp 93 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
95 return JSValueMakeBoolean(context, dragMode);
98 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception)
100 dragMode = JSValueToBoolean(context, value);
104 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
107 msgQueue[endOfQueue].delay = JSValueToNumber(context, arguments[0], exception);
112 return JSValueMakeUndefined(context);
150 static JSValueRef getMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
159 return JSValueMakeString(context, JSStringCreateWithUTF8CString(label.data()));
162 static bool setMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEventManager.java 25 import android.content.Context;
49 private Context mContext;
55 void onReceive(Context context, Intent intent, BluetoothDevice device);
74 CachedBluetoothDeviceManager deviceManager, Context context) {
80 mContext = context;
124 private static String getDockedDeviceAddress(Context context) {
126 Intent i = context.registerReceiver(null, new IntentFilter(Intent.ACTION_DOCK_EVENT))
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ResourceCursorTreeAdapterTest.java 26 import android.content.Context;
42 private Context mContext;
75 Context.LAYOUT_INFLATER_SERVICE);
84 args = {android.content.Context.class, android.database.Cursor.class, int.class,
91 args = {android.content.Context.class, android.database.Cursor.class, int.class,
97 args = {android.content.Context.class, android.database.Cursor.class, int.class,
127 args = {android.content.Context.class, android.database.Cursor.class, boolean.class,
130 // The parameters Context and Cursor are never readin the method
154 args = {android.content.Context.class, android.database.Cursor.class, boolean.class,
157 // The parameters Context and Cursor are never readin the metho
    [all...]
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 25 import android.content.Context;
49 private Context mContext;
53 * @param context the context for this application.
57 public boolean init(final Context context, final PreferenceScreen prefScreen) {
58 mContext = context;
59 mImm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
60 mImi = getMyImi(context, mImm)
    [all...]
  /external/bluetooth/glib/glib/
gmain.h 52 GMainContext *context; member in struct:_GSource
105 GMainContext *g_main_context_ref (GMainContext *context);
106 void g_main_context_unref (GMainContext *context);
109 gboolean g_main_context_iteration (GMainContext *context,
111 gboolean g_main_context_pending (GMainContext *context);
115 GSource *g_main_context_find_source_by_id (GMainContext *context,
117 GSource *g_main_context_find_source_by_user_data (GMainContext *context,
119 GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
125 void g_main_context_wakeup (GMainContext *context);
126 gboolean g_main_context_acquire (GMainContext *context);
    [all...]
  /external/skia/src/utils/unix/
SkEGLContext_Unix.cpp 19 SkEGLContext::SkEGLContext() : context(NULL), display(NULL), pixmap(0), glxPixmap(0) {
26 if (this->context)
27 glXDestroyContext(this->display, this->context);
135 // Create the context
139 // context allocation fails.
154 // If either is not present, use GLX 1.3 context creation method.
160 // " Using old-style GLX context.\n");
164 //SkDebugf("Creating context.\n");
180 //SkDebugf( "Created GL 3.0 context.\n" );
182 // Couldn't create GL 3.0 context
    [all...]
  /frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 19 import android.content.Context;
43 private Context mContext;
47 * @param context the context for this application.
51 public boolean init(final Context context, final PreferenceScreen prefScreen) {
52 mContext = context;
53 mImm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
54 mImi = getMyImi(context, mImm)
    [all...]

Completed in 1313 milliseconds

<<11121314151617181920>>