Home
last modified time | relevance | path

Searched refs:context (Results 1 – 9 of 9) sorted by relevance

/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareCodeAction.java26 public static void launch(Context context, CharSequence title) { in launch() argument
27 String shareBody = CodeGenerator.generate(context); in launch()
32 context.startActivity(Intent.createChooser(sharingIntent, title)); in launch()
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/
DMyView.java10 public MyView(Context context) { in MyView() argument
11 super(context); in MyView()
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
DLabelView.java45 public LabelView(Context context) { in LabelView() argument
46 super(context); in LabelView()
57 public LabelView(Context context, AttributeSet attrs) { in LabelView() argument
58 super(context, attrs); in LabelView()
62 TypedArray a = context.obtainStyledAttributes(attrs, in LabelView()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
DMultiTouchView.java68 public MultiTouchView(Context context) { in MultiTouchView() argument
69 this(context, null); in MultiTouchView()
77 public MultiTouchView(Context context, AttributeSet attrs) { in MultiTouchView() argument
78 this(context, attrs, 0); in MultiTouchView()
86 public MultiTouchView(Context context, AttributeSet attrs, int defStyle) { in MultiTouchView() argument
87 super(context, attrs, defStyle); in MultiTouchView()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DMaxHeightScrollView.java27 public MaxHeightScrollView(Context context, AttributeSet attrs) { in MaxHeightScrollView() argument
28 super(context, attrs); in MaxHeightScrollView()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/
DEditableItem.java76 public static void initIfNecessary(Context context) { in initIfNecessary() argument
79 loadBitmaps(context, LARGE_ICON, LARGE_ICONS); in initIfNecessary()
80 loadBitmaps(context, PICTURE, PICTURES); in initIfNecessary()
84 private static void loadBitmaps(Context context, EditableItem item, int[] bitmapResIds) { in loadBitmaps() argument
86 Resources res = context.getResources(); in loadBitmaps()
204 public String getCaption(Context context) { in getCaption() argument
205 return context.getString(mCaptionId); in getCaption()
208 public String getCategory(Context context) { in getCategory() argument
209 return context.getString(mCategoryId); in getCategory()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
DCodeGenerator.java51 public static String generate(Context context) { in generate() argument
56 sb.append(INDENT + ".setSmallIcon(" + getResourceVar(context, SMALL_ICON) + ")"); in generate()
131 private static String getResourceVar(Context context, EditableItem item) { in getResourceVar() argument
133 String packageName = context.getResources().getResourcePackageName(resId); in getResourceVar()
134 String type = context.getResources().getResourceTypeName(resId); in getResourceVar()
135 String entryName = context.getResources().getResourceEntryName(resId); in getResourceVar()
DNotificationGenerator.java54 public static Notification build(Context context) { in build() argument
56 PendingIntent noop = PendingIntent.getActivity(context, 0, new Intent(), 0); in build()
58 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); in build()
/sdk/templates/docs/
Djquery-1.8.0.min.js2context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1…