/frameworks/base/core/java/android/nfc/ |
H A D | NfcManager.java | 46 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 D | AppWidgetContainerView.java | 25 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 D | M4OSA_Mutex.h | 38 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 D | M4OSA_Semaphore.h | 35 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 D | M4OSA_FileWriter.h | 47 /** 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 D | VideoEditorResampler.cpp | 80 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 D | ExtractButton.java | 27 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 D | PreferenceCategory.java | 31 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 D | Button.java | 99 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 D | ResourceCursorAdapter.java | 45 * @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 D | CheckBox.java | 60 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 D | ImageButton.java | 76 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 D | RadioButton.java | 53 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 D | OrientationListener.java | 43 * @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 D | PluginStub.java | 33 * @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 D | Prefs.java | 31 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 D | sha1.h | 19 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 D | ResourceCursorAdapter.java | 47 * @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 D | DeviceAdminReceiver.java | 181 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 D | AppWidgetProvider.java | 53 * @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 D | M4OSA_Semaphore.c | 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, 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 D | PolicyManager.java | 58 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 D | ExceptionTextView.java | 36 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 D | MapView.java | 38 * @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 D | MyCarouselView.java | 28 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);
|