Searched refs:context (Results 101 - 125 of 1504) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBootReceiver.java34 public void onReceive(final Context context, Intent intent) { argument
37 ContentResolver res = context.getContentResolver();
39 Intent loadavg = new Intent(context, com.android.systemui.LoadAverageService.class);
40 context.startService(loadavg);
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DCurrentUserTracker.java31 public CurrentUserTracker(Context context) { argument
33 context.registerReceiver(this, filter);
35 mContext = context;
43 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/services/java/com/android/server/am/
H A DFactoryErrorDialog.java26 public FactoryErrorDialog(Context context, CharSequence msg) { argument
27 super(context);
29 setTitle(context.getText(com.android.internal.R.string.factorytest_failed));
32 context.getText(com.android.internal.R.string.factorytest_reboot),
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DReceiver.java28 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
H A DDateFormat_Delegate.java34 /*package*/ static boolean is24HourFormat(Context context) { argument
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java55 TestView(Context context) { argument
56 super(context);
60 public TestView(Context context, AttributeSet attrs) { argument
61 super(context, attrs);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Thread.c41 void* M4OSA_threadSyncForEverDo(void *context) argument
43 M4OSA_ThreadContext* threadContext = (M4OSA_ThreadContext*)context;
50 M4OSA_TRACE2_1("M4OSA_threadSyncForEverDo\t\tLPVOID 0x%x", context);
104 * identified by its "context". The thread function is provided by
106 * context. It's the OSAL real time responsibility for managing its
107 * context. It must be freed by the M4OSA_threadSyncClose function.
108 * The context parameter will be sent back to any OSAL core thread
113 * @param context:(OUT) Context of the created thread
118 * @return M4ERR_CONTEXT_FAILED: the context creation failed
121 M4OSA_ERR M4OSA_threadSyncOpen(M4OSA_Context* context, argument
206 M4OSA_threadSyncStart(M4OSA_Context context, M4OSA_Void* param) argument
338 M4OSA_threadSyncStop(M4OSA_Context context) argument
393 M4OSA_threadSyncClose(M4OSA_Context context) argument
467 M4OSA_threadSyncGetState(M4OSA_Context context, M4OSA_ThreadState* state) argument
517 M4OSA_SetThreadSyncPriority(M4OSA_Context context, M4OSA_DataOption optionValue) argument
544 M4OSA_SetThreadSyncName(M4OSA_Context context, M4OSA_DataOption optionValue) argument
585 M4OSA_SetThreadSyncStackSize(M4OSA_Context context, M4OSA_DataOption optionValue) argument
620 M4OSA_threadSyncSetOption(M4OSA_Context context, M4OSA_ThreadOptionID optionID, M4OSA_DataOption optionValue) argument
724 M4OSA_threadSyncGetOption(M4OSA_Context context, M4OSA_ThreadOptionID optionID, M4OSA_DataOption* optionValue) argument
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4PCMR_CoreReader.h91 * @brief This structure defines the WAV Reader context
93 * the context
102 M4OSA_Context m_fileContext; /**< The context needed by OSAL to manage File */
121 M4OSA_ERR M4PCMR_getNextStream(M4OSA_Context context, M4SYS_StreamDescription* pStreamDesc);
122 M4OSA_ERR M4PCMR_startReading(M4OSA_Context context, M4SYS_StreamID* pStreamIDs);
123 M4OSA_ERR M4PCMR_nextAU(M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit* pAU);
124 M4OSA_ERR M4PCMR_freeAU(M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit* pAU);
125 M4OSA_ERR M4PCMR_seek(M4OSA_Context context, M4SYS_StreamID* pStreamID, M4OSA_Time time,
127 M4OSA_ERR M4PCMR_closeRead(M4OSA_Context context);
128 M4OSA_ERR M4PCMR_getOption(M4OSA_Context context, M4PCMR_OptionI
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java31 * @param context Context to use to load the localized units
35 public static String formatFileSize(Context context, long number) { argument
36 return formatFileSize(context, number, false);
43 public static String formatShortFileSize(Context context, long number) { argument
44 return formatFileSize(context, number, true);
47 private static String formatFileSize(Context context, long number, boolean shorter) { argument
48 if (context == null) {
92 return context.getResources().
94 value, context.getString(suffix));
/frameworks/base/core/java/android/webkit/
H A DWebViewFactoryProvider.java50 String getDefaultUserAgent(Context context); argument
112 WebViewDatabase getWebViewDatabase(Context context); argument
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DMountReceiver.java26 public void onReceive(Context context, Intent intent) { argument
27 final ContentProviderClient client = context.getContentResolver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsBasicTile.java33 public QuickSettingsBasicTile(Context context) { argument
34 this(context, null);
37 public QuickSettingsBasicTile(Context context, AttributeSet attrs) { argument
38 this(context, attrs, R.layout.quick_settings_tile_basic);
41 public QuickSettingsBasicTile(Context context, AttributeSet attrs, int layoutId) { argument
42 super(context, attrs);
46 context.getResources().getDimensionPixelSize(R.dimen.quick_settings_cell_height)
49 addView(LayoutInflater.from(context).inflate(layoutId, null),
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameSlotTarget.java23 public FrameSlotTarget(MffContext context, String name, String slotName) { argument
24 super(context, name, slotName);
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DTaskStackBuilderJellybean.java26 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, argument
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteControllerDialogFragment.java49 Context context, Bundle savedInstanceState) {
50 return new MediaRouteControllerDialog(context);
48 onCreateControllerDialog( Context context, Bundle savedInstanceState) argument
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Utils.h46 M4OSA_Context context);
48 M4OSA_Context context);
50 M4OSA_Context context);
52 M4OSA_Context context);
60 M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context);
85 * De-allocate the context
90 M4OSA_ERR M4MP4W_freeContext(M4OSA_Context context);
/frameworks/base/core/java/android/widget/
H A DImageButton.java78 public ImageButton(Context context) { argument
79 this(context, null);
82 public ImageButton(Context context, AttributeSet attrs) { argument
83 this(context, attrs, com.android.internal.R.attr.imageButtonStyle);
86 public ImageButton(Context context, AttributeSet attrs, int defStyle) { argument
87 super(context, attrs, defStyle);
H A DSeekBar.java74 public SeekBar(Context context) { argument
75 this(context, null);
78 public SeekBar(Context context, AttributeSet attrs) { argument
79 this(context, attrs, com.android.internal.R.attr.seekBarStyle);
82 public SeekBar(Context context, AttributeSet attrs, int defStyle) { argument
83 super(context, attrs, defStyle);
H A DSpace.java33 public Space(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
43 public Space(Context context, AttributeSet attrs) { argument
44 this(context, attrs, 0);
50 public Space(Context context) { argument
52 this(context, null);
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java32 public DialogTitle(Context context, AttributeSet attrs, argument
34 super(context, attrs, defStyle);
37 public DialogTitle(Context context, AttributeSet attrs) { argument
38 super(context, attrs);
41 public DialogTitle(Context context) { argument
42 super(context);
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewAttachView.java35 public ViewAttachView(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
40 public ViewAttachView(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
45 public ViewAttachView(Context context) { argument
46 super(context);
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandlerThread_Delegate.java41 public static void cleanUp(BridgeContext context) { argument
42 List<HandlerThread> list = sThreads.get(context);
49 sThreads.remove(context);
58 BridgeContext context = RenderAction.getCurrentContext();
59 List<HandlerThread> list = sThreads.get(context);
62 sThreads.put(context, list);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java36 public SurfaceView(Context context) { argument
37 this(context, null);
40 public SurfaceView(Context context, AttributeSet attrs) { argument
41 this(context, attrs , 0);
44 public SurfaceView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCellBroadcastHandler.java34 private CellBroadcastHandler(Context context) { argument
35 this("CellBroadcastHandler", context, null);
38 protected CellBroadcastHandler(String debugTag, Context context, PhoneBase phone) { argument
39 super(debugTag, context, phone);
44 * @param context the context to use for dispatching Intents
47 public static CellBroadcastHandler makeCellBroadcastHandler(Context context) { argument
48 CellBroadcastHandler handler = new CellBroadcastHandler(context);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DSpace.java33 public Space(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
43 public Space(Context context, AttributeSet attrs) { argument
44 this(context, attrs, 0);
50 public Space(Context context) { argument
52 this(context, null);

Completed in 724 milliseconds

1234567891011>>