/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/ |
H A D | GlifRecyclerLayout.java | 52 public GlifRecyclerLayout(Context context) { argument 53 this(context, 0, 0); 56 public GlifRecyclerLayout(Context context, int template) { argument 57 this(context, template, 0); 60 public GlifRecyclerLayout(Context context, int template, int containerId) { argument 61 super(context, template, containerId); 62 init(context, null, 0); 65 public GlifRecyclerLayout(Context context, AttributeSet attrs) { argument 66 super(context, attrs); 67 init(context, attr 71 GlifRecyclerLayout(Context context, AttributeSet attrs, int defStyleAttr) argument 76 init(Context context, AttributeSet attrs, int defStyleAttr) argument [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | CarrierMessagingServiceManager.java | 35 * if (carrierMessagingServiceManager.bindToCarrierMessagingService(context, carrierPackageName)) { 54 * @param context the context 58 public boolean bindToCarrierMessagingService(Context context, String carrierPackageName) { argument 64 return context.bindService(intent, mCarrierMessagingServiceConnection, 71 * @param context the context 73 public void disposeConnection(Context context) { argument 75 context.unbindService(mCarrierMessagingServiceConnection);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | GuidedStepRootLayout.java | 33 public GuidedStepRootLayout(Context context, AttributeSet attrs) { argument 34 super(context, attrs); 37 public GuidedStepRootLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument 38 super(context, attrs, defStyleAttr);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsRowView.java | 40 public PlaybackControlsRowView(Context context, AttributeSet attrs) { argument 41 super(context, attrs); 44 public PlaybackControlsRowView(Context context, AttributeSet attrs, int defStyle) { argument 45 super(context, attrs, defStyle);
|
H A D | RowContainerView.java | 37 public RowContainerView(Context context) { argument 38 this(context, null, 0); 41 public RowContainerView(Context context, AttributeSet attrs) { argument 42 this(context, attrs, 0); 45 public RowContainerView(Context context, AttributeSet attrs, int defStyle) { argument 46 super(context, attrs, defStyle); 48 LayoutInflater inflater = LayoutInflater.from(context);
|
/frameworks/support/v4/donut/android/support/v4/view/ |
H A D | LayoutInflaterFactory.java | 37 * @param context The context the view is being created in. 43 public View onCreateView(View parent, String name, Context context, AttributeSet attrs); argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NavUtils.java | 46 String getParentActivityName(Context context, ActivityInfo info); argument 85 public String getParentActivityName(Context context, ActivityInfo info) { argument 90 parentActivity = context.getPackageName() + parentActivity; 124 public String getParentActivityName(Context context, ActivityInfo info) { argument 127 result = super.getParentActivityName(context, info); 224 * @param context Context for looking up the activity component for sourceActivityClass 229 public static Intent getParentActivityIntent(Context context, Class<?> sourceActivityClass) argument 231 String parentActivity = getParentActivityName(context, 232 new ComponentName(context, sourceActivityClass)); 236 final ComponentName target = new ComponentName(context, parentActivit 254 getParentActivityIntent(Context context, ComponentName componentName) argument 298 getParentActivityName(Context context, ComponentName componentName) argument [all...] |
/frameworks/support/v4/java/android/support/v4/hardware/fingerprint/ |
H A D | FingerprintManagerCompat.java | 41 /** Get a {@link FingerprintManagerCompat} instance for a provided context. */ 42 public static FingerprintManagerCompat from(Context context) { argument 43 return new FingerprintManagerCompat(context); 46 private FingerprintManagerCompat(Context context) { argument 47 mContext = context; 203 boolean hasEnrolledFingerprints(Context context); argument 204 boolean isHardwareDetected(Context context); argument 205 void authenticate(Context context, CryptoObject crypto, int flags, argument 216 public boolean hasEnrolledFingerprints(Context context) { argument 221 public boolean isHardwareDetected(Context context) { argument 226 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument 238 hasEnrolledFingerprints(Context context) argument 243 isHardwareDetected(Context context) argument 248 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ContentLoadingProgressBar.java | 64 public ContentLoadingProgressBar(Context context) { argument 65 this(context, null); 68 public ContentLoadingProgressBar(Context context, AttributeSet attrs) { argument 69 super(context, attrs, 0);
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/ |
H A D | ActionBarDrawerToggleJellybeanMR2.java | 56 final Context context; 58 context = actionBar.getThemedContext(); 60 context = activity; 63 final TypedArray a = context.obtainStyledAttributes(null, THEME_ATTRS,
|
/frameworks/support/v4/kitkat/android/support/v4/app/ |
H A D | NotificationManagerCompatKitKat.java | 30 public static boolean areNotificationsEnabled(Context context) { argument 31 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); 32 ApplicationInfo appInfo = context.getApplicationInfo(); 33 String pkg = context.getApplicationContext().getPackageName();
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuItemWrapperJB.java | 34 MenuItemWrapperJB(Context context, SupportMenuItem object) { argument 35 super(context, object); 47 public ActionProviderWrapperJB(Context context, android.view.ActionProvider inner) { argument 48 super(context, inner);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextHelperV17.java | 40 final Context context = mView.getContext(); 43 TypedArray a = context.obtainStyledAttributes(attrs, VIEW_ATTRS_v17, defStyleAttr, 0); 45 mDrawableStartTint = createTintInfo(context, drawableManager, a.getResourceId(0, 0)); 48 mDrawableEndTint = createTintInfo(context, drawableManager, a.getResourceId(1, 0));
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/ |
H A D | PrivateLayoutManager.java | 25 public PrivateLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, argument
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | SaturateFilter.java | 85 public void initProgram(FilterContext context, int target) { argument 88 ShaderProgram shaderProgram = new ShaderProgram(context, mBenSaturateShader); 92 shaderProgram = new ShaderProgram(context, mHerfSaturateShader); 106 public void fieldPortValueUpdated(String name, FilterContext context) { argument 113 public void process(FilterContext context) { argument 120 initProgram(context, inputFormat.getTarget()); 125 Frame output = context.getFrameManager().newFrame(inputFormat);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | DataUsageGraph.java | 44 public DataUsageGraph(Context context, AttributeSet attrs) { argument 45 super(context, attrs); 46 final Resources res = context.getResources(); 47 mTrackColor = context.getColor(R.color.data_usage_graph_track); 48 mUsageColor = context.getColor(R.color.system_accent_color); 49 mOverlimitColor = context.getColor(R.color.system_warning_color); 50 mWarningColor = context.getColor(R.color.data_usage_graph_warning);
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
H A D | WakeUpCall.java | 45 public void onReceive(Context context, Intent intent) { argument 46 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); 73 screenOn(context); 79 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 86 am.cancel(PendingIntent.getBroadcast(context, 0, intent, 0)); 105 private void screenOn(Context context) { argument 106 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 47 public CircleView(Context context) { argument 48 super(context); 50 Resources res = context.getResources(); 58 public void initialize(Context context, boolean is24HourMode) { argument 64 Resources res = context.getResources(); 79 /* package */ void setTheme(Context context, boolean dark) { argument 80 Resources res = context.getResources();
|
/frameworks/rs/api/ |
H A D | rs_for_each.spec | 48 summary: Handle to a kernel invocation context 50 The kernel context contains common characteristics of the allocations being iterated 54 You can access the kernel context by adding a special parameter named "context" of type 235 arg: rs_kernel_context context 236 summary: Index in the Array0 dimension for the specified kernel context 239 by the supplied kernel context. 241 The kernel context contains common characteristics of the allocations being iterated 244 You can access the kernel context by adding a special parameter named "context" o [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceFrameLayout.java | 39 public PreferenceFrameLayout(Context context) { argument 40 this(context, null); 43 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument 44 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle); 47 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument 48 this(context, attrs, defStyleAttr, 0); 52 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 53 super(context, attrs, defStyleAttr, defStyleRes); 54 final TypedArray a = context.obtainStyledAttributes(attrs, 57 float density = context 51 PreferenceFrameLayout( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AdapterViewFlipper.java | 54 public AdapterViewFlipper(Context context) { argument 55 super(context); 58 public AdapterViewFlipper(Context context, AttributeSet attrs) { argument 59 this(context, attrs, 0); 62 public AdapterViewFlipper(Context context, AttributeSet attrs, int defStyleAttr) { argument 63 this(context, attrs, defStyleAttr, 0); 67 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 68 super(context, attrs, defStyleAttr, defStyleRes); 70 final TypedArray a = context.obtainStyledAttributes(attrs, 85 public void onReceive(Context context, Inten 66 AdapterViewFlipper( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ScrollViewScenario.java | 57 View create(final Context context); argument 101 public View create(final Context context) { 102 final TextView tv = new TextView(context); 130 public View create(final Context context) { 131 final Button button = new Button(context); 159 public View create(final Context context) { 160 return new InternalSelectionView(context, numRows, "isv"); 174 public View create(Context context) { 175 final LinearLayout ll = new LinearLayout(context); 183 final Button button = new Button(context); [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
H A D | SurfaceTargetFilter.java | 115 public void prepare(FilterContext context) { argument 116 mGlEnv = context.getGLEnvironment(); 120 mProgram = ShaderProgram.createIdentity(context); 129 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, 138 public void open(FilterContext context) { argument 143 public void process(FilterContext context) { argument 162 gpuFrame = context.getFrameManager().duplicateFrameToTarget(input, 184 public void fieldPortValueUpdated(String name, FilterContext context) { argument 190 public void close(FilterContext context) { argument 195 public void tearDown(FilterContext context) { argument [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
H A D | ActivityTest.java | 66 public Context context; field in class:ActivityTest 109 // NOTE: Must be the "target" context, else security checks in content provider will fail. 110 context = getInstrumentation().getTargetContext(); 112 bots = new Bots(device, context, TIMEOUT); 116 mResolver = context.getContentResolver(); 133 final Intent intent = context.getPackageManager().getLaunchIntentForPackage( 178 private Bots(UiDevice device, Context context, int timeout) { argument 179 this.main = new UiBot(device, context, TIMEOUT); 180 this.roots = new RootsListBot(device, context, TIMEOUT); 181 this.directory = new DirectoryListBot(device, context, TIMEOU [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | Events.java | 108 public static void writeEvent(Context context, int tag, Object... list) { argument 115 MetricsLogger.visible(context, MetricsEvent.VOLUME_DIALOG); 116 MetricsLogger.histogram(context, "volume_from_keyguard", 121 MetricsLogger.visibility(context, MetricsEvent.VOLUME_DIALOG_DETAILS, 126 MetricsLogger.hidden(context, MetricsEvent.VOLUME_DIALOG); 130 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_STREAM, 135 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_ICON, 141 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_SLIDER, 151 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_KEY, 157 MetricsLogger.action(context, MetricsEven [all...] |