Searched defs:ctx (Results 1 - 12 of 12) sorted by relevance

/development/samples/KeyChainDemo/src/com/example/android/keychain/
H A DSecureWebServer.java57 public SecureWebServer(Context ctx) { argument
68 FileInputStream fis = ctx.getAssets()
85 base64Image = createBase64Image(ctx);
168 * @param ctx The service this web server is running in.
172 private String createBase64Image(Context ctx) { argument
175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME));
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DAudioFocusHelper.java34 public AudioFocusHelper(Context ctx, MusicFocusable focusable) { argument
35 mAM = (AudioManager) ctx.getSystemService(Context.AUDIO_SERVICE);
/development/ndk/sources/android/libportable/arch-arm/
H A Dunwind.c59 uint64_t WRAP(_Unwind_GetGR)(struct _Unwind_Context* ctx, int index) { argument
61 _Unwind_VRS_Get(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val);
65 void WRAP(_Unwind_SetGR)(struct _Unwind_Context* ctx, int index, uint64_t new_value) { argument
67 _Unwind_VRS_Set(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val);
70 uint64_t WRAP(_Unwind_GetIP)(struct _Unwind_Context* ctx) { argument
71 return WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & ~1; // thumb bit
74 void WRAP(_Unwind_SetIP)(struct _Unwind_Context* ctx, uintptr_t new_value) { argument
77 uint32_t thumbState = WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & 1;
79 WRAP(_Unwind_SetGR)(ctx, UNWIND_IP_REG, new_val);
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
H A DWeatherWidgetProvider.java103 public void onReceive(Context ctx, Intent intent) { argument
110 final Context context = ctx;
145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string);
146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show();
149 super.onReceive(ctx, intent);
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java85 * @param ctx the Context within which to work
87 public NotesDbAdapter(Context ctx) { argument
88 this.mCtx = ctx;
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java85 * @param ctx the Context within which to work
87 public NotesDbAdapter(Context ctx) { argument
88 this.mCtx = ctx;
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java85 * @param ctx the Context within which to work
87 public NotesDbAdapter(Context ctx) { argument
88 this.mCtx = ctx;
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java85 * @param ctx the Context within which to work
87 public NotesDbAdapter(Context ctx) { argument
88 this.mCtx = ctx;
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java85 * @param ctx the Context within which to work
87 public NotesDbAdapter(Context ctx) { argument
88 this.mCtx = ctx;
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java85 * @param ctx the Context within which to work
87 public NotesDbAdapter(Context ctx) { argument
88 this.mCtx = ctx;
/development/tools/yuv420sp2rgb/
H A Dyuv420sp2rgb.c46 rgb_context *ctx);
62 rgb_context ctx; local
64 ctx.buffer = buffer;
65 ctx.size = size; /* debug */
66 ctx.width = width;
67 ctx.height = height;
68 ctx.rotate = rotate;
74 ctx.i = i;
75 ctx.j = j;
76 cb(nB, nB, nB, &ctx);
119 rgb16_cb( unsigned char r, unsigned char g, unsigned char b, rgb_context *ctx) argument
129 common_rgb_cb( unsigned char r, unsigned char g, unsigned char b, rgb_context *ctx, int alpha) argument
173 rgb24_cb( unsigned char r, unsigned char g, unsigned char b, rgb_context *ctx) argument
182 argb_cb( unsigned char r, unsigned char g, unsigned char b, rgb_context *ctx) argument
[all...]
/development/ide/xcode/ports/
H A DSkOSWindow_Mac.cpp67 void SkOSWindow::doPaint(void* ctx) argument
71 this->getBitmap().drawToPort((WindowRef)fHWND, (CGContextRef)ctx);

Completed in 443 milliseconds