Searched refs:context (Results 251 - 275 of 1391) sorted by relevance

<<11121314151617181920>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationLinearLayout.java48 public NotificationLinearLayout(Context context, AttributeSet attrs) { argument
49 this(context, attrs, 0);
52 public NotificationLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
53 super(context, attrs, defStyle);
55 final Resources res = context.getResources();
59 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NotificationLinearLayout,
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalKeyManager.java56 public GlobalKeyManager(Context context) { argument
58 loadGlobalKeys(context);
64 * @param context context used to broadcast the event
69 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) { argument
76 context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null);
90 private void loadGlobalKeys(Context context) { argument
93 parser = context.getResources().getXml(com.android.internal.R.xml.global_keys);
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java41 * @param context A Context object used to access application assets.
43 public WebView(Context context) { argument
44 this(context, null);
49 * @param context A Context object used to access application assets.
52 public WebView(Context context, AttributeSet attrs) { argument
53 this(context, attrs, com.android.internal.R.attr.webViewStyle);
58 * @param context A Context object used to access application assets.
62 public WebView(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxPredictor.java39 public BordeauxPredictor(Context context) { argument
40 mContext = context;
42 mPredictor = BordeauxManagerService.getPredictor(context, mName);
45 public BordeauxPredictor(Context context, String name) { argument
46 mContext = context;
48 mPredictor = BordeauxManagerService.getPredictor(context, mName);
H A DBordeauxRanker.java67 public BordeauxRanker(Context context) { argument
68 mContext = context;
70 mRanker = BordeauxManagerService.getRanker(context, mName);
73 public BordeauxRanker(Context context, String name) { argument
74 mContext = context;
76 mRanker = BordeauxManagerService.getRanker(context, mName);
/frameworks/support/v4/java/android/support/v4/widget/
H A DEdgeEffectCompat.java45 public Object newEdgeEffect(Context context); argument
59 public Object newEdgeEffect(Context context) { argument
91 public Object newEdgeEffect(Context context) { argument
92 return EdgeEffectCompatIcs.newEdgeEffect(context);
125 * Construct a new EdgeEffect themed using the given context.
130 * @param context Context to use for theming the effect
132 public EdgeEffectCompat(Context context) { argument
133 mEdgeEffect = IMPL.newEdgeEffect(context);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java74 * @param context The context.
76 public MediaRouteProvider(Context context) { argument
77 this(context, null);
80 MediaRouteProvider(Context context, ProviderMetadata metadata) { argument
81 if (context == null) {
82 throw new IllegalArgumentException("context must not be null");
85 mContext = context;
87 mMetadata = new ProviderMetadata(context.getPackageName());
94 * Gets the context o
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java52 public NetworkImageView(Context context) { argument
53 this(context, null);
56 public NetworkImageView(Context context, AttributeSet attrs) { argument
57 this(context, attrs, 0);
60 public NetworkImageView(Context context, AttributeSet attrs, int defStyle) { argument
61 super(context, attrs, defStyle);
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c27 void SHA1Update(SHA1_CTX* context, unsigned char* data,
30 void SHA1Update(SHA1_CTX* context, unsigned char* data,
150 /* Copy context->state[] to working vars */
185 /* Add the working vars back into context.state[] */
198 /* SHA1Init - Initialize new context */
200 void SHA1Init(SHA1_CTX* context) argument
203 context->state[0] = 0x67452301;
204 context->state[1] = 0xEFCDAB89;
205 context->state[2] = 0x98BADCFE;
206 context
214 SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len) argument
240 SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context) argument
284 SHA1_CTX context; local
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java210 public void fieldPortValueUpdated(String name, FilterContext context) { argument
282 public void prepare(FilterContext context) { argument
285 mProgram = ShaderProgram.createIdentity(context);
291 public void open(FilterContext context) { argument
294 if (mRecording) startRecording(context);
297 private void startRecording(FilterContext context) { argument
317 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(
341 mSurfaceId = context.getGLEnvironment().
386 public void process(FilterContext context) { argument
387 GLEnvironment glEnv = context
423 stopRecording(FilterContext context) argument
456 close(FilterContext context) argument
462 tearDown(FilterContext context) argument
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4READER_Common.h419 * @note create the context
420 * @param pContext: (OUT) pointer on a reader context
431 * @note after this call the context is invalid
432 * @param context: (IN) Context of the reader
437 typedef M4OSA_ERR (M4READER_destroy_fct) (M4OSA_Context context);
444 * @param context: (IN) Context of the reader
447 * @return M4ERR_PARAMETER the context is NULL
448 * @return M4ERR_BAD_CONTEXT provided context is not a valid one
451 typedef M4OSA_ERR (M4READER_open_fct) (M4OSA_Context context, M4OSA_Void* pFileDescriptor);
458 * @param context
[all...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java429 void onInit(Context context, boolean foreground) { argument
434 void onTerm(Context context) { argument
560 void onInit(Context context, boolean foreground) { argument
561 mPm = context.getPackageManager();
562 mProcessName = context.getApplicationInfo().processName;
585 void onInit(Context context, boolean foreground) { argument
586 mContext = context;
605 void onInit(Context context, boolean foreground) { argument
606 mContext = context;
631 void onTerm(Context context) { argument
650 onInit(Context context, boolean foreground) argument
668 onInit(Context context, boolean foreground) argument
686 onInit(Context context, boolean foreground) argument
708 onInit(Context context, boolean foreground) argument
730 onInit(Context context, boolean foreground) argument
752 onInit(Context context, boolean foreground) argument
774 onInit(Context context, boolean foreground) argument
796 onInit(Context context, boolean foreground) argument
815 onInit(Context context, boolean foreground) argument
835 onInit(Context context, boolean foreground) argument
855 onInit(Context context, boolean foreground) argument
876 onInit(Context context, boolean foreground) argument
896 onInit(Context context, boolean foreground) argument
917 onInit(Context context, boolean foreground) argument
937 onInit(Context context, boolean foreground) argument
957 onInit(Context context, boolean foreground) argument
980 onInit(Context context, boolean foreground) argument
1005 onInit(Context context, boolean foreground) argument
1034 onInit(Context context, boolean foreground) argument
1059 onTerm(Context context) argument
1078 onInit(Context context, boolean foreground) argument
1105 onTerm(Context context) argument
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DShutdownThread.java98 * @param context Context used to display the shutdown progress dialog.
101 public static void shutdown(final Context context, boolean confirm) { argument
104 shutdownInner(context, confirm);
107 static void shutdownInner(final Context context, boolean confirm) { argument
117 final int longPressBehavior = context.getResources().getInteger(
128 final CloseDialogReceiver closer = new CloseDialogReceiver(context);
132 sConfirmDialog = new AlertDialog.Builder(context)
139 beginShutdownSequence(context);
149 beginShutdownSequence(context);
158 CloseDialogReceiver(Context context) { argument
165 onReceive(Context context, Intent intent) argument
183 reboot(final Context context, String reason, boolean confirm) argument
197 rebootSafeMode(final Context context, boolean confirm) argument
204 beginShutdownSequence(Context context) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java152 * @param context the context used to retrieve string constants
158 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) { argument
203 info.phoneLabel = Phone.getDisplayLabel(context,
251 * @param context the context used to get the ContentResolver
256 public static CallerInfo getCallerInfo(Context context, Uri contactRef) { argument
258 return getCallerInfo(context, contactRef,
259 context.getContentResolver().query(contactRef, null, null, null, null));
265 * @param context th
272 getCallerInfo(Context context, String number) argument
312 doSecondaryLookupIfNecessary(Context context, String number, CallerInfo previousResult) argument
342 getCallerId(Context context, String number) argument
387 markAsEmergency(Context context) argument
523 updateGeoDescription(Context context, String fallbackNumber) argument
532 getGeoDescription(Context context, String number) argument
567 getCurrentCountryIso(Context context, Locale locale) argument
[all...]
/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java56 * @param context for the application
58 public SSLSessionCache(Context context) { argument
59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java40 public PreferenceFrameLayout(Context context) { argument
41 this(context, null);
44 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument
45 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle);
48 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyle) { argument
49 super(context, attrs, defStyle);
50 TypedArray a = context.obtainStyledAttributes(attrs,
53 float density = context.getResources().getDisplayMetrics().density;
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java36 public AllCapsTransformationMethod(Context context) { argument
37 mLocale = context.getResources().getConfiguration().locale;
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java50 public AccelerateInterpolator(Context context, AttributeSet attrs) { argument
52 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AccelerateInterpolator);
H A DAnticipateInterpolator.java42 public AnticipateInterpolator(Context context, AttributeSet attrs) { argument
43 TypedArray a = context.obtainStyledAttributes(attrs,
H A DDecelerateInterpolator.java43 public DecelerateInterpolator(Context context, AttributeSet attrs) { argument
45 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.DecelerateInterpolator);
H A DLayoutAnimationController.java98 * @param context the Context the view group is running in, through which
103 public LayoutAnimationController(Context context, AttributeSet attrs) { argument
104 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.LayoutAnimation);
114 setAnimation(context, resource);
119 setInterpolator(context, resource);
175 * @param context the context from which the animation must be inflated
183 public void setAnimation(Context context, int resourceID) { argument
184 setAnimation(AnimationUtils.loadAnimation(context, resourceID));
220 * @param context th
228 setInterpolator(Context context, int resourceID) argument
[all...]
H A DOvershootInterpolator.java43 public OvershootInterpolator(Context context, AttributeSet attrs) { argument
44 TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/core/java/android/webkit/
H A DKeyStoreHandler.java51 public void installCert(Context context) { argument
73 CertTool.addCertificate(context, type, cert);
H A DPluginList.java109 public synchronized void pluginClicked(Context context, int position) { argument
112 plugin.dispatchClickEvent(context);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothRebootStressTest.java39 Context context = getInstrumentation().getTargetContext();
40 mTestUtils = new BluetoothTestUtils(context, TAG, OUTPUT_FILE);

Completed in 706 milliseconds

<<11121314151617181920>>