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

1234567891011>>

/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityContainer.java11 public KeyguardSecurityContainer(Context context, AttributeSet attrs) { argument
12 this(context, attrs, 0);
15 public KeyguardSecurityContainer(Context context) { argument
19 public KeyguardSecurityContainer(Context context, AttributeSet attrs, int defStyle) { argument
20 super(context, attrs, defStyle);
H A DNumPadKey.java60 public NumPadKey(Context context) { argument
61 this(context, null);
64 public NumPadKey(Context context, AttributeSet attrs) { argument
65 this(context, attrs, 0);
68 public NumPadKey(Context context, AttributeSet attrs, int defStyle) { argument
69 super(context, attrs, defStyle);
71 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumPadKey);
76 setOnHoverListener(new LiftToActivateListener(context));
77 setAccessibilityDelegate(new ObscureSpeechDelegate(context));
79 mEnableHaptics = new LockPatternUtils(context)
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DLVOSA_FileReader_optim.h61 M4OSA_ERR M4OSA_fileReadOpen_optim( M4OSA_Context* context,
65 M4OSA_ERR M4OSA_fileReadOpen_optim( M4OSA_Context* context,
71 M4OSA_ERR M4OSA_fileReadData_optim( M4OSA_Context context,
74 M4OSA_ERR M4OSA_fileReadSeek_optim( M4OSA_Context context,
77 M4OSA_ERR M4OSA_fileReadClose_optim( M4OSA_Context context );
78 M4OSA_ERR M4OSA_fileReadGetOption_optim( M4OSA_Context context,
81 M4OSA_ERR M4OSA_fileReadSetOption_optim( M4OSA_Context context,
/frameworks/base/core/java/android/app/backup/
H A DSharedPreferencesBackupHelper.java81 * @param context The application {@link android.content.Context}
85 public SharedPreferencesBackupHelper(Context context, String... prefGroups) { argument
86 super(context);
88 mContext = context;
97 Context context = mContext;
108 files[i] = context.getSharedPrefsFile(prefGroups[i]).getAbsolutePath();
120 Context context = mContext;
126 File f = context.getSharedPrefsFile(key).getAbsoluteFile();
/frameworks/base/core/java/android/preference/
H A DCheckBoxPreference.java37 public CheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { argument
38 super(context, attrs, defStyle);
40 TypedArray a = context.obtainStyledAttributes(attrs,
49 public CheckBoxPreference(Context context, AttributeSet attrs) { argument
50 this(context, attrs, com.android.internal.R.attr.checkBoxPreferenceStyle);
53 public CheckBoxPreference(Context context) { argument
54 this(context, null);
/frameworks/base/core/java/android/widget/
H A DTwoLineListItem.java51 public TwoLineListItem(Context context) { argument
52 this(context, null, 0);
55 public TwoLineListItem(Context context, AttributeSet attrs) { argument
56 this(context, attrs, 0);
59 public TwoLineListItem(Context context, AttributeSet attrs, int defStyle) { argument
60 super(context, attrs, defStyle);
62 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/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.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/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/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCurrentUserTracker.java29 public CurrentUserTracker(Context context) { argument
31 context.registerReceiver(this, filter);
40 public void onReceive(Context context, Intent intent) { argument
/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/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/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);
/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/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
101 WebViewDatabase getWebViewDatabase(Context context); argument

Completed in 565 milliseconds

1234567891011>>