/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
VerticalSlider.java | 3 import android.content.Context; 7 public VerticalSlider(Context context) { 8 super(context); 9 initSliderView(context, true); 12 public VerticalSlider(Context context, AttributeSet attrs) { 13 super(context, attrs); 14 initSliderView(context, true);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
TestBroadcastReceiver.java | 4 import android.content.Context; 8 public Context context; field in class:TestBroadcastReceiver 12 public void onReceive(Context context, Intent intent) { 13 this.context = context;
|
CustomView2.java | 3 import android.content.Context; 10 public CustomView2(Context context, AttributeSet attrs) { 11 super(context, attrs);
|
/external/chromium_org/ppapi/c/ |
ppb_opengles2.h | 39 void (*ActiveTexture)(PP_Resource context, GLenum texture); 40 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader); 42 PP_Resource context, GLuint program, GLuint index, const char* name); 43 void (*BindBuffer)(PP_Resource context, GLenum target, GLuint buffer); 45 PP_Resource context, GLenum target, GLuint framebuffer); 47 PP_Resource context, GLenum target, GLuint renderbuffer); 48 void (*BindTexture)(PP_Resource context, GLenum target, GLuint texture); 50 PP_Resource context, GLclampf red, GLclampf green, GLclampf blue, 52 void (*BlendEquation)(PP_Resource context, GLenum mode); 54 PP_Resource context, GLenum modeRGB, GLenum modeAlpha) [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ContextTypes.java | 7 import android.content.Context; 13 * Maintains the {@link Context}-to-"context type" mapping. The context type 14 * {@code MODE_APP} is chosen for the application context associated with 22 // Available context types. 26 private final Map<Context, Integer> mContextMap; 29 mContextMap = new ConcurrentHashMap<Context, Integer>(); 41 * Adds the mapping for the given {@link Context}. 43 * @param context {@link Context} in interes [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
screen_context_test.html | 32 var context = new login.ScreenContext; 33 assertFalse(context.hasChanges()); 35 assertFalse(context.hasKey('key0')); 37 var rv = context.set('key0', true); 39 assertTrue(context.hasKey('key0')); 40 assertTrue(context.get('key0')); 41 assertTrue(context.get('key0', false)); 42 assertTrue(context.hasChanges()); 44 rv = context.set('key0', true); 47 rv = context.set('key0', false) [all...] |
/external/chromium_org/cc/output/ |
program_binding.cc | 31 void ProgramBindingBase::Init(WebGraphicsContext3D* context, 35 vertex_shader_id_ = LoadShader(context, GL_VERTEX_SHADER, vertex_shader); 37 if (!IsContextLost(context)) 43 LoadShader(context, GL_FRAGMENT_SHADER, fragment_shader); 45 GLC(context, context->deleteShader(vertex_shader_id_)); 47 if (!IsContextLost(context)) 53 CreateShaderProgram(context, vertex_shader_id_, fragment_shader_id_); 54 DCHECK(program_ || IsContextLost(context)); 57 void ProgramBindingBase::Link(WebGraphicsContext3D* context) { [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/ |
DeviceTelephonyInfo.java | 7 import android.content.Context; 20 private DeviceTelephonyInfo(Context context) { 21 Context appContext = context.getApplicationContext(); 22 mTelManager = (TelephonyManager) appContext.getSystemService(Context.TELEPHONY_SERVICE); 34 * Creates DeviceTelephonyInfo for a given Context. 35 * @param context A context to use. 36 * @return DeviceTelephonyInfo associated with a given Context [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
regextxt.cpp | 18 struct URegexUTextUnescapeCharContext *context = (struct URegexUTextUnescapeCharContext *)ct; local 20 if (offset == context->lastOffset + 1) { 21 c = UTEXT_NEXT32(context->text); 22 context->lastOffset++; 23 } else if (offset == context->lastOffset) { 24 c = UTEXT_PREVIOUS32(context->text); 25 UTEXT_NEXT32(context->text); 27 utext_moveIndex32(context->text, offset - context->lastOffset - 1); 28 c = UTEXT_NEXT32(context->text) [all...] |
/external/icu4c/i18n/ |
regextxt.cpp | 19 struct URegexUTextUnescapeCharContext *context = (struct URegexUTextUnescapeCharContext *)ct; local 21 if (offset == context->lastOffset + 1) { 22 c = UTEXT_NEXT32(context->text); 23 context->lastOffset++; 24 } else if (offset == context->lastOffset) { 25 c = UTEXT_PREVIOUS32(context->text); 26 UTEXT_NEXT32(context->text); 28 utext_moveIndex32(context->text, offset - context->lastOffset - 1); 29 c = UTEXT_NEXT32(context->text) [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainBroadcastReceiver.java | 5 import android.content.Context; 10 public void onReceive(final Context context, final Intent intent) { 11 intent.setClass(context, KeyChainService.class); 12 context.startService(intent);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
TransactionContextTest.java | 33 TransactionContext context = new TransactionContext(false); local 34 context.markRawContactDirtyAndChanged(1L, false); 35 context.rawContactUpdated(1L); 36 context.rawContactInserted(1L, 1L); 37 context.syncStateUpdated(1L, new Object()); 39 context.clearExceptSearchIndexUpdates(); 41 Set<Long> newDirty = context.getDirtyRawContactIds(); 42 Set<Long> newChanged = context.getChangedRawContactIds(); 43 Set<Long> newInserted = context.getInsertedRawContactIds(); 44 Set<Long> newUpdated = context.getUpdatedRawContactIds() 55 TransactionContext context = new TransactionContext(false); local 64 TransactionContext context = new TransactionContext(false); local 73 TransactionContext context = new TransactionContext(false); local 86 TransactionContext context = new TransactionContext(false); local [all...] |
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
screen_context_unittest.cc | 27 ScreenContext& context() { return *context_.get(); } function in class:chromeos::ScreenContextTest 34 ASSERT_FALSE(context().HasChanges()); 36 ASSERT_FALSE(context().HasKey("key0")); 38 bool rv = context().SetBoolean("key0", true); 40 ASSERT_TRUE(context().HasKey("key0")); 41 ASSERT_TRUE(context().GetBoolean("key0")); 42 ASSERT_TRUE(context().GetBoolean("key0", false)); 43 ASSERT_TRUE(context().HasChanges()); 45 rv = context().SetBoolean("key0", true); 48 rv = context().SetBoolean("key0", false) [all...] |
/external/robolectric/src/main/java/com/foo/ |
Receiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/main/java/com/xtremelabs/ |
ConfigTestReceiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/test/ |
ConfigTestReceiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
DotConfigTestReceiver.java | 4 import android.content.Context; 10 public void onReceive(Context context, Intent intent) {
|
/external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
manifest.json | 2 "name": "Context Menus Sample",
3 "description": "Shows some of the features of the Context Menus API",
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GraphicsContextTest.cpp | 74 GraphicsContext context(&canvas); 75 context.setTrackOpaqueRegion(true); 80 context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); 81 EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); 82 EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); 84 context.fillRect(FloatRect(10, 10, 90, 90), alpha, CompositeSourceOver); 85 EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); 86 EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); 88 context.fillRect(FloatRect(99, 13, 10, 90), opaque, CompositePlusLighter); 89 EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
FallbackAccountType.java | 19 import android.content.Context; 29 private FallbackAccountType(Context context, String resPackageName) { 40 addDataKindStructuredName(context); 41 addDataKindDisplayName(context); 42 addDataKindPhoneticName(context); 43 addDataKindNickname(context); 44 addDataKindPhone(context); 45 addDataKindEmail(context); 46 addDataKindStructuredPostal(context); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServReqTestSuite.java | 21 import android.content.Context; 27 public static ArrayList<ReqTestCase> getTestSuite(Context context) { 28 initialize(context); 32 public static ReqTestCase getTestCase(Context context, 34 initialize(context); 44 private static void initialize(Context context) { 50 sTestSuite.add(new ServReqAllTestCase01(context)); [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/data/ |
context_notifications_test_frame.html | 1 <script>console.log('A script is needed to create a script context.');</script>
|
/external/ppp/pppd/plugins/radius/ |
md5.c | 8 MD5_CTX context; local 10 MD5_Init (&context); 11 MD5_Update (&context, input, inlen); 12 MD5_Final (output, &context);
|
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/ |
MyView.java | 3 import android.content.Context; 10 public MyView(Context context) { 11 super(context);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
EmptyConversationListView.java | 3 import android.content.Context; 10 public EmptyConversationListView(Context context) { 11 this(context, null); 14 public EmptyConversationListView(Context context, AttributeSet attrs) { 15 super(context, attrs);
|