Searched refs:context (Results 1 - 25 of 933) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/nfc/
H A DNfcManager.java46 public NfcManager(Context context) { argument
48 context = context.getApplicationContext();
50 adapter = NfcAdapter.getNfcAdapter(context);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetContainerView.java25 public AppWidgetContainerView(Context context) { argument
26 super(context);
29 public AppWidgetContainerView(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
/frameworks/media/libvideoeditor/osal/inc/
H A DM4OSA_Mutex.h38 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexOpen( M4OSA_Context* context );
41 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexLock( M4OSA_Context context,
45 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexUnlock( M4OSA_Context context );
48 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_mutexClose( M4OSA_Context context );
H A DM4OSA_Semaphore.h35 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphoreOpen( M4OSA_Context* context,
39 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphorePost( M4OSA_Context context );
42 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphoreWait( M4OSA_Context context,
46 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_semaphoreClose( M4OSA_Context context );
H A DM4OSA_FileWriter.h47 /** Get the reader context for read & write file. (M4OSA_Context*)*/
72 M4OSA_ERR (*openWrite) (M4OSA_Context* context,
76 M4OSA_ERR (*writeData) (M4OSA_Context context,
80 M4OSA_ERR (*seek) (M4OSA_Context context,
84 M4OSA_ERR (*Flush) (M4OSA_Context context);
85 M4OSA_ERR (*closeWrite) (M4OSA_Context context);
86 M4OSA_ERR (*setOption) (M4OSA_Context context,
90 M4OSA_ERR (*getOption) (M4OSA_Context context,
100 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileWriteOpen (M4OSA_Context* context,
104 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileWriteData (M4OSA_Context context,
[all...]
/frameworks/media/libvideoeditor/vss/src/
H A DVideoEditorResampler.cpp80 VideoEditorResampler *context = new VideoEditorResampler(); local
81 context->mResampler = AudioResampler::create(
83 if (context->mResampler == NULL) {
86 context->mResampler->setSampleRate(android::VideoEditorResampler::kFreq32000Hz);
87 context->mResampler->setVolume(0x1000, 0x1000);
88 context->nbChannels = inChannelCount;
89 context->outSamplingRate = sampleRate;
90 context->mInput = NULL;
91 context->mTmpInBuffer = NULL;
93 return ((M4OSA_Context )context);
99 VideoEditorResampler *context = local
114 VideoEditorResampler *context = local
121 VideoEditorResampler *context = local
148 VideoEditorResampler *context = local
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractButton.java27 public ExtractButton(Context context) { argument
28 super(context, null);
31 public ExtractButton(Context context, AttributeSet attrs) { argument
32 super(context, attrs, com.android.internal.R.attr.buttonStyle);
35 public ExtractButton(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
/frameworks/base/core/java/android/preference/
H A DPreferenceCategory.java31 public PreferenceCategory(Context context, AttributeSet attrs, int defStyle) { argument
32 super(context, attrs, defStyle);
35 public PreferenceCategory(Context context, AttributeSet attrs) { argument
36 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle);
39 public PreferenceCategory(Context context) { argument
40 this(context, null);
/frameworks/base/core/java/android/widget/
H A DButton.java99 public Button(Context context) { argument
100 this(context, null);
103 public Button(Context context, AttributeSet attrs) { argument
104 this(context, attrs, com.android.internal.R.attr.buttonStyle);
107 public Button(Context context, AttributeSet attrs, int defStyle) { argument
108 super(context, attrs, defStyle);
H A DResourceCursorAdapter.java45 * @param context The context where the ListView associated with this adapter is running
51 public ResourceCursorAdapter(Context context, int layout, Cursor c) { argument
52 super(context, c);
54 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
64 * @param context The context where the ListView associated with this adapter is running
73 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { argument
74 super(context, c, autoRequery);
76 mInflater = (LayoutInflater) context
90 ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) argument
103 newView(Context context, Cursor cursor, ViewGroup parent) argument
108 newDropDownView(Context context, Cursor cursor, ViewGroup parent) argument
[all...]
H A DCheckBox.java60 public CheckBox(Context context) { argument
61 this(context, null);
64 public CheckBox(Context context, AttributeSet attrs) { argument
65 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
68 public CheckBox(Context context, AttributeSet attrs, int defStyle) { argument
69 super(context, attrs, defStyle);
H A DImageButton.java76 public ImageButton(Context context) { argument
77 this(context, null);
80 public ImageButton(Context context, AttributeSet attrs) { argument
81 this(context, attrs, com.android.internal.R.attr.imageButtonStyle);
84 public ImageButton(Context context, AttributeSet attrs, int defStyle) { argument
85 super(context, attrs, defStyle);
H A DRadioButton.java53 public RadioButton(Context context) { argument
54 this(context, null);
57 public RadioButton(Context context, AttributeSet attrs) { argument
58 this(context, attrs, com.android.internal.R.attr.radioButtonStyle);
61 public RadioButton(Context context, AttributeSet attrs, int defStyle) { argument
62 super(context, attrs, defStyle);
/frameworks/base/core/java/android/view/
H A DOrientationListener.java43 * @param context for the OrientationListener.
45 public OrientationListener(Context context) { argument
46 mOrientationEventLis = new OrientationEventListenerInternal(context);
52 * @param context for the OrientationListener.
58 public OrientationListener(Context context, int rate) { argument
59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate);
63 OrientationEventListenerInternal(Context context) { argument
64 super(context);
67 OrientationEventListenerInternal(Context context, int rate) { argument
68 super(context, rat
[all...]
/frameworks/base/core/java/android/webkit/
H A DPluginStub.java33 * @param context The current application's Context.
36 public abstract View getEmbeddedView(int NPP, Context context); argument
43 * @param context The current application's Context.
46 public abstract View getFullScreenView(int NPP, Context context); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPrefs.java31 public static SharedPreferences read(Context context) { argument
32 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE);
35 public static SharedPreferences.Editor edit(Context context) { argument
36 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE).edit();
/frameworks/compile/libbcc/helper/
H A Dsha1.h19 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/support/v4/java/android/support/v4/widget/
H A DResourceCursorAdapter.java47 * @param context The context where the ListView associated with this adapter is running
53 public ResourceCursorAdapter(Context context, int layout, Cursor c) { argument
54 super(context, c);
56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
66 * @param context The context where the ListView associated with this adapter is running
75 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { argument
76 super(context, c, autoRequery);
78 mInflater = (LayoutInflater) context
92 ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) argument
105 newView(Context context, Cursor cursor, ViewGroup parent) argument
110 newDropDownView(Context context, Cursor cursor, ViewGroup parent) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java181 public DevicePolicyManager getManager(Context context) { argument
185 mManager = (DevicePolicyManager)context.getSystemService(
195 public ComponentName getWho(Context context) { argument
199 mWho = new ComponentName(context, getClass());
207 * @param context The running context as per {@link #onReceive}.
210 public void onEnabled(Context context, Intent intent) { argument
219 * @param context The running context as per {@link #onReceive}.
224 public CharSequence onDisableRequested(Context context, Inten argument
236 onDisabled(Context context, Intent intent) argument
248 onPasswordChanged(Context context, Intent intent) argument
259 onPasswordFailed(Context context, Intent intent) argument
270 onPasswordSucceeded(Context context, Intent intent) argument
291 onPasswordExpiring(Context context, Intent intent) argument
300 onReceive(Context context, Intent intent) argument
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java53 * @param context The Context in which the receiver is running.
57 public void onReceive(Context context, Intent intent) { argument
66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
74 this.onDeleted(context, new int[] { appWidgetId });
78 this.onEnabled(context);
81 this.onDisabled(context);
93 * @param context The {@link android.content.Context Context} in which this receiver is
103 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { argument
113 * @param context Th
119 onDeleted(Context context, int[] appWidgetIds) argument
138 onEnabled(Context context) argument
153 onDisabled(Context context) argument
[all...]
/frameworks/media/libvideoeditor/osal/src/
H A DM4OSA_Semaphore.c42 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, argument
72 "%d", context, initial_count);
74 M4OSA_DEBUG_IF2(context
129 M4OSA_semaphoreWait(M4OSA_Context context, M4OSA_Int32 timeout) argument
210 M4OSA_semaphorePost(M4OSA_Context context) argument
245 M4OSA_semaphoreClose(M4OSA_Context context) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPolicyManager.java58 public static Window makeNewWindow(Context context) { argument
59 return sPolicy.makeNewWindow(context);
62 public static LayoutInflater makeNewLayoutInflater(Context context) { argument
63 return sPolicy.makeNewLayoutInflater(context);
70 public static FallbackEventHandler makeNewFallbackEventHandler(Context context) { argument
71 return sPolicy.makeNewFallbackEventHandler(context);
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DExceptionTextView.java36 public ExceptionTextView(Context context) { argument
37 super(context);
40 public ExceptionTextView(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java38 * @param context A Context object used to access application assets.
40 public MapView(Context context) { argument
41 this(context, null);
46 * @param context A Context object used to access application assets.
49 public MapView(Context context, AttributeSet attrs) { argument
50 this(context, attrs, com.android.internal.R.attr.mapViewStyle);
55 * @param context A Context object used to access application assets.
59 public MapView(Context context, AttributeSet attrs, int defStyle) { argument
60 super(context, attrs, defStyle);
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DMyCarouselView.java28 public MyCarouselView(Context context, CarouselController controller) { argument
29 this(context, null, controller);
32 public MyCarouselView(Context context, AttributeSet attrs) { argument
33 this(context, attrs, new CarouselController());
36 public MyCarouselView(Context context, AttributeSet attrs, CarouselController controller) { argument
37 super(context, attrs, controller);

Completed in 746 milliseconds

1234567891011>>