/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
ClearLearnDictionaryDialogPreferenceJAJP.java | 19 import android.content.Context; 31 /** The context */ 32 protected Context mContext = null; 37 * @param context The context 40 public ClearLearnDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) { 41 super(context, attrs); 42 mContext = context; 48 * @param context The contex [all...] |
ClearUserDictionaryDialogPreferenceJAJP.java | 19 import android.content.Context; 31 /** The context */ 32 protected Context mContext = null; 37 * @param context The context 40 public ClearUserDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) { 41 super(context, attrs); 42 mContext = context; 48 * @param context The contex [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SqliteWrapper.java | 22 import android.content.Context; 47 public static void checkSQLiteException(Context context, SQLiteException e) { 49 Toast.makeText(context, com.android.internal.R.string.low_memory, 56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 62 checkSQLiteException(context, e); 67 public static boolean requery(Context context, Cursor cursor) { 72 checkSQLiteException(context, e) [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCVideoLayerImpl.cpp | 106 GraphicsContext3D* context = layerRenderer()->context(); local 111 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE1)); 112 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, yTexture.id)); 113 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE2)); 114 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, uTexture.id)) 144 GraphicsContext3D* context = layerRenderer()->context(); local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
libGLESv2.cpp | 22 #include "libGLESv2/Context.h" 44 gl::Context *context = gl::getContext(); local 46 if (context) 48 context->setActiveSampler(texture - GL_TEXTURE0); 63 gl::Context *context = gl::getContext(); local 65 if (context) 67 gl::Program *programObject = context->getProgram(program); 68 gl::Shader *shaderObject = context->getShader(shader) 117 gl::Context *context = gl::getContext(); local 155 gl::Context *context = gl::getContext(); local 189 gl::Context *context = gl::getContext(); local 221 gl::Context *context = gl::getContext(); local 240 gl::Context *context = gl::getContext(); local 277 gl::Context* context = gl::getContext(); local 321 gl::Context *context = gl::getContext(); local 444 gl::Context *context = gl::getContext(); local 479 gl::Context *context = gl::getContext(); local 528 gl::Context *context = gl::getContext(); local 576 gl::Context *context = gl::getContext(); local 607 gl::Context *context = gl::getContext(); local 627 gl::Context *context = gl::getContext(); local 646 gl::Context *context = gl::getContext(); local 665 gl::Context *context = gl::getContext(); local 685 gl::Context *context = gl::getContext(); local 704 gl::Context *context = gl::getContext(); local 764 gl::Context *context = gl::getContext(); local 895 gl::Context *context = gl::getContext(); local 999 gl::Context *context = gl::getContext(); local 1158 gl::Context *context = gl::getContext(); local 1259 gl::Context *context = gl::getContext(); local 1280 gl::Context *context = gl::getContext(); local 1314 gl::Context *context = gl::getContext(); local 1343 gl::Context *context = gl::getContext(); local 1370 gl::Context *context = gl::getContext(); local 1397 gl::Context *context = gl::getContext(); local 1427 gl::Context *context = gl::getContext(); local 1463 gl::Context *context = gl::getContext(); local 1490 gl::Context *context = gl::getContext(); local 1526 gl::Context *context = gl::getContext(); local 1566 gl::Context *context = gl::getContext(); local 1585 gl::Context *context = gl::getContext(); local 1604 gl::Context *context = gl::getContext(); local 1623 gl::Context *context = gl::getContext(); local 1676 gl::Context *context = gl::getContext(); local 1713 gl::Context *context = gl::getContext(); local 1737 gl::Context *context = gl::getContext(); local 1762 gl::Context *context = gl::getContext(); local 1796 gl::Context *context = gl::getContext(); local 1833 gl::Context *context = gl::getContext(); local 1852 gl::Context *context = gl::getContext(); local 1878 gl::Context *context = gl::getContext(); local 1897 gl::Context *context = gl::getContext(); local 1923 gl::Context *context = gl::getContext(); local 1989 gl::Context *context = gl::getContext(); local 2085 gl::Context *context = gl::getContext(); local 2114 gl::Context *context = gl::getContext(); local 2136 gl::Context *context = gl::getContext(); local 2181 gl::Context *context = gl::getContext(); local 2208 gl::Context *context = gl::getContext(); local 2235 gl::Context *context = gl::getContext(); local 2262 gl::Context *context = gl::getContext(); local 2291 gl::Context *context = gl::getContext(); local 2336 gl::Context *context = gl::getContext(); local 2380 gl::Context *context = gl::getContext(); local 2413 gl::Context *context = gl::getContext(); local 2454 gl::Context *context = gl::getContext(); local 2517 gl::Context *context = gl::getContext(); local 2562 gl::Context *context = gl::getContext(); local 2579 gl::Context *context = gl::getContext(); local 2605 gl::Context *context = gl::getContext(); local 2666 gl::Context *context = gl::getContext(); local 2784 gl::Context *context = gl::getContext(); local 2849 gl::Context *context = gl::getContext(); local 2912 gl::Context *context = gl::getContext(); local 2938 gl::Context *context = gl::getContext(); local 3054 gl::Context *context = gl::getContext(); local 3105 gl::Context *context = gl::getContext(); local 3182 gl::Context *context = gl::getContext(); local 3208 gl::Context *context = gl::getContext(); local 3240 gl::Context *context = gl::getContext(); local 3289 gl::Context *context = gl::getContext(); local 3338 gl::Context *context = gl::getContext(); local 3372 gl::Context *context = gl::getContext(); local 3411 gl::Context *context = gl::getContext(); local 3456 gl::Context *context = gl::getContext(); local 3509 gl::Context *context = gl::getContext(); local 3563 gl::Context *context = gl::getContext(); local 3602 gl::Context *context = gl::getContext(); local 3627 gl::Context *context = gl::getContext(); local 3653 gl::Context *context = gl::getContext(); local 3687 gl::Context *context = gl::getContext(); local 3715 gl::Context *context = gl::getContext(); local 3741 gl::Context *context = gl::getContext(); local 3767 gl::Context *context = gl::getContext(); local 3793 gl::Context *context = gl::getContext(); local 3819 gl::Context *context = gl::getContext(); local 3850 gl::Context *context = gl::getContext(); local 3869 gl::Context *context = gl::getContext(); local 3902 gl::Context *context = gl::getContext(); local 3943 gl::Context *context = gl::getContext(); local 4004 gl::Context *context = gl::getContext(); local 4056 gl::Context *context = gl::getContext(); local 4113 gl::Context* context = gl::getContext(); local 4137 gl::Context *context = gl::getContext(); local 4168 gl::Context* context = gl::getContext(); local 4210 gl::Context *context = gl::getContext(); local 4273 gl::Context *context = gl::getContext(); local 4315 gl::Context *context = gl::getContext(); local 4403 gl::Context *context = gl::getContext(); local 4430 gl::Context *context = gl::getContext(); local 4537 gl::Context *context = gl::getContext(); local 4666 gl::Context *context = gl::getContext(); local 4761 gl::Context *context = gl::getContext(); local 4860 gl::Context *context = gl::getContext(); local 4904 gl::Context *context = gl::getContext(); local 4950 gl::Context *context = gl::getContext(); local 4996 gl::Context *context = gl::getContext(); local 5042 gl::Context *context = gl::getContext(); local 5088 gl::Context *context = gl::getContext(); local 5134 gl::Context *context = gl::getContext(); local 5180 gl::Context *context = gl::getContext(); local 5220 gl::Context *context = gl::getContext(); local 5260 gl::Context *context = gl::getContext(); local 5300 gl::Context *context = gl::getContext(); local 5329 gl::Context *context = gl::getContext(); local 5367 gl::Context *context = gl::getContext(); local 5405 gl::Context *context = gl::getContext(); local 5430 gl::Context *context = gl::getContext(); local 5455 gl::Context *context = gl::getContext(); local 5480 gl::Context *context = gl::getContext(); local 5505 gl::Context *context = gl::getContext(); local 5530 gl::Context *context = gl::getContext(); local 5555 gl::Context *context = gl::getContext(); local 5580 gl::Context *context = gl::getContext(); local 5629 gl::Context *context = gl::getContext(); local 5653 gl::Context *context = gl::getContext(); local 5695 gl::Context *context = gl::getContext(); local [all...] |
/external/webkit/Source/JavaScriptCore/API/tests/ |
JSNode.c | 36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 41 if (!JSValueIsObjectOfClass(context, thisObject, JSNode_class(context))) { 43 *exception = JSValueMakeString(context, message); 45 } else if (argumentCount < 1 || !JSValueIsObjectOfClass(context, arguments[0], JSNode_class(context))) { 47 *exception = JSValueMakeString(context, message); 51 Node* child = JSObjectGetPrivate(JSValueToObject(context, arguments[0], NULL)); 56 return JSValueMakeUndefined(context); 59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], (…) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhoneCapabilityTester.java | 19 import android.content.Context; 46 public static boolean isIntentRegistered(Context context, Intent intent) { 47 final PackageManager packageManager = context.getPackageManager(); 56 public static boolean isPhone(Context context) { 57 if (!sIsInitialized) initialize(context); 62 private static void initialize(Context context) { 63 final TelephonyManager telephonyManager = new TelephonyManager(context); [all...] |
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminReceiverTest.java | 20 import android.content.Context; 78 public void onPasswordChanged(Context context, Intent intent) { 79 super.onPasswordChanged(context, intent); 84 public void onPasswordFailed(Context context, Intent intent) { 85 super.onPasswordFailed(context, intent); 90 public void onPasswordSucceeded(Context context, Intent intent) { 91 super.onPasswordSucceeded(context, intent) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSessionContextImplTest.java | 42 SSLSessionContextImpl context = new SSLSessionContextImpl(); local 43 context.putSession(ses1); 44 context.putSession(ses2); 45 context.putSession(ses3); 47 for (Enumeration en = context.getIds(); en.hasMoreElements();) { 49 assertTrue(context.getSession(id) != null); 52 SSLSession ses = context.getSession(ses1.getId()); 55 ses = context.getSession(ses3.getId()); 60 SSLSessionContextImpl context = new SSLSessionContextImpl(); local 61 assertEquals(0, context.getSessionCacheSize()) 74 SSLSessionContextImpl context = new SSLSessionContextImpl(); local [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 25 import android.content.Context; 134 public final void toggleState(Context context) { 135 int currentState = getTriState(context); 159 requestStateChange(context, newState); 198 public final void setImageViewResources(Context context, RemoteViews views) { 203 switch (getTriState(context)) { 206 getContentDescription(context, R.string.gadget_state_off)); 213 getContentDescription(context, R.string.gadget_state_on)) [all...] |
/cts/tests/acceleration/src/android/acceleration/cts/ |
AcceleratedView.java | 19 import android.content.Context; 33 public AcceleratedView(Context context) { 34 super(context); 37 public AcceleratedView(Context context, AttributeSet attrs) { 38 super(context, attrs); 41 public AcceleratedView(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle) [all...] |
/cts/tests/src/android/view/cts/ |
TestButton.java | 19 import android.content.Context; 25 public TestButton(Context context) { 26 super(context); 29 public TestButton(Context context, AttributeSet attrs) { 30 super(context, attrs); 33 public TestButton(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle) [all...] |
/cts/tests/src/android/widget/cts/ |
MyHorizontalScrollView.java | 19 import android.content.Context; 26 public MyHorizontalScrollView(Context context) { 27 super(context); 30 public MyHorizontalScrollView(Context context, AttributeSet attrs) { 31 super(context, attrs); 34 public MyHorizontalScrollView(Context context, AttributeSet attrs, int defStyle) { 35 super(context, attrs, defStyle) [all...] |
MyScrollView.java | 19 import android.content.Context; 26 public MyScrollView(Context context) { 27 super(context); 30 public MyScrollView(Context context, AttributeSet attrs) { 31 super(context, attrs); 34 public MyScrollView(Context context, AttributeSet attrs, int defStyle) { 35 super(context, attrs, defStyle) [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomCheckBoxPreference.java | 20 import android.content.Context; 29 public CustomCheckBoxPreference(Context context, AttributeSet attrs) { 30 super(context, attrs); 36 public CustomCheckBoxPreference(Context context) { 37 super(context); 40 public CustomCheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
CustomEditTextPreference.java | 20 import android.content.Context; 29 public CustomEditTextPreference(Context context, AttributeSet attrs) { 30 super(context, attrs); 36 public CustomEditTextPreference(Context context) { 37 super(context); 40 public CustomEditTextPreference(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
CustomPreferenceGroup.java | 20 import android.content.Context; 30 public CustomPreferenceGroup(Context context, AttributeSet attrs) { 31 super(context, attrs); 35 public CustomPreferenceGroup(Context context) { 36 super(context, null, 0); 39 public CustomPreferenceGroup(Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle) [all...] |
CustomSwitchPreference.java | 21 import android.content.Context; 30 public CustomSwitchPreference(Context context, AttributeSet attrs) { 31 super(context, attrs); 37 public CustomSwitchPreference(Context context) { 38 super(context); 41 public CustomSwitchPreference(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
YesNoDialogPreference.java | 19 import android.content.Context; 30 public YesNoDialogPreference(Context context, AttributeSet attrs) { 31 this(context, attrs, android.R.attr.yesNoPreferenceStyle); 35 public YesNoDialogPreference(Context context, AttributeSet attrs, 37 super(context, attrs, defStyle); 41 public YesNoDialogPreference(Context context) { 42 this(context, null) [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_Semaphore.c | 40 /* Context for the semaphore */ 42 M4OSA_UInt32 coreID; /* semaphore context identifiant */ 53 * @note This function creates and allocates a unique context. It's the 54 * OSAL real time responsibility for managing its context. It must 55 * be freed by the M4OSA_semaphoreClose function. The context 58 * @param context:(OUT) Context of the created semaphore 61 * @return M4ERR_PARAMETER: provided context is NULL 63 * @return M4ERR_CONTEXT_FAILED: the context creation failed 66 M4OSA_ERR M4OSA_semaphoreOpen(M4OSA_Context* context, [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractButton.java | 19 import android.content.Context; 27 public ExtractButton(Context context) { 28 super(context, null); 31 public ExtractButton(Context context, AttributeSet attrs) { 32 super(context, attrs, com.android.internal.R.attr.buttonStyle); 35 public ExtractButton(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle) [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
CheckableLinearLayout.java | 21 import android.content.Context; 30 public CheckableLinearLayout(Context context) { 31 super(context); 35 public CheckableLinearLayout(Context context, AttributeSet attrs) { 36 super(context, attrs); 40 public CheckableLinearLayout(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
ExceptionTextView.java | 22 import android.content.Context; 36 public ExceptionTextView(Context context) { 37 super(context); 40 public ExceptionTextView(Context context, AttributeSet attrs) { 41 super(context, attrs); 44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
RotationToggle.java | 19 import android.content.Context; 29 public RotationToggle(Context context) { 30 super(context); 33 public RotationToggle(Context context, AttributeSet attrs) { 34 super(context, attrs); 37 public RotationToggle(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsScrollView.java | 19 import android.content.Context; 27 public QuickSettingsScrollView(Context context) { 28 super(context); 31 public QuickSettingsScrollView(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public QuickSettingsScrollView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle) [all...] |