Searched refs:context (Results 26 - 50 of 1491) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DRadioButton.java54 public RadioButton(Context context) { argument
55 this(context, null);
58 public RadioButton(Context context, AttributeSet attrs) { argument
59 this(context, attrs, com.android.internal.R.attr.radioButtonStyle);
62 public RadioButton(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
H A DResourceCursorTreeAdapter.java39 * @param context The context where the ListView associated with this
51 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, argument
53 super(cursor, context);
60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
66 * @param context The context where the ListView associated with this
76 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, argument
78 this(context, cursor, collapsedGroupLayout, expandedGroupLayout, childLayout, childLayout);
84 * @param context Th
92 ResourceCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, int childLayout) argument
98 newChildView(Context context, Cursor cursor, boolean isLastChild, ViewGroup parent) argument
104 newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPolicyManager.java56 public static Window makeNewWindow(Context context) { argument
57 return sPolicy.makeNewWindow(context);
60 public static LayoutInflater makeNewLayoutInflater(Context context) { argument
61 return sPolicy.makeNewLayoutInflater(context);
68 public static FallbackEventHandler makeNewFallbackEventHandler(Context context) { argument
69 return sPolicy.makeNewFallbackEventHandler(context);
H A DIPolicy.java32 public Window makeNewWindow(Context context); argument
34 public LayoutInflater makeNewLayoutInflater(Context context); argument
38 public FallbackEventHandler makeNewFallbackEventHandler(Context context); argument
/frameworks/base/core/java/com/android/internal/view/
H A DCheckableLinearLayout.java30 public CheckableLinearLayout(Context context) { argument
31 super(context);
35 public CheckableLinearLayout(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
40 public CheckableLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
41 super(context, attrs, defStyle);
H A DRotationPolicy.java48 * @param context Context for accessing system resources.
51 public static boolean isRotationSupported(Context context) { argument
52 PackageManager pm = context.getPackageManager();
66 public static boolean isRotationLockToggleSupported(Context context) { argument
67 return isRotationSupported(context)
68 && context.getResources().getConfiguration().smallestScreenWidthDp >= 600;
74 public static boolean isRotationLockToggleVisible(Context context) { argument
75 return isRotationLockToggleSupported(context) &&
76 Settings.System.getIntForUser(context.getContentResolver(),
84 public static boolean isRotationLocked(Context context) { argument
94 setRotationLock(Context context, final boolean enabled) argument
122 setRotationLockForAccessibility(Context context, final boolean enabled) argument
147 registerRotationPolicyListener(Context context, RotationPolicyListener listener) argument
156 registerRotationPolicyListener(Context context, RotationPolicyListener listener, int userHandle) argument
169 unregisterRotationPolicyListener(Context context, RotationPolicyListener listener) argument
[all...]
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsScrollView.java27 public QuickSettingsScrollView(Context context) { argument
28 super(context);
31 public QuickSettingsScrollView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public QuickSettingsScrollView(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPolicy.java59 public Window makeNewWindow(Context context) { argument
60 return new PhoneWindow(context);
63 public LayoutInflater makeNewLayoutInflater(Context context) { argument
64 return new PhoneLayoutInflater(context);
71 public FallbackEventHandler makeNewFallbackEventHandler(Context context) { argument
72 return new PhoneFallbackEventHandler(context);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DMainView.java28 public MainView(Context context) { argument
29 super(context);
32 public MainView(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public MainView(Context context, AttributeSet attrs, int defStyle) { argument
37 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);
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c44 * - initializes PCM context,
48 * @param pContext: (OUT) Pointer on the PCM Reader context
66 M4PCMR_Context *context; local
76 /* Allocates the context */
77 context = M4OSA_NULL;
78 context = (M4PCMR_Context *)M4OSA_32bitAlignedMalloc(sizeof(M4PCMR_Context), M4WAV_READER,
80 if (M4OSA_NULL == context)
84 *pContext = (M4OSA_Context)context;
86 /* Initialize the context */
87 context
186 M4PCMR_getNextStream(M4OSA_Context context, M4SYS_StreamDescription* pStreamDesc) argument
295 M4PCMR_startReading(M4OSA_Context context, M4SYS_StreamID* pStreamIDs) argument
351 M4PCMR_nextAU(M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit* pAU) argument
433 M4PCMR_freeAU(M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit* pAU) argument
482 M4PCMR_seek(M4OSA_Context context, M4SYS_StreamID* pStreamID, M4OSA_Time time, M4SYS_SeekAccessMode seekAccessMode, M4OSA_Time* pObtainCTS) argument
558 M4PCMR_closeRead(M4OSA_Context context) argument
622 M4PCMR_getOption(M4OSA_Context context, M4PCMR_OptionID optionID, M4OSA_DataOption* pValue) argument
672 M4PCMR_setOption(M4OSA_Context context, M4PCMR_OptionID optionID, M4OSA_DataOption Value) argument
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_FileReader.h76 M4OSA_ERR (*openRead) (M4OSA_Context* context,
80 M4OSA_ERR (*readData) (M4OSA_Context context,
84 M4OSA_ERR (*seek) (M4OSA_Context context,
88 M4OSA_ERR (*closeRead) (M4OSA_Context context);
90 M4OSA_ERR (*setOption) (M4OSA_Context context,
94 M4OSA_ERR (*getOption) (M4OSA_Context context,
104 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadOpen (M4OSA_Context* context,
108 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadData (M4OSA_Context context,
112 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadSeek (M4OSA_Context context,
116 M4OSAL_FILE_EXPORT_TYPE M4OSA_ERR M4OSA_fileReadClose (M4OSA_Context context);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPreloadReceiver.java25 public void onReceive(Context context, Intent intent) { argument
27 RecentTasksLoader.getInstance(context).preloadRecentTasksList();
29 RecentTasksLoader.getInstance(context).cancelPreloadingRecentTasksList();
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Writer.h69 * @param contextPtr (OUT) Pointer to the MP4 writer context to create.
90 * @param context (IN/OUT) MP4 writer context.
98 * to this context while attempting to add another one,
102 M4OSA_ERR M4MP4W_addStream( M4OSA_Context context,
108 * @param context (IN/OUT) MP4 writer context.
117 M4OSA_ERR M4MP4W_startWriting( M4OSA_Context context);
123 * @param context (IN/OUT) MP4 writer context
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java31 public PasswordEntryKeyboardView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public PasswordEntryKeyboardView(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportPrefs.java34 public static int getWarningState(Context context, int def) { argument
35 final SharedPreferences prefs = context.getSharedPreferences(
40 public static void setWarningState(Context context, int value) { argument
41 final SharedPreferences prefs = context.getSharedPreferences(
/frameworks/base/test-runner/src/android/test/
H A DTestCase.java40 public void setUp(Context context); argument
/frameworks/support/v4/ics/android/support/v4/widget/
H A DSearchViewCompatIcs.java29 public MySearchView(Context context) { argument
30 super(context);
42 public static View newSearchView(Context context) { argument
43 return new MySearchView(context);
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java41 private static boolean isLowMemory(Context context) { argument
42 if (null == context) {
47 context.getSystemService(Context.ACTIVITY_SERVICE);
59 public static void checkSQLiteException(Context context, SQLiteException e) { argument
61 Toast.makeText(context, com.android.internal.R.string.low_memory,
68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, argument
74 checkSQLiteException(context, e);
79 public static boolean requery(Context context, Cursor cursor) { argument
84 checkSQLiteException(context, e);
88 public static int update(Context context, ContentResolve argument
99 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
110 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroupOverlay.java35 ViewGroupOverlay(Context context, View hostView) { argument
36 super(context, hostView);
/frameworks/base/core/java/android/webkit/
H A DWebViewDatabase.java43 public static WebViewDatabase getInstance(Context context) { argument
44 return WebViewFactory.getProvider().getWebViewDatabase(context);
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DAutoFixEffect.java28 public AutoFixEffect(EffectContext context, String name) { argument
29 super(context, name, AutoFixFilter.class, "image", "image");
H A DBitmapOverlayEffect.java29 public BitmapOverlayEffect(EffectContext context, String name) { argument
30 super(context, name, BitmapOverlayFilter.class, "image", "image");

Completed in 1659 milliseconds

1234567891011>>