HomeSort by relevance Sort by last modified time
    Searched refs:context (Results 401 - 425 of 13136) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/widget/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...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
BootupActivity.java 20 import android.content.Context;
33 public void onReceive(Context context, Intent intent) {
36 scheduleRecommendationUpdate(context);
40 private void scheduleRecommendationUpdate(Context context) {
43 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
44 Intent recommendationIntent = new Intent(context, UpdateRecommendationsService.class);
45 PendingIntent alarmIntent = PendingIntent.getService(context, 0, recommendationIntent, 0)
    [all...]
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
CardStreamAnimator.java 20 import android.content.Context;
42 * @param context
45 public abstract ObjectAnimator getInitalAnimator(Context context);
50 * @param context
53 public abstract ObjectAnimator getDisappearingAnimator(Context context);
58 * @param context
61 public abstract ObjectAnimator getAppearingAnimator(Context context);
    [all...]
  /developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
Utils.java 19 import android.content.Context;
36 public final static void vibrate(Context context, int duration) {
40 Vibrator v = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
48 public static void saveCounterToPreference(Context context, int value) {
49 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);
62 public static int getCounterFromPreference(Context context) {
    [all...]
  /developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/
ActionsPresets.java 19 import android.content.Context;
45 public void apply(Context context, NotificationCompat.Builder builder,
56 public void apply(Context context, NotificationCompat.Builder builder,
59 context.getString(R.string.example_action),
60 NotificationUtil.getExamplePendingIntent(context,
72 public void apply(Context context, NotificationCompat.Builder builder,
75 context.getString(R.string.example_action_long_title)
    [all...]
  /developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
Utils.java 19 import android.content.Context;
36 public final static void vibrate(Context context, int duration) {
40 Vibrator v = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
48 public static void saveCounterToPreference(Context context, int value) {
49 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);
62 public static int getCounterFromPreference(Context context) {
    [all...]
  /developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/
ActionsPresets.java 19 import android.content.Context;
45 public void apply(Context context, NotificationCompat.Builder builder,
56 public void apply(Context context, NotificationCompat.Builder builder,
59 context.getString(R.string.example_action),
60 NotificationUtil.getExamplePendingIntent(context,
72 public void apply(Context context, NotificationCompat.Builder builder,
75 context.getString(R.string.example_action_long_title)
    [all...]
  /development/apps/Development/src/com/android/development/
LogTextBox.java 20 import android.content.Context;
41 public LogTextBox(Context context) {
42 this(context, null);
45 public LogTextBox(Context context, AttributeSet attrs) {
46 this(context, attrs, android.R.attr.textViewStyle);
49 public LogTextBox(Context context, AttributeSet attrs, int defStyle) {
50 super(context, attrs, defStyle)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/text/
LogTextBox.java 20 import android.content.Context;
38 public LogTextBox(Context context) {
39 this(context, null);
42 public LogTextBox(Context context, AttributeSet attrs) {
43 this(context, attrs, android.R.attr.textViewStyle);
46 public LogTextBox(Context context, AttributeSet attrs, int defStyle) {
47 super(context, attrs, defStyle)
    [all...]
  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
CardStreamAnimator.java 20 import android.content.Context;
42 * @param context
45 public abstract ObjectAnimator getInitalAnimator(Context context);
50 * @param context
53 public abstract ObjectAnimator getDisappearingAnimator(Context context);
58 * @param context
61 public abstract ObjectAnimator getAppearingAnimator(Context context);
    [all...]
  /development/samples/browseable/JumpingJack/Wearable/src/com.example.android.wearable.jumpingjack/
Utils.java 19 import android.content.Context;
36 public final static void vibrate(Context context, int duration) {
40 Vibrator v = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
48 public static void saveCounterToPreference(Context context, int value) {
49 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);
62 public static int getCounterFromPreference(Context context) {
    [all...]
  /development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
ActionsPresets.java 19 import android.content.Context;
45 public void apply(Context context, NotificationCompat.Builder builder,
56 public void apply(Context context, NotificationCompat.Builder builder,
59 context.getString(R.string.example_action),
60 NotificationUtil.getExamplePendingIntent(context,
72 public void apply(Context context, NotificationCompat.Builder builder,
75 context.getString(R.string.example_action_long_title)
    [all...]
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
ExpandingLayout.java 19 import android.content.Context;
43 public ExpandingLayout(Context context) {
44 super(context);
47 public ExpandingLayout(Context context, AttributeSet attrs) {
48 super(context, attrs);
51 public ExpandingLayout(Context context, AttributeSet attrs, int defStyle) {
52 super(context, attrs, defStyle)
    [all...]
  /development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/
Utils.java 19 import android.content.Context;
44 * @param context The Context
47 public static boolean isDefaultSmsApp(Context context) {
49 return context.getPackageName().equals(Telephony.Sms.getDefaultSmsPackage(context));
58 * @param context The Context
60 public static void setDefaultSmsApp(Context context)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/networking_private/
networking_private_event_router_factory.cc 19 content::BrowserContext* context) {
21 GetInstance()->GetServiceForBrowserContext(context, true));
44 content::BrowserContext* context) const {
46 Profile::FromBrowserContext(context));
51 content::BrowserContext* context) const {
52 return ExtensionsBrowserClient::Get()->GetOriginalContext(context);
  /external/chromium_org/chrome/browser/extensions/
extension_system_factory.h 21 content::BrowserContext* context);
33 content::BrowserContext* context) const OVERRIDE;
35 content::BrowserContext* context) const OVERRIDE;
46 content::BrowserContext* context) OVERRIDE;
58 content::BrowserContext* context) const OVERRIDE;
60 content::BrowserContext* context) const OVERRIDE;
  /external/chromium_org/chrome/browser/signin/
easy_unlock_service_factory.cc 45 content::BrowserContext* context) const {
48 Profile::FromBrowserContext(context))) {
50 return new EasyUnlockServiceSignin(Profile::FromBrowserContext(context));
56 return new EasyUnlockServiceRegular(Profile::FromBrowserContext(context));
60 content::BrowserContext* context) const {
61 return chrome::GetBrowserContextRedirectedInIncognito(context);
  /external/chromium_org/components/keyed_service/content/
browser_context_dependency_manager.cc 20 // Dumps dependency information about our browser context keyed services
21 // into a dot file in the browser context directory.
23 "dump-browser-context-graph";
43 const content::BrowserContext* context,
56 factory->RegisterProfilePrefsIfNecessaryForContext(context, pref_registry);
61 content::BrowserContext* context) {
62 DoCreateBrowserContextServices(context, false);
66 content::BrowserContext* context) {
67 DoCreateBrowserContextServices(context, true);
71 content::BrowserContext* context,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/testing/v8/
WebCoreTestSupport.cpp 40 void injectInternalsObject(v8::Local<v8::Context> context)
42 ScriptState* scriptState = ScriptState::from(context);
44 v8::Handle<v8::Object> global = scriptState->context()->Global();
50 void resetInternalsObject(v8::Local<v8::Context> context)
53 if (context.IsEmpty())
56 ScriptState* scriptState = ScriptState::from(context);
  /external/chromium_org/third_party/WebKit/Source/modules/mediastream/
MediaDevicesRequest.cpp 36 MediaDevicesRequest* MediaDevicesRequest::create(ExecutionContext* context, UserMediaController* controller, MediaDeviceInfoCallback* callback, ExceptionState& exceptionState)
38 MediaDevicesRequest* request = new MediaDevicesRequest(context, controller, callback);
43 MediaDevicesRequest::MediaDevicesRequest(ExecutionContext* context, UserMediaController* controller, MediaDeviceInfoCallback* callback)
44 : ActiveDOMObject(context)
56 if (ExecutionContext* context = executionContext()) {
57 return toDocument(context);
  /external/chromium_org/third_party/WebKit/Source/modules/performance/
SharedWorkerPerformance.cpp 61 double SharedWorkerPerformance::workerStart(ExecutionContext* context, SharedWorker& sharedWorker)
63 return SharedWorkerPerformance::from(sharedWorker).getWorkerStart(context, sharedWorker);
66 double SharedWorkerPerformance::getWorkerStart(ExecutionContext* context, SharedWorker&) const
68 ASSERT(context);
69 ASSERT(context->isDocument());
70 Document* document = toDocument(context);
  /external/chromium_org/third_party/icu/source/common/
uarrsort.h 29 * @param context Application-specific pointer, passed through by uprv_sortArray().
40 UComparator(const void *context, const void *left, const void *right);
52 * @param context Application-specific pointer, passed through to the UComparator.
60 UComparator *cmp, const void *context,
68 uprv_uint16Comparator(const void *context, const void *left, const void *right);
75 uprv_int32Comparator(const void *context, const void *left, const void *right);
82 uprv_uint32Comparator(const void *context, const void *left, const void *right);
99 UComparator *cmp, const void *context);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_index_modify.c 29 void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context,
44 in_map = pipe_buffer_map(context, ib->buffer,
58 pipe_buffer_unmap(context, src_transfer);
61 void util_shorten_ubyte_elts(struct pipe_context *context,
72 new_elts = pipe_buffer_create(context->screen,
77 out_map = pipe_buffer_map(context, new_elts, PIPE_TRANSFER_WRITE,
79 util_shorten_ubyte_elts_to_userptr(context, ib, index_bias,
81 pipe_buffer_unmap(context, dst_transfer);
90 void util_rebuild_ushort_elts_to_userptr(struct pipe_context *context,
104 in_map = pipe_buffer_map(context, ib->buffer
    [all...]
u_index_modify.h 30 void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context,
37 void util_shorten_ubyte_elts(struct pipe_context *context,
46 void util_rebuild_ushort_elts_to_userptr(struct pipe_context *context,
52 void util_rebuild_ushort_elts(struct pipe_context *context,
60 void util_rebuild_uint_elts_to_userptr(struct pipe_context *context,
66 void util_rebuild_uint_elts(struct pipe_context *context,

Completed in 929 milliseconds

<<11121314151617181920>>