/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodManagerTest.java | 16 package android.view.inputmethod.cts; 27 import android.view.KeyEvent; 28 import android.view.Window; 29 import android.view.inputmethod.BaseInputConnection; 30 import android.view.inputmethod.InputMethodInfo; 31 import android.view.inputmethod.InputMethodManager; 62 final EditText view = (EditText) window.findViewById(R.id.entry); local 67 return view.hasWindowFocus(); 74 view.requestFocus(); 78 assertTrue(view.isFocused()) [all...] |
/external/ceres-solver/internal/ceres/ |
canonical_views_clustering.cc | 75 // Maps a view to its representative canonical view (its cluster 78 // Maps a view to its similarity to its current cluster center. 109 // Find the next best canonical view. 114 for (IntSet::const_iterator view = valid_views.begin(); 115 view != valid_views.end(); 116 ++view) { 118 ComputeClusteringQualityDifference(*view, *centers); 121 best_view = *view; 127 // Add canonical view if quality improves, or if minimum is no [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
TabsAdapter.java | 22 import android.support.v4.view.PagerAdapter; 23 import android.support.v4.view.ViewPager; 24 import android.view.View; 25 import android.view.ViewGroup; 34 * trick. Normally a tab host has a simple API for supplying a View or 38 * view to show as the tab content. It listens to changes in tabs, and takes 53 private final View view; field in class:TabsAdapter.TabInfo 55 TabInfo(String _tag, View _view) 103 View view = mTabs.get(position).view; local [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleFeaturePreferenceFragment.java | 28 import android.view.Gravity; 29 import android.view.Menu; 30 import android.view.MenuInflater; 31 import android.view.MenuItem; 32 import android.view.View; 33 import android.view.accessibility.AccessibilityEvent; 34 import android.view.accessibility.AccessibilityManager; 59 protected void onBindView(View view) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
FeedbackFragment.java | 24 import android.view.LayoutInflater; 25 import android.view.View; 26 import android.view.View.OnClickListener; 27 import android.view.ViewGroup; 49 public View onCreateView(LayoutInflater inflater, ViewGroup container, 51 final View view = inflater.inflate(R.layout.research_feedback_fragment_layout, container, local 53 mEditText = (EditText) view.findViewById(R.id.research_feedback_contents) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
NavigationPopup.java | 14 import android.view.Gravity; 15 import android.view.View; 16 import android.view.ViewGroup; 136 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 142 private void updateBitmapForTextView(TextView view, Bitmap bitmap) { 151 view.setCompoundDrawables(faviconDrawable, null, null, null); 186 TextView view = new TextView(mContext); local 187 view.setFadingEdgeLength(mFadeEdgeLength) 222 TextView view; local [all...] |
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/ |
SendActivity.java | 11 import android.view.Gravity; 12 import android.view.KeyEvent; 13 import android.view.MenuInflater; 14 import android.view.View; 15 import android.view.View.OnKeyListener; 16 import android.view.ViewGroup.LayoutParams; 41 public boolean onKey(View view, int keyCode, KeyEvent event) [all...] |
/frameworks/base/core/java/android/transition/ |
Fade.java | 23 import android.view.View; 24 import android.view.ViewGroup; 30 * {@link View#setVisibility(int)} state of the view as well as whether it 31 * is parented in the current view hierarchy. 33 * <p>The ability of this transition to fade out a particular view, and the 35 * the situation of the view in the view hierarchy. For example, if a view wa 188 View view = null; local [all...] |
/frameworks/base/core/java/android/view/ |
IWindowManager.aidl | 17 package android.view; 19 import com.android.internal.view.IInputContext; 20 import com.android.internal.view.IInputMethodClient; 29 import android.view.IApplicationToken; 30 import android.view.IMagnificationCallbacks; 31 import android.view.IOnKeyguardExitResult; 32 import android.view.IRotationWatcher; 33 import android.view.IWindowSession; 34 import android.view.KeyEvent; 35 import android.view.InputEvent [all...] |
ViewStub.java | 17 package android.view; 30 * A ViewStub is an invisible, zero-sized View that can be used to lazily inflate 34 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views. 35 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or 38 * The inflated View is added to the ViewStub's parent with the ViewStub's layout 39 * parameters. Similarly, you can define/override the inflate View's id by using the 52 * View created by inflating the layout resource "mySubTree" can be found using the 53 * id "subTree," specified by the inflatedId property. The inflated View is finally 60 * View inflated = stub.inflate(); 63 * When {@link #inflate()} is invoked, the ViewStub is replaced by the inflated View 226 View view = mInflatedViewRef.get(); local 259 final View view = factory.inflate(mLayoutResource, parent, local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
auditsPanel.css | 40 .audit-launcher-view { 54 .audit-launcher-view.visible { 58 .audit-launcher-view .audit-launcher-view-content { 71 .audit-launcher-view h1 { 76 .audit-launcher-view h1.no-audits { 83 .audit-launcher-view div.button-container { 89 .audit-launcher-view div.button-container > button { 93 .audit-launcher-view fieldset.audit-categories-container { 103 .audit-launcher-view button [all...] |
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/ |
ViewAnimations.java | 21 import android.view.View; 22 import android.view.animation.AlphaAnimation; 23 import android.view.animation.Animation; 24 import android.view.animation.AnimationSet; 25 import android.view.animation.AnimationUtils; 26 import android.view.animation.RotateAnimation; 27 import android.view.animation.ScaleAnimation; 28 import android.view.animation.TranslateAnimation; 33 * This example shows how to use pre-3.0 view Animation classes to create various animated U [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ui/ |
actions_unittests.js | 32 view: new ui.actions.Rollout(), 36 view: new ui.actions.Examine(), 40 view: new ui.actions.Rebaseline(), 45 equal(buttonInfo.view.textContent, buttonInfo.text); 46 equal(buttonInfo.view._eventName, buttonInfo.event);
|
/frameworks/base/core/java/android/widget/ |
PopupMenu.java | 19 import com.android.internal.view.menu.MenuBuilder; 20 import com.android.internal.view.menu.MenuPopupHelper; 21 import com.android.internal.view.menu.MenuPresenter; 22 import com.android.internal.view.menu.SubMenuBuilder; 25 import android.view.Gravity; 26 import android.view.Menu; 27 import android.view.MenuInflater; 28 import android.view.MenuItem; 29 import android.view.View; [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
PropertyAccessBenchmark.java | 24 private View view = new View(); field in class:PropertyAccessBenchmark 32 setX = View.class.getDeclaredMethod("setX", float.class); 33 x = View.class.getDeclaredField("x"); 38 view.setX(0.1f); 44 view.x = 0.1f; 51 view.setX(value); 58 view.x = value; 64 setX.invoke(view, 0.1f) [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
EventListener.java | 19 import android.support.v4.view.ViewPager; 20 import android.view.KeyEvent; 21 import android.view.View; 24 class EventListener implements View.OnKeyListener, 25 View.OnClickListener, 26 View.OnLongClickListener { 36 public void onClick(View view) { 37 int id = view.getId() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLBodyElement.cpp | 186 if (FrameView* view = document()->view()) 187 view->scheduleRelayout(); 269 FrameView* view = document->view(); local 270 return view ? adjustForZoom(view->scrollX(), document) : 0; 280 FrameView* view = frame->view(); 281 if (!view) 291 FrameView* view = document->view(); local 313 FrameView* view = document->view(); local 322 FrameView* view = document->view(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DependencyGraph.java | 65 // Parent view: 85 ViewData view = new ViewData(child, id); local 86 mNodeToView.put(child, view); 88 mIdToView.put(id, view); 92 for (ViewData view : mNodeToView.values()) { 93 for (IAttribute attribute : view.node.getLiveAttributes()) { 101 Constraint constraint = new Constraint(type, view, parentView); 102 view.dependsOn.add(constraint); 110 if (target == view) { 117 Constraint constraint = new Constraint(type, view, target) 167 ViewData view = mNodeToView.get(node); local 195 assert constraint.to == view; local 218 ViewData view = mNodeToView.get(from); local 244 assert constraint.from == view; local [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ |
AutofillPopupTest.java | 23 import android.view.View; 78 final ContentView view = getActivity().getActiveContentView(); local 80 new TestInputMethodManagerWrapper(view.getContentViewCore()); 81 view.getContentViewCore().getImeAdapterForTest().setInputMethodManagerWrapper(immw); 91 final TestCallbackHelperContainer viewClient = new TestCallbackHelperContainer(view); 92 DOMUtils.clickNode(this, view, viewClient, "fn"); 96 view.getContentViewCore().getInputConnectionForTest().setComposingText("J", 1); 98 waitForAnchorViewAdd(view); 99 View anchorView = view.findViewById(R.id.autofill_popup_window) [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
extension_view.cc | 29 // This view needs to be focusable so it can act as the focused view for the 66 // is not part of the View hierarchy and does not know about the change 68 if (render_view_host()->view()) { 70 render_view_host()->view()->Show(); 72 render_view_host()->view()->Hide(); 80 RenderWidgetHostView* view = local 91 static_cast<RenderWidgetHostViewWin*>(view); 97 static_cast<RenderWidgetHostViewViews*>(view); 102 static_cast<RenderWidgetHostViewGtk*>(view); [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
OpenGLES20NativeActivityTwo.java | 29 OpenGLES20View view; field in class:OpenGLES20NativeActivityTwo 51 view = new OpenGLES20View(this,type,i, vertexColors, mLatch); 52 setContentView(view); 70 if(view != null) { 71 view.onPause(); 79 if(view != null) { 80 view.onResume();
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Transitions.java | 20 import android.view.View; 21 import android.view.ViewGroup; 60 public void selectScene(View view) { 61 switch (view.getId()) { 85 View view = findViewById(id); local 86 ViewGroup.LayoutParams params = view.getLayoutParams(); 89 view.setLayoutParams(params) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentContextMenu.java | 25 import android.view.ContextMenu; 26 import android.view.LayoutInflater; 27 import android.view.Menu; 28 import android.view.MenuItem; 29 import android.view.View; 30 import android.view.ViewGroup; 31 import android.view.ContextMenu.ContextMenuInfo; 51 public View onCreateView(LayoutInflater inflater, ViewGroup container, 53 View root = inflater.inflate(R.layout.fragment_context_menu, container, false) [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentContextMenuSupport.java | 25 import android.view.ContextMenu; 26 import android.view.ContextMenu.ContextMenuInfo; 27 import android.view.LayoutInflater; 28 import android.view.Menu; 29 import android.view.MenuItem; 30 import android.view.View; 31 import android.view.ViewGroup; 51 public View onCreateView(LayoutInflater inflater, ViewGroup container, 53 View root = inflater.inflate(R.layout.fragment_context_menu, container, false) [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
FileProviderExample.java | 25 import android.view.View; 46 public void onShareFileClick(View view) { 51 saveThumbnail(view, file); 62 * Save thumbnail of given {@link View} to {@link File}. 64 private void saveThumbnail(View view, File file) { 66 view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888) [all...] |