Searched refs:context (Results 76 - 100 of 1157) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DTwoLineListItem.java47 public TwoLineListItem(Context context) { argument
48 this(context, null, 0);
51 public TwoLineListItem(Context context, AttributeSet attrs) { argument
52 this(context, attrs, 0);
55 public TwoLineListItem(Context context, AttributeSet attrs, int defStyle) { argument
56 super(context, attrs, defStyle);
58 TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java33 public BiDiTestViewDrawText(Context context) { argument
34 this(context, null);
37 public BiDiTestViewDrawText(Context context, AttributeSet attrs) { argument
38 this(context, attrs, 0);
41 public BiDiTestViewDrawText(Context context, AttributeSet attrs, int defStyle) { argument
42 super(context, attrs, defStyle);
44 final TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java33 public ScrollerCompatImplIcs(Context context) { argument
34 super(context);
43 public static ScrollerCompat from(Context context) { argument
45 return new ScrollerCompatImplIcs(context);
47 return new ScrollerCompat(context);
50 ScrollerCompat(Context context) { argument
51 mScroller = new Scroller(context);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DSimpleImageFilter.java69 public void process(FilterContext context) { argument
75 Frame output = context.getFrameManager().newFrame(inputFormat);
78 updateProgramWithTarget(inputFormat.getTarget(), context);
90 protected void updateProgramWithTarget(int target, FilterContext context) { argument
94 mProgram = getNativeProgram(context);
98 mProgram = getShaderProgram(context);
108 initProgramInputs(mProgram, context);
113 protected abstract Program getNativeProgram(FilterContext context); argument
115 protected abstract Program getShaderProgram(FilterContext context); argument
/frameworks/base/services/java/com/android/server/am/
H A DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { argument
31 super(context, R.style.Theme_Toast);
39 setTitle(context.getText(R.string.launch_warning_title));
46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager()));
48 text.setText(context.getResources().getString(R.string.launch_warning_replace,
49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
53 text.setText(context.getResources().getString(R.string.launch_warning_original,
54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
H A DFactoryErrorDialog.java25 public FactoryErrorDialog(Context context, CharSequence msg) { argument
26 super(context);
28 setTitle(context.getText(com.android.internal.R.string.factorytest_failed));
31 context.getText(com.android.internal.R.string.factorytest_reboot),
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Mutex.c36 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
54 * @return M4ERR_CONTEXT_FAILED: the context creation failed
70 M4OSA_MUTEX, (M4OSA_Char*)"M4OSA_mutexOpen: mutex context");
120 * @param context:(IN/OUT) Context of the mutex
126 * @return M4ERR_BAD_CONTEXT: provided context is not a valid one
129 M4OSA_ERR M4OSA_mutexLock(M4OSA_Context context, M4OSA_UInt32 timeout) argument
131 M4OSA_MutexContext* pMutexContext = (M4OSA_MutexContext*)context;
216 M4OSA_mutexUnlock(M4OSA_Context context) argument
258 M4OSA_mutexClose(M4OSA_Context context) argument
[all...]
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/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java47 public static void checkSQLiteException(Context context, SQLiteException e) { argument
49 Toast.makeText(context, com.android.internal.R.string.low_memory,
56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, argument
62 checkSQLiteException(context, e);
67 public static boolean requery(Context context, Cursor cursor) { argument
72 checkSQLiteException(context, e);
76 public static int update(Context context, ContentResolver resolver, Uri uri, argument
82 checkSQLiteException(context, e);
87 public static int delete(Context context, ContentResolver resolver, Uri uri, argument
93 checkSQLiteException(context,
98 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_StatFs.cpp36 jfieldID context; member in struct:android::fields_t
45 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context);
52 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context);
59 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context);
66 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context);
79 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context);
96 env->SetIntField(thiz, fields.context, 0);
116 env->SetIntField(thiz, fields.context, (int)stat);
123 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context);
126 env->SetIntField(thiz, fields.context,
[all...]
/frameworks/base/core/java/android/view/animation/
H A DLinearInterpolator.java31 public LinearInterpolator(Context context, AttributeSet attrs) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutWithDefaultTouchRecepient.java39 public LinearLayoutWithDefaultTouchRecepient(Context context) { argument
40 super(context);
43 public LinearLayoutWithDefaultTouchRecepient(Context context, AttributeSet attrs) { argument
44 super(context, attrs);
/frameworks/base/packages/InputDevices/src/com/android/inputdevices/
H A DInputDeviceReceiver.java25 public void onReceive(Context context, Intent intent) { argument
/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);
H A DDreamsDockLauncher.java24 private static void launchDream(Context context) { argument
27 context.getContentResolver(), Settings.Secure.SCREENSAVER_COMPONENT);
29 component = context.getResources().getString(
34 context.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));
46 context.startActivity(zzz);
59 public void onReceive(Context context, Intent intent) { argument
61 context.getContentResolver(),
73 launchDream(context);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationIconArea.java38 public NotificationIconArea(Context context, AttributeSet attrs) { argument
39 super(context, attrs);
45 public IconLayout(Context context, AttributeSet attrs) { argument
46 super(context, attrs);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DKeyguardViewProperties.java30 * @param context the context to use when creating the view.
36 KeyguardViewBase createKeyguardView(Context context, argument
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DReceiver.java28 public void onReceive(Context context, Intent intent) { 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/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/packages/SystemUI/src/com/android/systemui/recent/
H A DStatusBarTouchProxy.java29 public StatusBarTouchProxy(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DTitleBar.java30 public TitleBar(Context context, Density density, String label) argument
32 super(context, density, "/bars/title_bar.xml", "title_bar.xml");
/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/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);

Completed in 677 milliseconds

1234567891011>>