/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGResourceSolidColor.cpp | 45 bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) 50 ASSERT(context); 57 context->setAlpha(svgStyle ? svgStyle->fillOpacity() : 1.0f); 58 context->setFillColor(m_color, colorSpace); 59 context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO); 62 context->setTextDrawingMode(TextModeFill); 64 context->setAlpha(svgStyle ? svgStyle->strokeOpacity() : 1.0f); 65 context->setStrokeColor(m_color, colorSpace); 68 SVGRenderSupport::applyStrokeStyleToContext(context, style, object); 71 context->setTextDrawingMode(TextModeStroke) [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ContextMenuBuilder.java | 19 import android.content.Context; 33 * context menus, it will use this class. 35 * To use this class, instantiate it via {@link #ContextMenuBuilder(Context)}, 38 * with a view's context menu items and show the context menu. 42 public ContextMenuBuilder(Context context) { 43 super(context); 67 * Shows this context menu, allowing the optional original view (and its 71 * context menu [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
FontSizePreview.java | 19 import android.content.Context; 36 Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 40 public FontSizePreview(Context context, AttributeSet attrs) { 41 super(context, attrs); 44 public FontSizePreview(Context context) { 45 super(context); [all...] |
SeekBarSummaryPreference.java | 19 import android.content.Context; 35 Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle); 40 public SeekBarSummaryPreference(Context context, AttributeSet attrs) { 41 super(context, attrs); 45 public SeekBarSummaryPreference(Context context) { 46 super(context); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentTypeSelectorAdapter.java | 23 import android.content.Context; 43 public AttachmentTypeSelectorAdapter(Context context, int mode) { 44 super(context, getData(mode, context)); 52 protected static List<IconListItem> getData(int mode, Context context) { 54 addItem(data, context.getString(R.string.attach_image), 57 addItem(data, context.getString(R.string.attach_take_photo), 60 addItem(data, context.getString(R.string.attach_video) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerReceiver.java | 20 import android.content.Context; 36 public void onReceive(Context context, Intent intent) { 41 scan(context, MediaProvider.INTERNAL_VOLUME); 51 scan(context, MediaProvider.EXTERNAL_VOLUME); 54 scanFile(context, path); 60 private void scan(Context context, String volume) { 63 context.startService( 64 new Intent(context, MediaScannerService.class).putExtras(args)) [all...] |
/sdk/lint/libs/lint_api/src/com/android/tools/lint/api/ |
IDomParser.java | 19 import com.android.tools.lint.detector.api.Context; 35 * Parse the file pointed to by the given context and return as a Document 37 * @param context the context pointing to the file to be parsed, typically 38 * via {@link Context#getContents()} but the file handle ( 39 * {@link Context#file} can also be used to map to an existing 43 public Document parse(Context context); 51 * @param context information about the file being parsed 55 public Position getStartPosition(Context context, Node node) [all...] |
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
BasicGLSurfaceView.java | 19 import android.content.Context; 25 public BasicGLSurfaceView(Context context) { 26 super(context); 28 setRenderer(new GLES20TriangleRenderer(context));
|
/external/icu4c/samples/ucnv/ |
flagcb.h | 12 /* The structure of a FromU Flag context. 13 (conceivably there could be a ToU Flag Context) */ 23 * open the context 32 const void *context, 50 U_CAPI void debugCB_fromU(const void *context,
|
/packages/apps/Email/src/com/android/email/service/ |
EmailServiceUtils.java | 20 import android.content.Context; 40 public static void startService(Context context, String intentAction) { 41 context.startService(new Intent(intentAction)); 48 * @param context 51 public static IEmailService getService(Context context, String intentAction, 53 return new EmailServiceProxy(context, intentAction, callback); 59 public static boolean isServiceAvailable(Context context, String intentAction) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
InstallShortcutReceiver.java | 22 import android.content.Context; 38 public void onReceive(Context context, Intent data) { 45 if (!installShortcut(context, data, screen)) { 48 if (i != screen && installShortcut(context, data, i)) break; 53 private boolean installShortcut(Context context, Intent data, int screen) { 56 if (findEmptyCell(context, mCoordinates, screen)) { 66 if (duplicate || !LauncherModel.shortcutExists(context, name, intent)) { 67 LauncherApplication app = (LauncherApplication) context.getApplicationContext() [all...] |
/development/apps/Development/src/com/android/development/ |
LogTextBox.java | 20 import android.content.Context; 41 public LogTextBox(Context context) { 42 this(context, null); 45 public LogTextBox(Context context, AttributeSet attrs) { 46 this(context, attrs, android.R.attr.textViewStyle); 49 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { 50 super(context, attrs, defStyle) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
LogTextBox.java | 20 import android.content.Context; 38 public LogTextBox(Context context) { 39 this(context, null); 42 public LogTextBox(Context context, AttributeSet attrs) { 43 this(context, attrs, android.R.attr.textViewStyle); 46 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { 47 super(context, attrs, defStyle) [all...] |
/frameworks/base/core/java/android/widget/ |
Space.java | 19 import android.content.Context; 33 public Space(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle); 43 public Space(Context context, AttributeSet attrs) { 44 this(context, attrs, 0); 50 public Space(Context context) { 52 this(context, null) [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
PolicyManager.java | 19 import android.content.Context; 58 public static Window makeNewWindow(Context context) { 59 return sPolicy.makeNewWindow(context); 62 public static LayoutInflater makeNewLayoutInflater(Context context) { 63 return sPolicy.makeNewLayoutInflater(context); 70 public static FallbackEventHandler makeNewFallbackEventHandler(Context context) { 71 return sPolicy.makeNewFallbackEventHandler(context); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
DialogTitle.java | 19 import android.content.Context; 32 public DialogTitle(Context context, AttributeSet attrs, 34 super(context, attrs, defStyle); 37 public DialogTitle(Context context, AttributeSet attrs) { 38 super(context, attrs); 41 public DialogTitle(Context context) { 42 super(context); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewAttachView.java | 19 import android.content.Context; 35 public ViewAttachView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle); 40 public ViewAttachView(Context context, AttributeSet attrs) { 41 super(context, attrs); 45 public ViewAttachView(Context context) { 46 super(context); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneLayoutInflater.java | 21 import android.content.Context; 34 * through {@link Context#getSystemService} 36 * @param context The Context in which in which to find resources and other 39 * @see Context#getSystemService 41 public PhoneLayoutInflater(Context context) { 42 super(context); 45 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { 69 public LayoutInflater cloneInContext(Context newContext) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
SurfaceView.java | 21 import android.content.Context; 36 public SurfaceView(Context context) { 37 this(context, null); 40 public SurfaceView(Context context, AttributeSet attrs) { 41 this(context, attrs , 0); 44 public SurfaceView(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
/frameworks/compile/slang/ |
slang_rs_reflection.h | 48 class Context { 111 Context(const std::string &OutputPathBase, 216 bool genScriptClass(Context &C, 219 void genScriptClassConstructor(Context &C); 221 void genInitBoolExportVariable(Context &C, 224 void genInitPrimitiveExportVariable(Context &C, 227 void genInitExportVariable(Context &C, 231 void genExportVariable(Context &C, const RSExportVar *EV); 232 void genPrimitiveTypeExportVariable(Context &C, const RSExportVar *EV); 233 void genPointerTypeExportVariable(Context &C, const RSExportVar *EV) [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
BookmarkContainer.java | 19 import android.content.Context; 33 public BookmarkContainer(Context context) { 34 super(context); 38 public BookmarkContainer(Context context, AttributeSet attrs) { 39 super(context, attrs); 44 Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
EventRedirectingFrameLayout.java | 19 import android.content.Context; 30 public EventRedirectingFrameLayout(Context context) { 31 super(context); 34 public EventRedirectingFrameLayout(Context context, AttributeSet attrs) { 35 super(context, attrs); 39 Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupDetailDisplayUtils.java | 23 import android.content.Context; 35 public static View getNewGroupSourceView(Context context) { 36 LayoutInflater inflater = (LayoutInflater)context.getSystemService( 37 Context.LAYOUT_INFLATER_SERVICE); 41 public static void bindGroupSourceView(Context context, View view, String accountTypeString, 43 AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(context); 51 label.setText(accountType.getViewGroupLabel(context)); 58 accountIcon.setImageDrawable(accountType.getDisplayIcon(context)); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmReceiver.java | 24 import android.content.Context; 42 public void onReceive(final Context context, final Intent intent) { 44 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context); 48 handleIntent(context, intent); 55 private void handleIntent(Context context, Intent intent) { 58 updateNotification(context, (Alarm) 70 Alarms.disableSnoozeAlert(context, alarm.id); 71 Alarms.setNextAlert(context); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PackagesMonitor.java | 22 import android.content.Context; 30 public synchronized static int getPackagesVersion(Context context) { 31 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); 36 public void onReceive(Context context, Intent intent) { 37 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); 45 PicasaSource.onPackageAdded(context, packageName); 47 PicasaSource.onPackageRemoved(context, packageName); 49 PicasaSource.onPackageChanged(context, packageName) [all...] |