HomeSort by relevance Sort by last modified time
    Searched full:context (Results 151 - 175 of 12809) sorted by null

1 2 3 4 5 67 8 91011>>

  /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...]
  /external/clang/test/Parser/
objc-missing-impl.m 2 @end // expected-error {{'@end' must appear in an Objective-C context}}
  /external/clang/test/SemaObjC/
method-no-context.m 3 - im0 { // expected-error{{missing context for method declaration}}
  /external/jmonkeyengine/engine/src/android/jme3test/android/
DemoLaunchAdapter.java 3 import android.content.Context;
20 private Context context; field in class:DemoLaunchAdapter
24 public DemoLaunchAdapter(Context context, List<DemoLaunchEntry> listDemos) {
25 this.context = context;
44 LayoutInflater inflater = (LayoutInflater) context
45 .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  /external/linux-tools-perf/scripts/perl/Perf-Trace-Util/
Context.xs 2 * Context.xs. XS interfaces for perf script.
28 MODULE = Perf::Trace::Context PACKAGE = Perf::Trace::Context
32 common_pc(context)
33 struct scripting_context * context
36 common_flags(context)
37 struct scripting_context * context
40 common_lock_depth(context)
41 struct scripting_context * context
  /external/webkit/Source/WebKit2/UIProcess/API/C/
WKContext.h 55 typedef void (*WKContextDidNavigateWithNavigationDataCallback)(WKContextRef context, WKPageRef page, WKNavigationDataRef navigationData, WKFrameRef frame, const void *clientInfo);
56 typedef void (*WKContextDidPerformClientRedirectCallback)(WKContextRef context, WKPageRef page, WKURLRef sourceURL, WKURLRef destinationURL, WKFrameRef frame, const void *clientInfo);
57 typedef void (*WKContextDidPerformServerRedirectCallback)(WKContextRef context, WKPageRef page, WKURLRef sourceURL, WKURLRef destinationURL, WKFrameRef frame, const void *clientInfo);
58 typedef void (*WKContextDidUpdateHistoryTitleCallback)(WKContextRef context, WKPageRef page, WKStringRef title, WKURLRef URL, WKFrameRef frame, const void *clientInfo);
59 typedef void (*WKContextPopulateVisitedLinksCallback)(WKContextRef context, const void *clientInfo);
73 typedef void (*WKContextDownloadDidStartCallback)(WKContextRef context, WKDownloadRef download, const void *clientInfo);
74 typedef void (*WKContextDownloadDidReceiveAuthenticationChallengeCallback)(WKContextRef context, WKDownloadRef download, WKAuthenticationChallengeRef authenticationChallenge, const void *clientInfo);
75 typedef void (*WKContextDownloadDidReceiveResponseCallback)(WKContextRef context, WKDownloadRef download, WKURLResponseRef response, const void *clientInfo);
76 typedef void (*WKContextDownloadDidReceiveDataCallback)(WKContextRef context, WKDownloadRef download, uint64_t length, const void *clientInfo);
77 typedef bool (*WKContextDownloadShouldDecodeSourceDataOfMIMETypeCallback)(WKContextRef context, WKDownloadRef download, WKStringRef mimeType, const void *clientInfo)
    [all...]
  /frameworks/av/libvideoeditor/osal/src/
M4OSA_Mutex.c 33 /* Context for the mutex */
36 M4OSA_UInt32 coreID; /* mutex context identifiant */
46 * @note This function creates and allocates a unique context. It's the
47 * OSAL real time responsibility for managing its context. It must
48 * be freed by the M4OSA_mutexClose function. The context parameter
51 * @param pContext:(OUT) Context of the created mutex
54 * @return M4ERR_CONTEXT_FAILED: the context creation failed
70 M4OSA_MUTEX, (M4OSA_Char*)"M4OSA_mutexOpen: mutex context");
116 * @brief This method locks the mutex. "Context" identifies the mutex.
120 * @param context:(IN/OUT) Context of the mute
    [all...]
  /frameworks/base/packages/Shell/src/com/android/shell/
BugreportPrefs.java 19 import android.content.Context;
34 public static int getWarningState(Context context, int def) {
35 final SharedPreferences prefs = context.getSharedPreferences(
36 PREFS_BUGREPORT, Context.MODE_PRIVATE);
40 public static void setWarningState(Context context, int value) {
41 final SharedPreferences prefs = context.getSharedPreferences(
42 PREFS_BUGREPORT, Context.MODE_PRIVATE);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
Prefs.java 19 import android.content.Context;
32 public static SharedPreferences read(Context context) {
33 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE);
36 public static SharedPreferences.Editor edit(Context context) {
37 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE).edit();
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastReceiver.java 20 import android.content.Context;
47 public void onReceive(Context context, Intent intent) {
48 onReceiveWithPrivilege(context, intent, false);
51 protected void onReceiveWithPrivilege(Context context, Intent intent, boolean privileged) {
58 TelephonyManager tm = (TelephonyManager) context.getSystemService(
59 Context.TELEPHONY_SERVICE);
60 tm.listen(new ServiceStateListener(context.getApplicationContext()),
66 startConfigService(context);
    [all...]
  /packages/apps/Gallery2/src/com/android/camera/
CountDownTimerPreference.java 19 import android.content.Context;
28 public CountDownTimerPreference(Context context, AttributeSet attrs) {
29 super(context, attrs);
30 initCountDownDurationChoices(context);
33 private void initCountDownDurationChoices(Context context) {
39 entries[0] = context.getString(R.string.setting_off); // Off
41 entries[i] = context.getResources()
  /packages/apps/Mms/src/com/android/mms/ui/
LayoutSelectorAdapter.java 23 import android.content.Context;
31 public LayoutSelectorAdapter(Context context) {
32 super(context, getData(context));
35 protected static List<IconListItem> getData(Context context) {
37 addItem(data, context.getString(R.string.select_top_text),
39 addItem(data, context.getString(R.string.select_bottom_text),
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDiscoverableTimeoutReceiver.java 26 import android.content.Context;
37 static void setDiscoverableAlarm(Context context, long alarmTime) {
41 intent.setClass(context, BluetoothDiscoverableTimeoutReceiver.class);
43 context, 0, intent, 0);
45 (AlarmManager) context.getSystemService (Context.ALARM_SERVICE);
53 context, 0, intent, 0);
58 static void cancelDiscoverableAlarm(Context context) {
    [all...]
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
CameraPreviewView.java 6 import android.content.Context;
15 * @param context
17 public CameraPreviewView(Context context) {
18 this(context, null);
23 * @param context
26 public CameraPreviewView(Context context, AttributeSet attrs) {
27 super(context, attrs);
  /frameworks/base/services/java/com/android/server/
AttributeCache.java 20 import android.content.Context;
39 private final Context mContext;
45 public final Context context; field in class:AttributeCache.Package
49 public Package(Context c) {
50 context = c;
55 public final Context context; field in class:AttributeCache.Entry
58 public Entry(Context c, TypedArray ta) {
59 context = c
112 Context context; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/net/
DataUsageMeteredSettings.java 24 import android.content.Context;
58 final Context context = getActivity(); local
60 mPolicyManager = NetworkPolicyManager.from(context);
61 mWifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
71 updateNetworks(context);
74 private void updateNetworks(Context context) {
75 if (SHOW_MOBILE_CATEGORY && hasReadyMobileRadio(context)) {
    [all...]
  /external/clang/unittests/Tooling/
RefactoringTest.cpp 38 return Replacement(Context.Sources, Start, Length, ReplacementText);
41 RewriterTestContext Context;
45 FileID ID = Context.createInMemoryFile("input.cpp", "text");
46 SourceLocation Location = Context.getLocation(ID, 1, 1);
48 EXPECT_TRUE(Replace.apply(Context.Rewrite));
49 EXPECT_EQ("", Context.getRewrittenText(ID));
53 FileID ID = Context.createInMemoryFile("input.cpp", "line1\nline2\nline3");
54 SourceLocation Location = Context.getLocation(ID, 1, 1);
56 EXPECT_TRUE(Replace.apply(Context.Rewrite));
57 EXPECT_EQ("", Context.getRewrittenText(ID))
    [all...]
  /external/icu4c/samples/layout/
layout.cpp 28 struct Context
50 void InitParagraph(HWND hwnd, Context *context)
54 if (context->paragraph != NULL) {
57 if (context->width > 0 && context->height > 0) {
58 context->paragraph->breakLines(context->width, context->height);
64 si.nMax = context->paragraph->getLineCount() - 1
120 Context *context; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMDefaultBaseTraversers.java 206 * @param context The context node if this iteration.
211 public int next(int context, int current)
220 * @param context The context node of this iteration.
226 public int next(int context, int current, int expandedTypeID)
248 * By the nature of the stateless traversal, the context node can not be
252 * @param context The context node of this traversal.
256 public int first(int context)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
AccountSelectionUtil.java 21 import android.content.Context;
55 final private Context mContext;
60 public AccountSelectedListener(Context context, List<AccountWithDataSet> accountList,
65 mContext = context;
76 public static Dialog getSelectAccountDialog(Context context, int resId) {
77 return getSelectAccountDialog(context, resId, null, null);
80 public static Dialog getSelectAccountDialog(Context context, int resId
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SearchWidgetProvider.java 30 import android.content.Context;
63 public void onReceive(Context context, Intent intent) {
69 updateSearchWidgets(context);
75 private static SearchWidgetState[] getSearchWidgetStates(Context context) {
76 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
77 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(myComponentName(context));
80 states[i] = getSearchWidgetState(context, appWidgetIds[i]);
89 public static void updateSearchWidgets(Context context)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmReceiver.java 23 import android.content.Context;
41 public void onReceive(final Context context, final Intent intent) {
43 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context);
47 handleIntent(context, intent);
54 private void handleIntent(Context context, Intent intent) {
57 updateNotification(context, (Alarm)
69 Alarms.disableSnoozeAlert(context, alarm.id);
70 Alarms.setNextAlert(context);
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/util/
ExceptionWithContext.java 23 * Exception which carries around structured context.
27 /** {@code non-null;} human-oriented context of the exception */
28 private StringBuffer context; field in class:ExceptionWithContext
31 * Augments the given exception with the given context, and return the
37 * @param str {@code non-null;} context to add
83 String ctx = ((ExceptionWithContext) cause).context.toString();
84 context = new StringBuffer(ctx.length() + 200);
85 context.append(ctx);
87 context = new StringBuffer(200);
95 out.println(context);
    [all...]

Completed in 813 milliseconds

1 2 3 4 5 67 8 91011>>