/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusOnlyTabWidget.java | 19 import android.content.Context; 25 public FocusOnlyTabWidget(Context context) { 26 super(context); 29 public FocusOnlyTabWidget(Context context, AttributeSet attrs) { 30 super(context, attrs); 33 public FocusOnlyTabWidget(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle) [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
FileItemInfoLayout.java | 7 import android.content.Context; 26 public FileItemInfoLayout(Context context) { 27 this(context, null); 30 public FileItemInfoLayout(Context context, AttributeSet attrs) { 31 this(context, attrs, 0); 34 public FileItemInfoLayout(Context context, AttributeSet attrs, int defStyle) { 35 super(context, attrs, defStyle) [all...] |
UsageBarPreference.java | 21 import android.content.Context; 37 public UsageBarPreference(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle); 42 public UsageBarPreference(Context context) { 43 super(context); 47 public UsageBarPreference(Context context, AttributeSet attrs) { 48 super(context, attrs) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
TimelineRelativeLayout.java | 19 import android.content.Context; 43 public TimelineRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle); 49 public TimelineRelativeLayout(Context context, AttributeSet attrs) { 50 this(context, attrs, 0); 53 public TimelineRelativeLayout(Context context) { 54 this(context, null, 0) [all...] |
/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...] |
/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/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/Contacts/src/com/android/contacts/model/ |
ExchangeAccountType.java | 25 import android.content.Context; 46 public ExchangeAccountType(Context context, String resPackageName) { 52 addDataKindStructuredName(context); 53 addDataKindDisplayName(context); 54 addDataKindPhoneticName(context); 55 addDataKindNickname(context); 56 addDataKindPhone(context); 57 addDataKindEmail(context); 58 addDataKindStructuredPostal(context); [all...] |
GoogleAccountType.java | 25 import android.content.Context; 42 public GoogleAccountType(Context context, String resPackageName) { 48 addDataKindStructuredName(context); 49 addDataKindDisplayName(context); 50 addDataKindPhoneticName(context); 51 addDataKindNickname(context); 52 addDataKindPhone(context); 53 addDataKindEmail(context); 54 addDataKindStructuredPostal(context); [all...] |
/external/bluetooth/glib/glib/ |
goption.h | 66 typedef gboolean (*GOptionParseFunc) (GOptionContext *context, 71 typedef void (*GOptionErrorFunc) (GOptionContext *context, 104 void g_option_context_set_summary (GOptionContext *context, 106 G_CONST_RETURN gchar *g_option_context_get_summary (GOptionContext *context); 107 void g_option_context_set_description (GOptionContext *context, 109 G_CONST_RETURN gchar *g_option_context_get_description (GOptionContext *context); 110 void g_option_context_free (GOptionContext *context); 111 void g_option_context_set_help_enabled (GOptionContext *context, 113 gboolean g_option_context_get_help_enabled (GOptionContext *context); 114 void g_option_context_set_ignore_unknown_options (GOptionContext *context, [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactListEmptyView.java | 22 import android.content.Context; 39 public ContactListEmptyView(Context context, AttributeSet attrs) { 40 super(context, attrs); 56 Context context = getContext(); local 58 empty.setText(context.getText(R.string.noContactsWithPhoneNumbers)); 60 empty.setText(context.getText(R.string.noFavoritesHelpText)); 62 empty.setText(context.getText(R.string.noMatchingContacts)); 65 empty.setText(context.getText(R.string.no_contacts_selected)) [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...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
InvertedContrastPreview.java | 19 import android.content.Context; 45 Context context, AttributeSet attrs, int defStyle) { 46 super(context, attrs, defStyle); 49 public InvertedContrastPreview(Context context, AttributeSet attrs) { 50 super(context, attrs); 53 public InvertedContrastPreview(Context context) { 54 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/Mms/src/com/android/mms/ui/ |
DeliveryReportListItem.java | 23 import android.content.Context; 39 DeliveryReportListItem(Context context) { 40 super(context); 52 public DeliveryReportListItem(Context context, AttributeSet attrs) { 53 super(context, attrs); 67 Context context = getContext(); local 68 String receivedStr = context.getString(R.string.status_received) [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/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 19 import android.content.Context; 34 * @param context the application context 38 public static String formatElapsedTime(Context context, double millis) { 56 sb.append(context.getString(R.string.battery_history_days, 59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds)); 61 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds)); 63 sb.append(context.getString(R.string.battery_history_seconds, seconds)); 70 * @param context the application contex [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...] |
/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...] |