Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 20 of 20) sorted by relevance

/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c46 rgb_context *ctx);
62 rgb_context ctx; in color_convert_common() local
64 ctx.buffer = buffer; in color_convert_common()
65 ctx.size = size; /* debug */ in color_convert_common()
66 ctx.width = width; in color_convert_common()
67 ctx.height = height; in color_convert_common()
68 ctx.rotate = rotate; in color_convert_common()
74 ctx.i = i; in color_convert_common()
75 ctx.j = j; in color_convert_common()
76 cb(nB, nB, nB, &ctx); in color_convert_common()
[all …]
/development/ndk/sources/android/libportable/arch-arm/
Dunwind.c59 uint64_t WRAP(_Unwind_GetGR)(struct _Unwind_Context* ctx, int index) { in WRAP()
61 _Unwind_VRS_Get(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val); in WRAP()
65 void WRAP(_Unwind_SetGR)(struct _Unwind_Context* ctx, int index, uint64_t new_value) { in WRAP()
67 _Unwind_VRS_Set(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val); in WRAP()
70 uint64_t WRAP(_Unwind_GetIP)(struct _Unwind_Context* ctx) { in WRAP()
71 return WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & ~1; // thumb bit in WRAP()
74 void WRAP(_Unwind_SetIP)(struct _Unwind_Context* ctx, uintptr_t new_value) { in WRAP()
77 uint32_t thumbState = WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & 1; in WRAP()
79 WRAP(_Unwind_SetGR)(ctx, UNWIND_IP_REG, new_val); in WRAP()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java109 Context ctx = getContext(); in query() local
110 assert ctx != null; in query()
111 c.setNotificationUri(ctx.getContentResolver(), uri); in query()
138 Context ctx = getContext(); in insert() local
139 assert ctx != null; in insert()
140 ctx.getContentResolver().notifyChange(uri, null, false); in insert()
170 Context ctx = getContext(); in delete() local
171 assert ctx != null; in delete()
172 ctx.getContentResolver().notifyChange(uri, null, false); in delete()
201 Context ctx = getContext(); in update() local
[all …]
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServer.java57 public SecureWebServer(Context ctx) { in SecureWebServer() argument
68 FileInputStream fis = ctx.getAssets() in SecureWebServer()
85 base64Image = createBase64Image(ctx); in SecureWebServer()
172 private String createBase64Image(Context ctx) { in createBase64Image() argument
175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME)); in createBase64Image()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DAudioFocusHelper.java34 public AudioFocusHelper(Context ctx, MusicFocusable focusable) { in AudioFocusHelper() argument
35 mAM = (AudioManager) ctx.getSystemService(Context.AUDIO_SERVICE); in AudioFocusHelper()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java103 public void onReceive(Context ctx, Intent intent) { in onReceive() argument
110 final Context context = ctx; in onReceive()
145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string); in onReceive()
146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); in onReceive()
149 super.onReceive(ctx, intent); in onReceive()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotesDbAdapter.java87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument
88 this.mCtx = ctx; in NotesDbAdapter()
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotesDbAdapter.java87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument
88 this.mCtx = ctx; in NotesDbAdapter()
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
DNotesDbAdapter.java87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument
88 this.mCtx = ctx; in NotesDbAdapter()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotesDbAdapter.java87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument
88 this.mCtx = ctx; in NotesDbAdapter()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNotesDbAdapter.java87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument
88 this.mCtx = ctx; in NotesDbAdapter()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotesDbAdapter.java87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument
88 this.mCtx = ctx; in NotesDbAdapter()
/development/samples/browseable/SkeletonWearableApp/Wearable/src/com.example.android.google.wearable.app/
DGridExampleActivity.java62 public MainAdapter(Context ctx, FragmentManager fm) { in MainAdapter() argument
64 mContext = ctx; in MainAdapter()
/development/ndk/platforms/android-9/include/EGL/
Degl.h300 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
302 EGLSurface read, EGLContext ctx);
307 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx,
Deglext.h84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, E…
87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenu…
/development/samples/browseable/GridViewPager/Wearable/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java54 public SampleGridPagerAdapter(Context ctx, FragmentManager fm) { in SampleGridPagerAdapter() argument
56 mContext = ctx; in SampleGridPagerAdapter()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h68 FNDEF(EGLBoolean, eglDestroyContext, (EGLDisplay dpy, EGLContext ctx));
75 FNDEF(EGLBoolean, eglMakeCurrent, (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx
/development/ide/xcode/ports/
DSkOSWindow_Mac.cpp67 void SkOSWindow::doPaint(void* ctx) in doPaint() argument
71 this->getBitmap().drawToPort((WindowRef)fHWND, (CGContextRef)ctx); in doPaint()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java219 Context ctx = getApplicationContext(); in createContactEntry()
222 Toast toast = Toast.makeText(ctx, txt, duration); in createContactEntry()
/development/ndk/platforms/android-L/include/arpa/
Dnameser.h270 void *ctx; member