/frameworks/base/core/java/android/service/dreams/ |
Sandman.java | 20 import android.content.Context; 54 public static boolean shouldStartDockApp(Context context, Intent intent) { 55 ComponentName name = intent.resolveActivity(context.getPackageManager()); 62 public static void startDreamByUserRequest(Context context) { 63 startDream(context, false); 70 public static void startDreamWhenDockedIfAppropriate(Context context) { 71 if (!isScreenSaverEnabled(context) [all...] |
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 19 import android.content.Context; 33 private Context mContext; 37 * @deprecated Use {@link #ImageSpan(Context, Bitmap)} instead. 45 * @deprecated Use {@link #ImageSpan(Context, Bitmap, int) instead. 52 public ImageSpan(Context context, Bitmap b) { 53 this(context, b, ALIGN_BOTTOM); 60 public ImageSpan(Context context, Bitmap b, int verticalAlignment) { 62 mContext = context; [all...] |
/frameworks/base/media/mca/effect/java/android/media/effect/ |
EffectContext.java | 30 * context.</p> 32 * <p>Every EffectContext is bound to one GL context. The application is responsible for creating 33 * this EGL context, and making it current before applying any effect. If your EGL context is 34 * destroyed, the EffectContext becomes invalid and any effects bound to this context can no longer 35 * be used. If you switch to another EGL context, you must create a new EffectContext. Each Effect 36 * is bound to a single EffectContext, and can only be executed in that context.</p> 52 * Creates a context within the current GL context. 54 * <p>Binds the EffectContext to the current OpenGL context. All subsequent calls to th [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxManagerService.java | 20 import android.content.Context; 55 static private synchronized void bindServices(Context context) { 57 context.bindService(new Intent(IBordeauxService.class.getName()), 58 mConnection, Context.BIND_AUTO_CREATE); 62 // Call the release, before the Context gets destroyed. 63 static public synchronized void release(Context context) { 65 context.unbindService(mConnection); 71 static public synchronized IBordeauxService getService(Context context) [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
SqliteWrapper.java | 23 import android.content.Context; 41 private static boolean isLowMemory(Context context) { 42 if (null == context) { 47 context.getSystemService(Context.ACTIVITY_SERVICE); 59 public static void checkSQLiteException(Context context, SQLiteException e) { 61 Toast.makeText(context, com.android.internal.R.string.low_memory, 68 public static Cursor query(Context context, ContentResolver resolver, Uri uri [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerReceiver.java | 24 import android.content.Context; 48 public void onReceive(final Context context, final Intent intent) { 55 cancelInUseNotification(context); 63 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); 68 showInUseNotification(context); 71 showTimesUpNotification(context); 74 cancelTimesUpNotification(context); 105 si.setClass(context, TimerRingService.class); 106 context.startService(si) [all...] |
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
TouchExampleView.java | 18 import android.content.Context; 33 public TouchExampleView(Context context) { 34 this(context, null, 0); 37 public TouchExampleView(Context context, AttributeSet attrs) { 38 this(context, attrs, 0); 41 public TouchExampleView(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/docs/source/ |
cso.rst | 8 to a context. The context returns an opaque context-specific handle which
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
wmesadef.h | 6 #include "main/context.h" 10 * The Windows Mesa rendering context, derived from struct gl_context. 13 struct gl_context gl_ctx; /* The core GL/Mesa context */
|
/external/chromium_org/third_party/smhasher/src/ |
sha1.h | 17 void SHA1_Init(SHA1_CTX* context); 18 void SHA1_Update(SHA1_CTX* context, const uint8_t* data, const size_t len); 19 void SHA1_Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
PyCrypto_RC4.py | 16 self.context = Crypto.Cipher.ARC4.new(key) 19 return self.context.encrypt(plaintext) 22 return self.context.decrypt(ciphertext
|
/external/icu4c/samples/layout/ |
clayout.c | 27 struct Context 34 typedef struct Context Context; 51 void InitParagraph(HWND hwnd, Context *context) 55 if (context->paragraph != NULL) { 58 if (context->width > 0 && context->height > 0) { 59 pf_breakLines(context->paragraph, context->width, context->height) 121 Context *context; local [all...] |
/external/mesa3d/src/gallium/docs/source/ |
cso.rst | 8 to a context. The context returns an opaque context-specific handle which
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wmesadef.h | 6 #include "main/context.h" 10 * The Windows Mesa rendering context, derived from struct gl_context. 13 struct gl_context gl_ctx; /* The core GL/Mesa context */
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDateFormat.java | 3 import android.content.Context; 13 public final static java.text.DateFormat getDateFormat(Context context) {
|
/external/wpa_supplicant_8/src/crypto/ |
md5_i.h | 18 void MD5Init(struct MD5Context *context); 19 void MD5Update(struct MD5Context *context, unsigned char const *buf, 21 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsBasicTile.java | 19 import android.content.Context; 33 public QuickSettingsBasicTile(Context context) { 34 this(context, null); 37 public QuickSettingsBasicTile(Context context, AttributeSet attrs) { 38 this(context, attrs, R.layout.quick_settings_tile_basic); 41 public QuickSettingsBasicTile(Context context, AttributeSet attrs, int layoutId) { 42 super(context, attrs) [all...] |
/frameworks/compile/libbcc/lib/Support/ |
sha1.h | 19 void SHA1Init(SHA1_CTX* context); 20 void SHA1Update(SHA1_CTX* context, const unsigned char* data, 22 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
/frameworks/rs/ |
rsProgramVertex.h | 30 ProgramVertex(Context *,const char * shaderText, size_t shaderLength, 35 virtual void setup(Context *rsc, ProgramVertexState *state); 37 void setProjectionMatrix(Context *, const rsc_Matrix *) const; 38 void getProjectionMatrix(Context *, rsc_Matrix *) const; 39 void setModelviewMatrix(Context *, const rsc_Matrix *) const; 40 void setTextureMatrix(Context *, const rsc_Matrix *) const; 42 void transformToScreen(Context *, float *v4out, const float *v3in) const; 44 virtual void serialize(Context *rsc, OStream *stream) const; 46 static ProgramVertex *createFromStream(Context *rsc, IStream *stream); 54 void init(Context *rsc) [all...] |
/ndk/sources/host-tools/sed-4.2.1/m4/ |
selinux-context-h.m4 | 8 # Provide <selinux/context.h>, if necessary. 12 AC_CHECK_HEADERS([selinux/context.h], 14 [SELINUX_CONTEXT_H=selinux/context.h])
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsSearchManager.java | 33 * An extra that provides context for search UI and defines the scope for 41 public static void startSearch(Activity context, String initialQuery) { 42 context.startActivity(buildIntent(context, initialQuery, null)); 45 public static void startSearchForResult(Activity context, String initialQuery, 47 context.startActivityForResult( 48 buildIntent(context, initialQuery, originalRequest), requestCode); 51 public static void startSearch(Activity context, String initialQuery, 53 context.startActivity(buildIntent(context, initialQuery, originalRequest)) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
HandleView.java | 20 import android.content.Context; 35 public HandleView(Context context) { 36 super(context); 39 public HandleView(Context context, AttributeSet attrs) { 40 this(context, attrs, 0); 43 public HandleView(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle) [all...] |
HolographicLinearLayout.java | 19 import android.content.Context; 36 public HolographicLinearLayout(Context context) { 37 this(context, null); 40 public HolographicLinearLayout(Context context, AttributeSet attrs) { 41 this(context, attrs, 0); 44 public HolographicLinearLayout(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
ProfileUpdateReceiver.java | 20 import android.content.Context; 38 public void onReceive(final Context context, Intent intent) { 42 Utils.copyMeProfilePhoto(context, null); 43 copyProfileName(context); 48 static void copyProfileName(Context context) { 49 SharedPreferences prefs = context.getSharedPreferences("profile", Context.MODE_PRIVATE); 55 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE) [all...] |
/packages/experimental/TestBack/src/foo/bar/testback/ |
IdleMaintenanceReceiver.java | 4 import android.content.Context; 14 public void onReceive(Context context, Intent intent) {
|