/dalvik/dx/src/com/android/dx/util/ |
ExceptionWithContext.java | 23 * Exception which carries around structured context. 27 /** {@code non-null;} human-oriented context of the exception */ 28 private StringBuffer context; field in class:ExceptionWithContext 31 * Augments the given exception with the given context, and return the 37 * @param str {@code non-null;} context to add 83 String ctx = ((ExceptionWithContext) cause).context.toString(); 84 context = new StringBuffer(ctx.length() + 200); 85 context.append(ctx); 87 context = new StringBuffer(200); 95 out.println(context); [all...] |
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
StackWidgetProvider.java | 22 import android.content.Context; 33 public void onDeleted(Context context, int[] appWidgetIds) { 34 super.onDeleted(context, appWidgetIds); 38 public void onDisabled(Context context) { 39 super.onDisabled(context); 43 public void onEnabled(Context context) { 44 super.onEnabled(context); [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ExceptionWithContext.java | 23 * Exception which carries around structured context. 27 /** {@code non-null;} human-oriented context of the exception */ 28 private StringBuffer context; field in class:ExceptionWithContext 31 * Augments the given exception with the given context, and return the 37 * @param str {@code non-null;} context to add 83 String ctx = ((ExceptionWithContext) cause).context.toString(); 84 context = new StringBuffer(ctx.length() + 200); 85 context.append(ctx); 87 context = new StringBuffer(200); 95 out.println(context); [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ExceptionWithContext.java | 31 * Exception which carries around structured context. 35 /** non-null; human-oriented context of the exception */ 36 private StringBuffer context; field in class:ExceptionWithContext 39 * Augments the given exception with the given context, and return the 45 * @param str non-null; context to add 91 String ctx = ((ExceptionWithContext) cause).context.toString(); 92 context = new StringBuffer(ctx.length() + 200); 93 context.append(ctx); 95 context = new StringBuffer(200); 103 out.println(context); [all...] |
/frameworks/base/core/java/android/widget/ |
ResourceCursorTreeAdapter.java | 19 import android.content.Context; 39 * @param context The context where the ListView associated with this 51 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, 53 super(cursor, context); 60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 66 * @param context The context where the ListView associated with thi [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
DefaultSearchEngine.java | 23 import android.content.Context; 41 private DefaultSearchEngine(Context context, SearchableInfo searchable) { 43 mLabel = loadLabel(context, mSearchable.getSearchActivity()); 46 public static DefaultSearchEngine create(Context context) { 48 (SearchManager) context.getSystemService(Context.SEARCH_SERVICE); 53 return new DefaultSearchEngine(context, searchable); 56 private CharSequence loadLabel(Context context, ComponentName activityName) [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
WidgetProvider.java | 23 import android.content.Context; 39 public void onEnabled(final Context context) { 43 super.onEnabled(context); 47 public void onDisabled(Context context) { 51 context.stopService(new Intent(context, WidgetService.class)); 52 super.onDisabled(context); 56 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) [all...] |
/frameworks/rs/ |
rsScriptC_LibGL.cpp | 46 // Context 49 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { 55 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { 61 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { 67 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { 73 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { 78 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { 83 void rsrBindProgramVertex(Context *rsc, ProgramVertex *pv) { 88 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) [all...] |
/frameworks/av/libvideoeditor/osal/inc/ |
M4OSA_FileWriter.h | 47 /** Get the reader context for read & write file. (M4OSA_Context*)*/ 72 M4OSA_ERR (*openWrite) (M4OSA_Context* context, 76 M4OSA_ERR (*writeData) (M4OSA_Context context, 80 M4OSA_ERR (*seek) (M4OSA_Context context, 84 M4OSA_ERR (*Flush) (M4OSA_Context context); 85 M4OSA_ERR (*closeWrite) (M4OSA_Context context); 86 M4OSA_ERR (*setOption) (M4OSA_Context context, 90 M4OSA_ERR (*getOption) (M4OSA_Context context, 100 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileWriteOpen (M4OSA_Context* context, 104 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileWriteData (M4OSA_Context context, [all...] |
/frameworks/base/core/java/android/view/ |
OrientationListener.java | 19 import android.content.Context; 43 * @param context for the OrientationListener. 45 public OrientationListener(Context context) { 46 mOrientationEventLis = new OrientationEventListenerInternal(context); 52 * @param context for the OrientationListener. 58 public OrientationListener(Context context, int rate) { 59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate); 63 OrientationEventListenerInternal(Context context) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
CompatTextView.java | 19 import android.content.Context; 35 public CompatTextView(Context context) { 36 this(context, null); 39 public CompatTextView(Context context, AttributeSet attrs) { 40 this(context, attrs, 0); 43 public CompatTextView(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle) [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
WebViewPreview.java | 19 import android.content.Context; 37 Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle); 39 init(context); 42 public WebViewPreview(Context context, AttributeSet attrs) { 43 super(context, attrs); 44 init(context); 47 public WebViewPreview(Context context) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerReceiver.java | 21 import android.content.Context; 32 public void onReceive(Context context, Intent intent) { 37 scan(context, MediaProvider.INTERNAL_VOLUME); 38 scan(context, MediaProvider.EXTERNAL_VOLUME); 49 scan(context, MediaProvider.EXTERNAL_VOLUME); 52 scanFile(context, path); 58 private void scan(Context context, String volume) { 61 context.startService [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
DragImageGtk.cpp | 52 RefPtr<cairo_t> context = adoptRef(cairo_create(scaledSurface)); local 53 cairo_scale(context.get(), scale.width(), scale.height()); 54 cairo_pattern_set_extend(cairo_get_source(context.get()), CAIRO_EXTEND_PAD); 55 cairo_pattern_set_filter(cairo_get_source(context.get()), CAIRO_FILTER_BEST); 56 cairo_set_operator(context.get(), CAIRO_OPERATOR_SOURCE); 57 cairo_set_source_surface(context.get(), image, 0, 0); 58 cairo_paint(context.get()); 69 RefPtr<cairo_t> context = adoptRef(cairo_create(image)); 70 cairo_set_operator(context.get(), CAIRO_OPERATOR_DEST_IN); 71 cairo_set_source_rgba(context.get(), 0, 0, 0, fraction) [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestViewDrawText.java | 19 import android.content.Context; 33 public BiDiTestViewDrawText(Context context) { 34 this(context, null); 37 public BiDiTestViewDrawText(Context context, AttributeSet attrs) { 38 this(context, attrs, 0); 41 public BiDiTestViewDrawText(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
CountDownTimerPreference.java | 19 import android.content.Context; 26 * initCountDownTimeChoices(Context context), rather than reading the entries 31 public CountDownTimerPreference(Context context, AttributeSet attrs) { 32 super(context, attrs); 33 initCountDownDurationChoices(context); 36 private void initCountDownDurationChoices(Context context) { 42 entries[0] = context.getString(R.string.setting_off); // Of [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DrawableStateProxyView.java | 19 import android.content.Context; 33 public DrawableStateProxyView(Context context) { 34 this(context, null); 37 public DrawableStateProxyView(Context context, AttributeSet attrs) { 38 this(context, attrs, 0); 42 public DrawableStateProxyView(Context context, AttributeSet attrs, int defStyle) { 43 super(context, attrs, defStyle) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
GraphicsOperation.h | 82 bool apply(PlatformGraphicsContext* context) { 84 context->setRawState(m_state); 85 return applyImpl(context); 87 virtual bool applyImpl(PlatformGraphicsContext* context) = 0; 185 virtual bool applyImpl(PlatformGraphicsContext* context) { 186 context->concatCTM(m_matrix); 197 virtual bool applyImpl(PlatformGraphicsContext* context) { 198 context->rotate(m_angle); 209 virtual bool applyImpl(PlatformGraphicsContext* context) { 210 context->scale(m_scale) [all...] |
/external/webkit/Source/WebKit2/UIProcess/ |
GenericCallback.h | 47 CallbackBase(void* context) 48 : m_context(context) 53 void* context() const { return m_context; } function in class:WebKit::CallbackBase 70 static PassRefPtr<VoidCallback> create(void* context, CallbackFunction callback) 72 return adoptRef(new VoidCallback(context, callback)); 84 m_callback(0, context()); 94 m_callback(toAPI(error.get()), context()); 100 VoidCallback(void* context, CallbackFunction callback) 101 : CallbackBase(context) 114 static PassRefPtr<GenericCallback> create(void* context, CallbackFunction callback [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
OrientationEventListenerTest.java | 20 import android.content.Context; 43 SensorManager sm = (SensorManager)mContext.getSystemService(Context.SENSOR_SERVICE); 52 public MockOrientationEventListener(Context context) { 53 super(context); 56 public MockOrientationEventListener(Context context, int rate) { 57 super(context, rate);
|
/external/clang/test/Sema/ |
freemain.c | 7 void* main(void* context, long size) { 8 if (context) return allocate(size);
|
heinous-extensions-off.c | 6 asm("nop" : : "m"((int)(a))); // expected-error {{cast in a inline asm context requiring an l-value}} 8 asm("nop" : "=r"((unsigned)a)); // expected-error {{cast in a inline asm context requiring an l-value}}
|
heinous-extensions-on.c | 6 asm("nop" : : "m"((int)(a))); // expected-warning {{cast in an inline asm context requiring an l-value}} 8 asm("nop" : "=r"((unsigned)a)); // expected-warning {{cast in an inline asm context requiring an l-value}}
|
/external/libsepol/include/sepol/policydb/ |
sidtab.h | 8 * of security context structures indexed by SID value. 14 #include <sepol/policydb/context.h> 18 context_struct_t context; /* security context structure */ member in struct:sidtab_node 41 context_struct_t * context); 48 context_struct_t * context, 55 context, void *args), 59 context_struct_t * context, /* IN */
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContextThemeWrapper.java | 3 import android.content.Context; 10 public void __constructor__(Context baseContext, int themesres) {
|