/development/apps/Development/src/com/android/development/ |
LogTextBox.java | 20 import android.content.Context; 41 public LogTextBox(Context context) { 42 this(context, null); 45 public LogTextBox(Context context, AttributeSet attrs) { 46 this(context, attrs, android.R.attr.textViewStyle); 49 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { 50 super(context, attrs, defStyle) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
LogTextBox.java | 20 import android.content.Context; 38 public LogTextBox(Context context) { 39 this(context, null); 42 public LogTextBox(Context context, AttributeSet attrs) { 43 this(context, attrs, android.R.attr.textViewStyle); 46 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { 47 super(context, attrs, defStyle) [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
BackgroundContainer.java | 19 import android.content.Context; 32 public BackgroundContainer(Context context) { 33 super(context); 37 public BackgroundContainer(Context context, AttributeSet attrs) { 38 super(context, attrs); 42 public BackgroundContainer(Context context, AttributeSet attrs, int defStyle) { 43 super(context, attrs, defStyle) [all...] |
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
BackgroundContainer.java | 19 import android.content.Context; 32 public BackgroundContainer(Context context) { 33 super(context); 37 public BackgroundContainer(Context context, AttributeSet attrs) { 38 super(context, attrs); 42 public BackgroundContainer(Context context, AttributeSet attrs, int defStyle) { 43 super(context, attrs, defStyle) [all...] |
/external/linux-tools-perf/scripts/python/Perf-Trace-Util/ |
Context.c | 2 * Context.c. Python interfaces for perf script. 31 PyObject *context; local 34 if (!PyArg_ParseTuple(args, "O", &context)) 37 scripting_context = PyCObject_AsVoidPtr(context); 47 PyObject *context; local 50 if (!PyArg_ParseTuple(args, "O", &context)) 53 scripting_context = PyCObject_AsVoidPtr(context); 63 PyObject *context; local 66 if (!PyArg_ParseTuple(args, "O", &context)) 69 scripting_context = PyCObject_AsVoidPtr(context); [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceCategory.java | 21 import android.content.Context; 38 public PreferenceCategory(Context context, AttributeSet attrs, int defStyle) { 39 super(context, attrs, defStyle); 42 public PreferenceCategory(Context context, AttributeSet attrs) { 43 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle); 46 public PreferenceCategory(Context context) { 47 this(context, null) [all...] |
/frameworks/base/core/java/android/widget/ |
Space.java | 19 import android.content.Context; 33 public Space(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle); 43 public Space(Context context, AttributeSet attrs) { 44 this(context, attrs, 0); 50 public Space(Context context) { 52 this(context, null) [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
PolicyManager.java | 19 import android.content.Context; 56 public static Window makeNewWindow(Context context) { 57 return sPolicy.makeNewWindow(context); 60 public static LayoutInflater makeNewLayoutInflater(Context context) { 61 return sPolicy.makeNewLayoutInflater(context); 68 public static FallbackEventHandler makeNewFallbackEventHandler(Context context) { 69 return sPolicy.makeNewFallbackEventHandler(context); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
DialogTitle.java | 19 import android.content.Context; 32 public DialogTitle(Context context, AttributeSet attrs, 34 super(context, attrs, defStyle); 37 public DialogTitle(Context context, AttributeSet attrs) { 38 super(context, attrs); 41 public DialogTitle(Context context) { 42 super(context); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewAttachView.java | 19 import android.content.Context; 35 public ViewAttachView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle); 40 public ViewAttachView(Context context, AttributeSet attrs) { 41 super(context, attrs); 45 public ViewAttachView(Context context) { 46 super(context); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneLayoutInflater.java | 21 import android.content.Context; 34 * through {@link Context#getSystemService} 36 * @param context The Context in which in which to find resources and other 39 * @see Context#getSystemService 41 public PhoneLayoutInflater(Context context) { 42 super(context); 45 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { 69 public LayoutInflater cloneInContext(Context newContext) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
SurfaceView.java | 21 import android.content.Context; 36 public SurfaceView(Context context) { 37 this(context, null); 40 public SurfaceView(Context context, AttributeSet attrs) { 41 this(context, attrs , 0); 44 public SurfaceView(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
/frameworks/support/v4/tests/java/android/support/v4/text/ |
BidiFormatterTest.java | 26 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */); 27 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */); 30 new BidiFormatter.Builder(false /* LTR context */).stereoReset(false).build(); 32 new BidiFormatter.Builder(true /* RTL context */).stereoReset(false).build(); 65 // Uniform directionality in opposite context. 66 assertEquals("uniform dir opposite to LTR context", 69 assertEquals("uniform dir opposite to LTR context, stereo reset", 72 assertEquals("uniform dir opposite to LTR context, stereo reset, no isolation", 75 assertEquals("neutral treated as opposite to LTR context", 78 assertEquals("uniform dir opposite to RTL context", [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
Space.java | 19 import android.content.Context; 33 public Space(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle); 43 public Space(Context context, AttributeSet attrs) { 44 this(context, attrs, 0); 50 public Space(Context context) { 52 this(context, null) [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
SeekBarSummaryPreference.java | 19 import android.content.Context; 35 Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle); 40 public SeekBarSummaryPreference(Context context, AttributeSet attrs) { 41 super(context, attrs); 45 public SeekBarSummaryPreference(Context context) { 46 super(context); [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
EventRedirectingFrameLayout.java | 19 import android.content.Context; 30 public EventRedirectingFrameLayout(Context context) { 31 super(context); 34 public EventRedirectingFrameLayout(Context context, AttributeSet attrs) { 35 super(context, attrs); 39 Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
TransformableImageView.java | 18 import android.content.Context; 29 public TransformableImageView(Context context) { 30 super(context); 33 public TransformableImageView(Context context, AttributeSet attrs) { 34 super(context, attrs); 37 public TransformableImageView(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupDetailDisplayUtils.java | 19 import android.content.Context; 35 public static View getNewGroupSourceView(Context context) { 36 LayoutInflater inflater = (LayoutInflater)context.getSystemService( 37 Context.LAYOUT_INFLATER_SERVICE); 41 public static void bindGroupSourceView(Context context, View view, String accountTypeString, 43 AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(context); 51 label.setText(accountType.getViewGroupLabel(context)); 58 accountIcon.setImageDrawable(accountType.getDisplayIcon(context)); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
ZeroTopPaddingTextView.java | 19 import android.content.Context; 42 public ZeroTopPaddingTextView(Context context) { 43 this(context, null); 46 public ZeroTopPaddingTextView(Context context, AttributeSet attrs) { 47 this(context, attrs, 0); 50 public ZeroTopPaddingTextView(Context context, AttributeSet attrs, int defStyle) { 51 super(context, attrs, defStyle) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusOnlyTabWidget.java | 19 import android.content.Context; 25 public FocusOnlyTabWidget(Context context) { 26 super(context); 29 public FocusOnlyTabWidget(Context context, AttributeSet attrs) { 30 super(context, attrs); 33 public FocusOnlyTabWidget(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle) [all...] |
PagedViewIcon.java | 19 import android.content.Context; 43 public PagedViewIcon(Context context) { 44 this(context, null); 47 public PagedViewIcon(Context context, AttributeSet attrs) { 48 this(context, attrs, 0); 51 public PagedViewIcon(Context context, AttributeSet attrs, int defStyle) { 52 super(context, attrs, defStyle) [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
FileItemInfoLayout.java | 5 import android.content.Context; 28 public FileItemInfoLayout(Context context) { 29 this(context, null); 32 public FileItemInfoLayout(Context context, AttributeSet attrs) { 33 this(context, attrs, 0); 36 public FileItemInfoLayout(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
StorageItemPreference.java | 19 import android.content.Context; 33 public StorageItemPreference(Context context, int titleRes, int colorRes) { 34 this(context, context.getText(titleRes), colorRes, UserHandle.USER_NULL); 38 Context context, CharSequence title, int colorRes, int userHandle) { 39 super(context); 42 this.color = context.getResources().getColor(colorRes); 44 final Resources res = context.getResources() [all...] |
UsageBarPreference.java | 19 import android.content.Context; 38 public UsageBarPreference(Context context, AttributeSet attrs, int defStyle) { 39 super(context, attrs, defStyle); 43 public UsageBarPreference(Context context) { 44 super(context); 48 public UsageBarPreference(Context context, AttributeSet attrs) { 49 super(context, attrs) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
TimelineRelativeLayout.java | 19 import android.content.Context; 43 public TimelineRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle); 49 public TimelineRelativeLayout(Context context, AttributeSet attrs) { 50 this(context, attrs, 0); 53 public TimelineRelativeLayout(Context context) { 54 this(context, null, 0) [all...] |