HomeSort by relevance Sort by last modified time
    Searched full:context (Results 251 - 275 of 12809) sorted by null

<<11121314151617181920>>

  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactsListLoader.java 19 import android.content.Context;
46 public static CursorLoader newVisibleContactsLoader(Context context) {
47 return new CursorLoader(context, Contacts.CONTENT_URI, COLUMNS,
51 public static CursorLoader newStrequentContactsLoader(Context context) {
52 return new CursorLoader(context, Contacts.CONTENT_STREQUENT_URI, COLUMNS, null, null, null);
55 public static CursorLoader newContactGroupLoader(Context context, String groupTitle) {
57 return new CursorLoader(context, uri, COLUMNS, null, null, Contacts.SORT_KEY_PRIMARY)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
FeedbackLayout.java 20 import android.content.Context;
28 public FeedbackLayout(Context context) {
29 super(context);
32 public FeedbackLayout(Context context, AttributeSet attrs) {
33 super(context, attrs);
36 public FeedbackLayout(Context context, AttributeSet attrs, int defstyle) {
37 super(context, attrs, defstyle)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ProfileDatabaseHelper.java 20 import android.content.Context;
45 public static ProfileDatabaseHelper getNewInstanceForTest(Context context) {
46 return new ProfileDatabaseHelper(context, null, false);
50 Context context, String databaseName, boolean optimizationEnabled) {
51 super(context, databaseName, optimizationEnabled);
54 public static synchronized ProfileDatabaseHelper getInstance(Context context) {
56 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true)
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/
glslang.y 29 #define YYLEX_PARAM context->scanner
34 %parse-param {TParseContext* context}
70 extern void yyerror(TParseContext* context, const char* reason);
73 if (context->shaderType != SH_FRAGMENT_SHADER && \
74 context->shaderType != SH_VERTEX_SHADER) { \
75 context->error(L, " supported in vertex/fragment shaders only ", S, "", ""); \
76 context->recover(); \
81 if (context->shaderType != SH_VERTEX_SHADER) { \
82 context->error(L, " supported in vertex shaders only ", S, "", ""); \
83 context->recover();
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/wx/
GraphicsContextWx.cpp 92 wxGCDC* context; member in class:WebCore::GraphicsContextPlatformPrivate
94 wxWindowDC* context; member in class:WebCore::GraphicsContextPlatformPrivate
102 context(0),
114 void GraphicsContext::platformInit(PlatformGraphicsContext* context)
117 setPaintingDisabled(!context);
119 if (context) {
120 // Make sure the context starts in sync with our state.
125 m_data->context = (wxGCDC*)context;
127 m_data->context = (wxWindowDC*)context
    [all...]
  /external/webkit/Tools/DumpRenderTree/win/
EventSender.cpp 63 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
65 return JSValueMakeBoolean(context, dragMode);
68 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception)
70 dragMode = JSValueToBoolean(context, value);
74 static JSValueRef getConstantCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
77 return JSValueMakeNumber(context, WM_KEYDOWN);
79 return JSValueMakeNumber(context, WM_KEYUP);
81 return JSValueMakeNumber(context, WM_CHAR);
83 return JSValueMakeNumber(context, WM_DEADCHAR);
85 return JSValueMakeNumber(context, WM_SYSKEYDOWN)
    [all...]
  /frameworks/base/core/java/android/widget/
ResourceCursorAdapter.java 19 import android.content.Context;
45 * @param context The context where the ListView associated with this adapter is running
51 public ResourceCursorAdapter(Context context, int layout, Cursor c) {
52 super(context, c);
54 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
59 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
60 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
ResourceCursorAdapter.java 19 import android.content.Context;
47 * @param context The context where the ListView associated with this adapter is running
53 public ResourceCursorAdapter(Context context, int layout, Cursor c) {
54 super(context, c);
56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
61 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
62 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
MailboxUtilities.java 22 import android.content.Context;
40 * @param context the caller's context
43 public static void setFlagsAndChildrensParentKey(Context context, Cursor parentCursor,
45 ContentResolver resolver = context.getContentResolver();
99 * @param context the caller's context
103 public static void setFlagsAndChildrensParentKey(Context context, String accountSelector
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 23 import android.content.Context;
39 public static Account setupAccount(String name, boolean saveIt, Context context) {
46 account.save(context);
55 Context context) {
56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null);
60 Context context, int type) {
61 return setupMailbox(name, accountId, saveIt, context, type, null)
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 23 import android.content.Context;
39 public static Account setupAccount(String name, boolean saveIt, Context context) {
46 account.save(context);
55 Context context) {
56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null);
60 Context context, int type) {
61 return setupMailbox(name, accountId, saveIt, context, type, null)
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
NoBroadcastPackageRemovedPermissionTest.java 25 * Verify Context related methods without specific BROADCAST series permissions.
31 * Verify that Context#sendStickyBroadcast(Intent),
32 * Context#removeStickyBroadcast(Intent)
41 fail("Context.sendStickyBroadcast did not throw SecurityException as expected");
48 fail("Context.removeStickyBroadcast did not throw SecurityException as expected");
55 * Verify that Context#sendBroadcast(Intent),
56 * Context#sendBroadcast(Intent, String)
57 * Context#sendOrderedBroadcast(Intent, String, BroadcastReceiver,
59 * Context#sendOrderedBroadcast(Intent, String) with ACTION_UID_REMOVED
68 fail("Context.sendBroadcast did not throw SecurityException as expected")
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
GeneratedImage.cpp 37 void GeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace, CompositeOperator compositeOp)
39 context->save();
40 context->setCompositeOperation(compositeOp);
41 context->clip(dstRect);
42 context->translate(dstRect.x(), dstRect.y());
44 context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()));
45 context->translate(-srcRect.x(), -srcRect.y());
46 context->fillRect(FloatRect(FloatPoint(), m_size), *m_generator.get());
47 context->restore();
50 void GeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const AffineTransform& patternTransform
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
Volley.java 19 import android.content.Context;
38 * @param context A {@link Context} to use for creating the cache dir.
42 public static RequestQueue newRequestQueue(Context context, HttpStack stack) {
43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR);
47 String packageName = context.getPackageName();
48 PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0);
74 * @param context A {@link Context} to use for creating the cache dir
    [all...]
  /packages/apps/Browser/src/com/android/browser/preferences/
InvertedContrastPreview.java 19 import android.content.Context;
47 Context context, AttributeSet attrs, int defStyle) {
48 super(context, attrs, defStyle);
51 public InvertedContrastPreview(Context context, AttributeSet attrs) {
52 super(context, attrs);
55 public InvertedContrastPreview(Context context) {
56 super(context);
    [all...]
  /packages/apps/Email/src/com/android/email/view/
SizeBoundingFrameLayout.java 21 import android.content.Context;
35 public SizeBoundingFrameLayout(Context context, AttributeSet attrs, int defStyle) {
36 super(context, attrs, defStyle);
37 initFromAttributeSet(context, attrs);
40 public SizeBoundingFrameLayout(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 initFromAttributeSet(context, attrs);
45 public SizeBoundingFrameLayout(Context context)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
ContactSuggestionView.java 25 import android.content.Context;
41 public ContactSuggestionView(Context context, AttributeSet attrs, int defStyle) {
42 super(context, attrs, defStyle);
45 public ContactSuggestionView(Context context, AttributeSet attrs) {
46 super(context, attrs);
49 public ContactSuggestionView(Context context) {
50 super(context);
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
TransitionType.java 19 import android.content.Context;
50 * @param context The context
54 public static TransitionType[] getTransitions(Context context) {
57 context.getString(R.string.transitions_alpha_countour),
60 context.getString(R.string.transitions_alpha_diagonal),
63 context.getString(R.string.transitions_crossfade),
66 context.getString(R.string.transitions_fade_black),
69 context.getString(R.string.transitions_sliding_right_out_left_in)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
SetupActivity.java 20 import android.content.Context;
44 * Check if the IME specified by the context is enabled.
48 * @param context package context of the IME to be checked.
51 public static boolean isThisImeEnabled(final Context context) {
52 final String packageName = context.getPackageName();
63 * Check if the IME specified by the context is the current IME.
67 * @param context package context of the IME to be checked
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
JaxenXPathTestSuite.java 74 * <context .../>
75 * <context .../>
76 * <context .../>
79 * <context .../>
92 for (final Element context : elementsOf(document.getElementsByTagName("context"))) {
93 contextToTestSuite(result, url, inputSource, context);
101 * Populates the test suite with tests from the given XML context element.
107 * Each context element has this structure:
109 * <context select="..."
120 Context context = new Context(inputSource, url, select); local
    [all...]
  /external/ipsec-tools/src/racoon/missing/crypto/sha2/
sha2.c 334 void SHA256_Init(SHA256_CTX* context) {
335 if (context == (SHA256_CTX*)0) {
338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH);
339 bzero(context->buffer, SHA256_BLOCK_LENGTH);
340 context->bitcount = 0;
380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) {
385 W256 = (sha2_word32*)context->buffer;
388 a = context->state[0];
389 b = context->state[1];
390 c = context->state[2]
653 SHA256_CTX context; local
982 SHA512_CTX context; local
1057 SHA384_CTX context; local
    [all...]
  /external/qemu/
cpu-exec.c 303 /* prepare setjmp context for exception handling */
855 # define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->ss.eip))
856 # define TRAP_sig(context) ((context)->uc_mcontext->es.trapno)
857 # define ERROR_sig(context) ((context)->uc_mcontext->es.err)
858 # define MASK_sig(context) ((context)->uc_sigmask)
862 # define EIP_sig(context) ((context)->uc_mcontext.__gregs[_REG_EIP]
    [all...]
  /frameworks/av/libvideoeditor/osal/src/
M4OSA_Thread.c 41 void* M4OSA_threadSyncForEverDo(void *context)
43 M4OSA_ThreadContext* threadContext = (M4OSA_ThreadContext*)context;
50 M4OSA_TRACE2_1("M4OSA_threadSyncForEverDo\t\tLPVOID 0x%x", context);
104 * identified by its "context". The thread function is provided by
106 * context. It's the OSAL real time responsibility for managing its
107 * context. It must be freed by the M4OSA_threadSyncClose function.
108 * The context parameter will be sent back to any OSAL core thread
113 * @param context:(OUT) Context of the created thread
118 * @return M4ERR_CONTEXT_FAILED: the context creation faile
    [all...]
  /cts/tests/src/android/widget/cts/util/
ListItemFactory.java 19 import android.content.Context;
38 * @param context The context.
42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) {
48 final LinearLayout ll = new LinearLayout(context);
56 final Button topButton = new Button(context);
62 final TextView middleFiller = new TextView(context);
69 final Button bottomButton = new Button(context);
86 * @param context The context
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
ListItemFactory.java 19 import android.content.Context;
38 * @param context The context.
42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) {
48 final LinearLayout ll = new LinearLayout(context);
56 final Button topButton = new Button(context);
62 final TextView middleFiller = new TextView(context);
69 final Button bottomButton = new Button(context);
86 * @param context The context
    [all...]

Completed in 463 milliseconds

<<11121314151617181920>>