/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
MoreContactUtils.java | 30 import android.widget.TextView; 195 * containing {@link android.widget.TextView} is set using the given textResourceId. 197 public static TextView createHeaderView(Context context, int textResourceId) { 198 final TextView textView = (TextView) View.inflate(context, R.layout.list_separator, null); 199 textView.setText(context.getString(textResourceId)); 200 return textView; 207 public static void setHeaderViewBottomPadding(Context context, TextView textView, [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
TutorialEN.java | 53 import android.widget.TextView; 91 TextView textView; 125 textView = (TextView) inflate.inflate(R.layout.bubble_text, null); 126 textView.setBackgroundDrawable(bubbleBackground); 127 textView.setText(text); 129 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT); 131 window.setContentView(textView); 137 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv) [all...] |
/frameworks/base/tests/FrameworkPerf/res/layout/ |
large_layout.xml | 30 <TextView 47 <TextView 61 <TextView 89 <TextView 123 <TextView 169 <TextView 213 <TextView 237 <TextView 246 <TextView 255 <TextView [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 50 import android.widget.TextView; 93 private TextView mDeviceId; //DeviceId is the IMEI in GSM and the MEID in CDMA 94 private TextView number; 95 private TextView callState; 96 private TextView operatorName; 97 private TextView roamingState; 98 private TextView gsmState; 99 private TextView gprsState; 100 private TextView network; 101 private TextView dBm [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TabWidgetTest.java | 29 import android.widget.TextView; 58 TextView tv0 = new TextView(mActivity); 59 TextView tv1 = new TextView(mActivity); 84 tabWidget.addView(new TextView(mActivity)); 102 tabWidget.addView(new TextView(mActivity)); 143 tabWidget.addView(new TextView(mActivity)); 144 tabWidget.addView(new TextView(mActivity)); 164 View view1 = new TextView(mActivity) [all...] |
/developers/build/prebuilts/gradle/JobScheduler/Application/src/main/res/layout/ |
sample_main.xml | 31 <TextView 39 <TextView 57 <TextView 68 <TextView 82 <TextView 105 <TextView 109 <TextView 120 <TextView 134 <TextView 148 <TextView [all...] |
/developers/samples/android/background/JobScheduler/Application/src/main/res/layout/ |
sample_main.xml | 31 <TextView 39 <TextView 57 <TextView 68 <TextView 82 <TextView 105 <TextView 109 <TextView 120 <TextView 134 <TextView 148 <TextView [all...] |
/development/samples/browseable/JobScheduler/res/layout/ |
sample_main.xml | 31 <TextView 39 <TextView 57 <TextView 68 <TextView 82 <TextView 105 <TextView 109 <TextView 120 <TextView 134 <TextView 148 <TextView [all...] |
/frameworks/base/core/java/android/text/method/ |
LinkMovementMethod.java | 27 import android.widget.TextView; 44 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, 61 protected boolean up(TextView widget, Spannable buffer) { 70 protected boolean down(TextView widget, Spannable buffer) { 79 protected boolean left(TextView widget, Spannable buffer) { 88 protected boolean right(TextView widget, Spannable buffer) { 96 private boolean action(int what, TextView widget, Spannable buffer) { 194 public boolean onTouchEvent(TextView widget, Spannable buffer, 234 public void initialize(TextView widget, Spannable text) { 240 public void onTakeFocus(TextView view, Spannable text, int dir) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
EditableInputConnection.java | 31 import android.widget.TextView; 37 private final TextView mTextView; 40 // balanced impact on its associated TextView. 44 public EditableInputConnection(TextView textview) { 45 super(textview, true); 46 mTextView = textview; 51 TextView tv = mTextView; 125 * Calls the {@link TextView#onCommitCorrection} method of the associated TextView [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ListContextMenu.java | 35 import android.widget.TextView; 74 TextView view; 77 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); 79 view = (TextView) convertView; 134 String text = ((TextView) info.targetView).getText().toString(); 141 TextView textView = new TextView(this); 142 textView.setText("This is a test of a custom View"); 143 menu.setHeaderView(textView); [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestGridLayoutCodeLtr.java | 30 import android.widget.TextView; 86 TextView c = new TextView(context); 92 TextView c = new TextView(context); 98 TextView c = new TextView(context); 109 TextView c = new TextView(context); 114 TextView c = new EditText(context) [all...] |
BiDiTestGridLayoutCodeRtl.java | 30 import android.widget.TextView; 86 TextView c = new TextView(context); 92 TextView c = new TextView(context); 98 TextView c = new TextView(context); 109 TextView c = new TextView(context); 114 TextView c = new EditText(context) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
MenuItemPresenter.java | 33 import android.widget.TextView; 45 public final TextView mTitleView; 46 public final TextView mDescriptionView; 52 mTitleView = (TextView) v.findViewById(R.id.title); 53 mDescriptionView = (TextView) v.findViewById(R.id.description); 151 private boolean prepareTextView(TextView textView, String title) { 154 textView.setText(title); 155 textView.setVisibility(View.VISIBLE); 157 textView.setVisibility(View.GONE) [all...] |
/frameworks/base/media/tests/EffectsTest/res/layout/ |
envreverbtest.xml | 37 <TextView android:id="@+id/rvbReleaseText" 68 <TextView android:id="@+id/rvbControlText" 143 <TextView android:id="@+id/sessionText" 161 <TextView android:id="@+id/sendLevelText" 174 <TextView android:id="@+id/sendLevelValue" 207 <TextView android:id="@+id/rvbParam1Name" 220 <TextView android:id="@+id/rvbParam1Value" 243 <TextView android:id="@+id/rvbParam2Name" 256 <TextView android:id="@+id/rvbParam2Value" 279 <TextView android:id="@+id/rvbParam3Name [all...] |
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/samples/android/common/src/java/com/example/android/common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
DeviceDetailFragment.java | 36 import android.widget.TextView; 127 TextView statusText = (TextView) mContentView.findViewById(R.id.status_text); 148 TextView view = (TextView) mContentView.findViewById(R.id.group_owner); 154 view = (TextView) mContentView.findViewById(R.id.device_info); 167 ((TextView) mContentView.findViewById(R.id.status_text)).setText(getResources() 183 TextView view = (TextView) mContentView.findViewById(R.id.device_address); 185 view = (TextView) mContentView.findViewById(R.id.device_info) [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceDetailFragment.java | 37 import android.widget.TextView; 126 TextView statusText = (TextView) mContentView.findViewById(R.id.status_text); 147 TextView view = (TextView) mContentView.findViewById(R.id.group_owner); 153 view = (TextView) mContentView.findViewById(R.id.device_info); 166 ((TextView) mContentView.findViewById(R.id.status_text)).setText(getResources() 182 TextView view = (TextView) mContentView.findViewById(R.id.device_address); 184 view = (TextView) mContentView.findViewById(R.id.device_info) [all...] |
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |