/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardLinearLayout.java | 18 import android.content.Context; 29 public KeyguardLinearLayout(Context context) { 30 this(context, null, 0); 33 public KeyguardLinearLayout(Context context, AttributeSet attrs) { 34 this(context, attrs, 0); 37 public KeyguardLinearLayout(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle) [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
MainView.java | 19 import android.content.Context; 28 public MainView(Context context) { 29 super(context); 32 public MainView(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public MainView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
/frameworks/ex/carousel/test/src/com/android/carouseltest/ |
MyCarouselView.java | 19 import android.content.Context; 28 public MyCarouselView(Context context, CarouselController controller) { 29 this(context, null, controller); 32 public MyCarouselView(Context context, AttributeSet attrs) { 33 this(context, attrs, new CarouselController()); 36 public MyCarouselView(Context context, AttributeSet attrs, CarouselController controller) { 37 super(context, attrs, controller) [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
CustomScreenLinearLayout.java | 20 import android.content.Context; 27 public CustomScreenLinearLayout(Context context) { 28 super(context); 32 public CustomScreenLinearLayout(Context context, AttributeSet attrs) { 33 super(context, attrs); 37 public CustomScreenLinearLayout(Context context, AttributeSet attrs, 39 super(context, attrs, defStyle) [all...] |
SnapshotGridView.java | 18 import android.content.Context; 28 public SnapshotGridView(Context context) { 29 super(context); 32 public SnapshotGridView(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public SnapshotGridView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkWidgetProxy.java | 22 import android.content.Context; 31 public void onReceive(Context context, Intent intent) { 33 BookmarkThumbnailWidgetService.changeFolder(context, intent); 35 startActivity(context, 37 null, context, BrowserActivity.class)); 41 startActivity(context, view); 45 void startActivity(Context context, Intent intent) { 48 context.startActivity(intent) [all...] |
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
LinearLayoutWithMaxWidth.java | 19 import android.content.Context; 26 public LinearLayoutWithMaxWidth(Context context) { 27 super(context); 30 public LinearLayoutWithMaxWidth(Context context, AttributeSet attrs) { 31 super(context, attrs); 34 public LinearLayoutWithMaxWidth(Context context, AttributeSet attrs, int defStyle) { 35 super(context, attrs, defStyle) [all...] |
WeekButton.java | 19 import android.content.Context; 27 public WeekButton(Context context) { 28 super(context); 31 public WeekButton(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public WeekButton(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ActionsViewContainer.java | 19 import android.content.Context; 34 public ActionsViewContainer(Context context) { 35 super(context); 38 public ActionsViewContainer(Context context, AttributeSet attrs) { 39 this(context, attrs, 0); 42 public ActionsViewContainer(Context context, AttributeSet attrs, int defStyle) { 43 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
FullHeightLinearLayout.java | 19 import android.content.Context; 31 public FullHeightLinearLayout(Context context) { 32 super(context); 35 public FullHeightLinearLayout(Context context, AttributeSet attrs) { 36 super(context, attrs); 39 public FullHeightLinearLayout(Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
SwipeLayout.java | 19 import android.content.Context; 32 public SwipeLayout(Context context) { 33 super(context); 36 public SwipeLayout(Context context, AttributeSet attrs) { 37 super(context, attrs); 40 public SwipeLayout(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogListItemView.java | 19 import android.content.Context; 27 public CallLogListItemView(Context context) { 28 super(context); 31 public CallLogListItemView(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public CallLogListItemView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
IngestGridView.java | 19 import android.content.Context; 35 public IngestGridView(Context context) { 36 super(context); 39 public IngestGridView(Context context, AttributeSet attrs) { 40 super(context, attrs); 43 public IngestGridView(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle) [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
SquareImageView.java | 19 import android.content.Context; 26 public SquareImageView(Context context) { 27 super(context); 30 public SquareImageView(Context context, AttributeSet attrs) { 31 super(context, attrs); 34 public SquareImageView(Context context, AttributeSet attrs, int defStyle) { 35 super(context, attrs, defStyle) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AccessibleTabView.java | 19 import android.content.Context; 28 public AccessibleTabView(Context context) { 29 super(context); 32 public AccessibleTabView(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public AccessibleTabView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
RegionMediaModel.java | 20 import android.content.Context; 29 public RegionMediaModel(Context context, String tag, Uri uri, 31 this(context, tag, null, null, uri, region); 34 public RegionMediaModel(Context context, String tag, String contentType, 36 super(context, tag, contentType, src, uri); 40 public RegionMediaModel(Context context, String tag, String contentType, 42 super(context, tag, contentType, src, data) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
ContactBadge.java | 18 import android.content.Context; 32 public ContactBadge(Context context) { 33 super(context); 36 public ContactBadge(Context context, AttributeSet attrs) { 37 super(context, attrs); 40 public ContactBadge(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
EditorRelativeLayout.java | 21 import android.content.Context; 36 public EditorRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 42 public EditorRelativeLayout(Context context, AttributeSet attrs) { 43 this(context, attrs, 0); 46 public EditorRelativeLayout(Context context) { 47 this(context, null, 0) [all...] |
PreviewSurfaceView.java | 19 import android.content.Context; 31 public PreviewSurfaceView(Context context, AttributeSet attrs, int defStyle) { 32 super(context, attrs, defStyle); 35 public PreviewSurfaceView(Context context, AttributeSet attrs) { 36 this(context, attrs, 0); 39 public PreviewSurfaceView(Context context) { 40 this(context, null, 0) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoundManager.java | 19 import android.content.Context; 27 private Context mContext; 33 private SoundManager(Context context) { 34 mContext = context; 41 .getSystemService(Context.AUDIO_SERVICE); 46 public static SoundManager getInstance(Context context) { 48 if (null != context) { 49 mInstance = new SoundManager(context); [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetProvider.java | 28 import android.content.Context; 56 public void onReceive(Context context, Intent intent) { 62 if (Utils.getWidgetUpdateAction(context).equals(action)) { 63 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 64 performUpdate(context, appWidgetManager, 65 appWidgetManager.getAppWidgetIds(getComponentName(context)), 71 || action.equals(Utils.getWidgetScheduledUpdateAction(context))) { 72 Intent service = new Intent(context, CalendarAppWidgetService.class); 73 context.startService(service) [all...] |
/packages/apps/Stk/src/com/android/stk/ |
StkCmdReceiver.java | 22 import android.content.Context; 33 public void onReceive(Context context, Intent intent) { 37 handleCommandMessage(context, intent); 39 handleSessionEnd(context, intent); 43 private void handleCommandMessage(Context context, Intent intent) { 48 context.startService(new Intent(context, StkAppService.class) 52 private void handleSessionEnd(Context context, Intent intent) [all...] |
/external/webkit/Source/WebKit/chromium/tests/ |
TransparencyWinTest.cpp | 50 static void drawNativeRect(GraphicsContext* context, 53 SkCanvas* canvas = context->platformContext()->canvas(); 67 static Color getPixelAt(GraphicsContext* context, int x, int y) 69 const SkBitmap& bitmap = context->platformContext()->canvas()->getTopDevice()->accessBitmap(false); 75 static void clearTopLayerAlphaChannel(GraphicsContext* context) 77 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()->canvas()->getTopDevice()->accessBitmap(false)); 86 static void clearTopLayerAlphaPixel(GraphicsContext* context, int x, int y) 88 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()->canvas()->getTopDevice()->accessBitmap(false)); 108 helper.init(src->context(), 113 EXPECT_TRUE(src->context() == helper.context()) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContextTest.java | 4 import android.content.Context; 26 private Context context; field in class:ContextTest 30 context = new Activity(); 31 deleteDir(context.getFilesDir()); 32 deleteDir(context.getCacheDir()); 34 File[] files = context.getFilesDir().listFiles(); 38 File[] cachedFiles = context.getFilesDir().listFiles(); 45 deleteDir(context.getFilesDir()); 46 deleteDir(context.getCacheDir()) [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProvider.java | 20 import android.content.Context; 28 * {@link #onReceive(Context,Intent) onReceive(Context,Intent)}, and calls hook methods 53 * @param context The Context in which the receiver is running. 57 public void onReceive(Context context, Intent intent) { 66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); 74 this.onDeleted(context, new int[] { appWidgetId }) [all...] |