/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListThrasher.java | 25 import android.view.View; 26 import android.view.ViewGroup; 27 import android.view.LayoutInflater; 87 public View getView(int position, View convertView, ViewGroup parent) { 88 TextView view; local 91 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); 93 view = (TextView) convertView; 95 view.setText(mTitles[position] + " " + mVersion[position]) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisible.java | 24 import android.view.View; 30 * of {@link android.view.ViewGroup#requestChildRectangleOnScreen}: 44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible); 58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { 60 public void onClick(View v) { 66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { 68 public void onClick(View v) { 74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { 76 public void onClick(View v) [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/view/ |
MockView.java | 17 package android.view; 20 * Mock View class for testing 23 public class MockView extends View{
|
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentEditor.java | 31 import android.view.View; 32 import android.view.ViewStub; 38 * This is an embedded editor/view to add photos and sound/video clips 113 ((View)mView).setVisibility(View.GONE); 117 private View getStubView(int stubId, int viewId) { 118 View view = findViewById(viewId); local 119 if (view == null) 188 LinearLayout view = (LinearLayout)getStubView(stub_view_id, real_view_id); local 203 LinearLayout view =(LinearLayout) getStubView(inPortrait ? local [all...] |
/sdk/layoutopt/libs/uix/src/resources/rules/ |
UselessView.rule | 3 // Description: Checks whether a container view can be removed. 6 // - The node is a container view (LinearLayout, etc.) 13 analysis << "This ${node.name()} view is useless (no children, no background, no id)"
|
/external/skia/include/views/ |
SkView.h | 45 kVisible_Mask = 1 << kVisible_Shift, //!< set if the view is visible 46 kEnabled_Mask = 1 << kEnabled_Shift, //!< set if the view is enabled 47 kFocusable_Mask = 1 << kFocusable_Shift, //!< set if the view can receive focus 48 kFlexH_Mask = 1 << kFlexH_Shift, //!< set if the view's width is stretchable 49 kFlexV_Mask = 1 << kFlexV_Shift, //!< set if the view's height is stretchable 57 /** Return the flags associated with the view 60 /** Set the flags associated with the view 64 /** Helper that returns non-zero if the kVisible_Mask bit is set in the view's flags 69 /** Helper to set/clear the view's kVisible_Mask flag */ 74 /** Return the view's width * [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleCursorTreeAdapterTest.java | 33 import android.view.View; 125 args = {android.view.View.class, android.content.Context.class, 136 TextView view = new TextView(mContext); local 137 view.setId(R.id.cursorAdapter_item0); 138 mSimpleCursorTreeAdapter.bindChildView(view, null, mChildCursor, true); 139 assertEquals("child02", view.getText().toString()); 142 mSimpleCursorTreeAdapter.bindChildView(view, null, mChildCursor, false); 143 assertEquals("child12", view.getText().toString()) 159 TextView view = new TextView(mContext); local 184 ImageView view = new ImageView(mContext); local [all...] |
/frameworks/base/core/java/android/text/method/ |
CharacterPickerDialog.java | 25 import android.view.LayoutInflater; 26 import android.view.View.OnClickListener; 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.Window; 30 import android.view.WindowManager; 42 private View mView; 54 public CharacterPickerDialog(Context context, View view [all...] |
BaseKeyListener.java | 19 import android.view.KeyEvent; 20 import android.view.View; 39 public boolean backspace(View view, Editable content, int keyCode, 54 } else if (altBackspace(view, content, keyCode, event)) { 73 private boolean altBackspace(View view, Editable content, int keyCode, 79 if (!(view instanceof TextView)) { 83 Layout layout = ((TextView) view).getLayout() [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
VisibilityTest.java | 17 package android.view; 19 import android.view.Visibility; 27 import android.view.View; 28 import static android.view.KeyEvent.*; 31 * Exercises {@link android.view.View}'s ability to change visibility between 79 assertEquals(View.INVISIBLE, mVictim.getVisibility()); 94 assertEquals(View.GONE, mVictim.getVisibility()); 108 assertEquals(View.GONE, mVictim.getVisibility()) [all...] |
DrawableBgMinSizeTest.java | 17 package android.view; 20 import android.view.DrawableBgMinSize; 26 import android.view.View; 83 public void doMinimumSizeTest(View view) throws Exception { 84 assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum width", 85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); 86 assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum height", 87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight()) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnPreference.java | 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.View.OnClickListener; 71 public View getView(View convertView, ViewGroup parent) { 72 View view = super.getView(convertView, parent); local 74 View widget = view.findViewById(R.id.apn_radiobutton) [all...] |
/cts/tests/src/android/widget/cts/util/ |
ListItemFactory.java | 20 import android.view.Gravity; 21 import android.view.View; 22 import android.view.ViewGroup; 34 * Create a view with a button at the top and bottom, with filler in between. 39 * @param desiredHeight The desired height of the entire view. 40 * @return The created view. 42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { 123 ll.addView(new View(context), lp) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 20 import android.view.Gravity; 21 import android.view.View; 22 import android.view.ViewGroup; 34 * Create a view with a button at the top and bottom, with filler in between. 39 * @param desiredHeight The desired height of the entire view. 40 * @return The created view. 42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { 123 ll.addView(new View(context), lp) [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmAnalyzerTest.java | 75 "mock_android.view.View", 76 "mock_android.view.ViewGroup", 77 "mock_android.view.ViewGroup$LayoutParams", 78 "mock_android.view.ViewGroup$MarginLayoutParams", 92 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", 96 assertEquals("mock_android/view/ViewGroup$LayoutParams", cr.getClassName()); 97 assertArrayEquals(new String[] { "mock_android.view.ViewGroup$LayoutParams" }, 109 mAa.findGlobs("mock_android.view", zipClasses, found); 118 "mock_android.view.ViewGroup$LayoutParams" [all...] |
/frameworks/base/core/java/android/view/ |
ViewGroup.java | 17 package android.view; 37 import android.view.accessibility.AccessibilityEvent; 38 import android.view.animation.Animation; 39 import android.view.animation.AnimationUtils; 40 import android.view.animation.LayoutAnimationController; 41 import android.view.animation.Transformation; 47 * A <code>ViewGroup</code> is a special view that can contain other views 48 * (called children.) The view group is the base class for layouts and views 50 * {@link android.view.ViewGroup.LayoutParams} class which serves as the base 67 public abstract class ViewGroup extends View implements ViewParent, ViewManager 2222 final View view = children[i]; local 2286 final View view = children[i]; local 2486 View view = null; local [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.test.TouchUtils.html | 86 <A NAME="android.test.TouchUtils.dragViewToBottom_removed(android.test.ActivityInstrumentationTestCase, android.view.View, int)"></A> 87 <nobr><code>void</code> dragViewToBottom(<code>ActivityInstrumentationTestCase,</nobr> View<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 122 <A NAME="android.test.TouchUtils.dragViewBy_added(android.test.InstrumentationTestCase, android.view.View, int, int, int)"></A> 123 <nobr><code>int</code> <A HREF="../../../../reference/android/test/TouchUtils.html#dragViewBy(android.test.InstrumentationTestCase, android.view.View, int, int, int)" target="_top"><code>dragViewBy</code></A>(<code>InstrumentationTestCase,</nobr> View<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 129 <A NAME="android.test.TouchUtils.dragViewTo_added(android.test.InstrumentationTestCase, android.view.View, int, int, int)"></A [all...] |
/cts/tests/src/android/view/cts/ |
MockViewStub.java | 17 package android.view.cts; 21 import android.view.View; 23 public class MockViewStub extends View {
|
/development/apps/Development/src/com/android/development/ |
AppHwConfigList.java | 28 import android.view.View; 29 import android.view.ViewGroup; 30 import android.view.LayoutInflater; 68 protected void onListItemClick(ListView l, View v, int position, long id) { 122 public View getView(int position, View convertView, ViewGroup parent) { 123 View view; local 125 view = mInflater.inflate [all...] |
RunningProcesses.java | 26 import android.view.View; 27 import android.view.ViewGroup; 28 import android.view.LayoutInflater; 65 protected void onListItemClick(ListView l, View v, int position, long id) { 113 public View getView(int position, View convertView, ViewGroup parent) { 114 View view; local 116 view = mInflater.inflate [all...] |
/development/ide/intellij/ |
p4.sh | 4 echo "$2 - file(s) not in client view." >&2
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
JetBoy.java | 27 import android.view.KeyEvent; 28 import android.view.View; 32 public class JetBoy extends Activity implements View.OnClickListener { 37 /** A handle to the View in which the game is running. */ 90 public void onClick(View v) { 94 mTextView.setVisibility(View.VISIBLE); 102 mButton.setVisibility(View.INVISIBLE); 103 mTextView.setVisibility(View.INVISIBLE); 104 mTimerView.setVisibility(View.VISIBLE) [all...] |
/development/simulator/app/assets/danger-hiptop-m1/ |
layout.xml | 14 <view display="main" x="160" y="69" rotate="0"> 19 </view> 24 <view display="main" x="172" y="60" rotate="180"> 27 </view>
|
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 17 package android.view.animation; 22 import android.view.View; 23 import android.view.ViewGroup; 28 * A layout animation controller is used to animated a layout's, or a view 31 * is used by {@link android.view.ViewGroup} to compute the delay by which each 33 * characteristics of each child, like its index in the view group. 36 * amount of miliseconds by the index of the child in its parent view group. 38 * {@link #getDelayForView(android.view.View)} to implement a different wa [all...] |
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
android.view.View.html | 10 android.view.View 74 Class android.view.<A HREF="../../../../reference/android/view/View.html" target="_top"><font size="+2"><code>View</code></font></A> 76 <p><font xsize="+1">Added interface <code>android.view.accessibility.AccessibilityEventSource</code>.<br></font> 87 <A NAME="android.view.View.addFocusables_added(java.util.ArrayList<android.view.View>, int, int)"></A [all...] |