/developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/ |
AppRestrictionSchemaFragment.java | 26 import android.view.LayoutInflater; 27 import android.view.View; 28 import android.view.ViewGroup; 42 public class AppRestrictionSchemaFragment extends Fragment implements View.OnClickListener { 64 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, 70 public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { 71 mTextSayHello = (TextView) view.findViewById(R.id.say_hello_explanation); 72 mButtonSayHello = (Button) view.findViewById(R.id.say_hello) [all...] |
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
HorizontalGridTestActivity.java | 33 import android.view.MotionEvent; 34 import android.view.View; 35 import android.view.View.OnClickListener; 36 import android.view.View.OnFocusChangeListener; 37 import android.view.ViewGroup; 65 private View createView() { 66 View view = getLayoutInflater().inflate(R.layout.horizontal_grid, null, false) local 88 View view = createView(); local [all...] |
/external/chromium_org/ash/shelf/ |
shelf_view.h | 20 #include "ui/views/view.h" 54 class ASH_EXPORT ShelfView : public views::View, 96 // Sets owner overflow bubble instance from which this shelf view pops 102 views::View* GetAppListButtonView() const; 117 virtual View* GetFocusTraversableParentView() OVERRIDE; 123 views::View* replaced_view, 135 // Return the view model for test purposes. 168 // Sets the bounds of each view to its ideal bounds. 178 // Returns the index of the last view whose max primary axis coordinate is 186 // Animates the bounds of each view to its ideal bounds [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_pipe_sampler.c | 144 SVGA_DBG(DEBUG_VIEWS, "min %u, view(min %u, max %u) lod, mipfilter %s\n", 210 struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view); local 212 if (view) { 213 *view = *templ; 214 view->reference.count = 1; 215 view->texture = NULL; 216 pipe_resource_reference(&view->texture, texture); 217 view->context = pipe; 220 return view; 226 struct pipe_sampler_view *view) [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
MultiFieldTimePickerDialog.java | 11 import android.view.LayoutInflater; 12 import android.view.View; 71 View view = inflater.inflate(R.layout.multi_field_time_picker_dialog, null); local 72 setView(view); 74 mHourSpinner = (NumberPicker) view.findViewById(R.id.hour); 75 mMinuteSpinner = (NumberPicker) view.findViewById(R.id.minute); 76 mSecSpinner = (NumberPicker) view.findViewById(R.id.second); 77 mMilliSpinner = (NumberPicker) view.findViewById(R.id.milli) [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_sampler.c | 144 SVGA_DBG(DEBUG_VIEWS, "min %u, view(min %u, max %u) lod, mipfilter %s\n", 210 struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view); local 212 if (view) { 213 *view = *templ; 214 view->reference.count = 1; 215 view->texture = NULL; 216 pipe_resource_reference(&view->texture, texture); 217 view->context = pipe; 220 return view; 226 struct pipe_sampler_view *view) [all...] |
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
Test3DetailFragment.java | 25 import android.view.LayoutInflater; 26 import android.view.Menu; 27 import android.view.MenuInflater; 28 import android.view.MenuItem; 29 import android.view.View; 30 import android.view.ViewGroup; 31 import android.view.inputmethod.InputMethodManager; 88 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { 89 View rootView = inflater.inflate(R.layout.test3_detail_fragment, container, false) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList1.java | 17 package com.example.android.apis.view; 21 import android.view.ContextMenu; 22 import android.view.Gravity; 23 import android.view.MenuItem; 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.ContextMenu.ContextMenuInfo; 56 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 123 textView.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START) [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 29 import android.view.LayoutInflater; 30 import android.view.View; 31 import android.view.ViewGroup; 47 View mContentView = null; 58 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 93 public void onListItemClick(ListView l, View v, int position, long id) { 118 public View getView(int position, View convertView, ViewGroup parent) { 119 View v = convertView 149 TextView view = (TextView) mContentView.findViewById(R.id.my_name); local [all...] |
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/ |
ListViewDeletion.java | 27 import android.view.View; 43 final ArrayList<View> mCheckedViews = new ArrayList<View>(); 64 deleteButton.setOnClickListener(new View.OnClickListener() { 66 public void onClick(View v) { 87 // Next, get the view associated with the item at the time of deletion 88 // (not some old view chosen when the item was clicked). 93 final View view = listview.getChildAt(positionOnScreen) [all...] |
/external/chromium_org/mojo/examples/window_manager/ |
debug_panel.cc | 9 #include "mojo/services/public/cpp/view_manager/view.h" 27 DebugPanel::DebugPanel(Delegate* delegate, View* view) 29 view_(view), 62 params.native_widget = new NativeWidgetViewManager(widget, view); 64 params.bounds = gfx::Rect(view->bounds().size()); 72 gfx::Size DebugPanel::GetPreferredSize(const views::View* view) const { 84 void DebugPanel::Layout(views::View* view) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
KeyboardEvent.cpp | 104 KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* view) 106 true, true, view, 0, key.ctrlKey(), key.altKey(), key.shiftKey(), key.metaKey()) 115 : UIEventWithKeyState(eventType, initializer.bubbles, initializer.cancelable, initializer.view, initializer.detail, initializer.ctrlKey, initializer.altKey, initializer.shiftKey, initializer.metaKey) 122 KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, AbstractView *view, 125 : UIEventWithKeyState(eventType, canBubble, cancelable, view, 0, ctrlKey, altKey, shiftKey, metaKey) 136 void KeyboardEvent::initKeyboardEvent(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view, 143 initUIEvent(type, canBubble, cancelable, view, 0);
|
MouseEvent.cpp | 52 PassRefPtrWillBeRawPtr<MouseEvent> MouseEvent::create(const AtomicString& eventType, PassRefPtrWillBeRawPtr<AbstractView> view, const PlatformMouseEvent& event, int detail, PassRefPtrWillBeRawPtr<Node> relatedTarget) 61 eventType, isBubbling, isCancelable, view, 68 PassRefPtrWillBeRawPtr<MouseEvent> MouseEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, 74 return adoptRefWillBeNoop(new MouseEvent(type, canBubble, cancelable, view, 86 MouseEvent::MouseEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, 92 : MouseRelatedEvent(eventType, canBubble, cancelable, view, detail, IntPoint(screenX, screenY), 105 : MouseRelatedEvent(eventType, initializer.bubbles, initializer.cancelable, initializer.view, initializer.detail, IntPoint(initializer.screenX, initializer.screenY), 121 void MouseEvent::initMouseEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, 129 initUIEvent(type, canBubble, cancelable, view, detail); 198 PassRefPtrWillBeRawPtr<SimulatedMouseEvent> SimulatedMouseEvent::create(const AtomicString& eventType, PassRefPtrWillBeRawPtr<AbstractView> view, PassRefPtrWillBeRawPtr<Event> underlyingEvent [all...] |
/external/chromium_org/ui/views/ime/ |
mock_input_method.cc | 99 void MockInputMethod::OnTextInputTypeChanged(View* view) { 100 if (IsViewFocused(view)) 102 InputMethodBase::OnTextInputTypeChanged(view); 105 void MockInputMethod::OnCaretBoundsChanged(View* view) { 106 if (IsViewFocused(view)) 110 void MockInputMethod::CancelComposition(View* view) { 111 if (IsViewFocused(view)) { [all...] |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 30 import android.view.GestureDetector; 31 import android.view.Menu; 32 import android.view.MenuItem; 33 import android.view.MotionEvent; 34 import android.view.TextureView; 35 import android.view.View; 36 import android.view.ViewConfiguration; 37 import android.view.ViewGroup; 38 import android.view.animation.AccelerateInterpolator [all...] |
/external/chromium_org/chrome/test/ext_auto/auto_provider/ |
server.js | 17 var view = new Uint8Array(buffer); 19 view[i] = utf8string.charCodeAt(i); 21 return view; 33 var view = new Uint8Array(outputBuffer); 34 view.set(header, 0); 47 var view = new Uint8Array(outputBuffer); 48 view.set(buffer, 0);
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
dataview-accessors.js | 40 var view = null; variable 66 return view["get" + func](index, littleEndian); 68 return view["get" + func](index); 70 if (index >=0 && index + getElementSize(func) - 1 < view.byteLength) 79 view["set" + func](index, value, littleEndian); 81 view["set" + func](index, value); 84 index + getElementSize(func) - 1 < view.byteLength) { 105 view = new DataView(arrayBuffer, viewStart, viewLength); 315 var view = new DataView(new ArrayBuffer(100)); 316 assertSame(undefined, view.setInt8(0, value)) [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
opaque_browser_frame_view_layout.cc | 279 void OpaqueBrowserFrameViewLayout::LayoutWindowControls(views::View* host) { 312 void OpaqueBrowserFrameViewLayout::LayoutTitleBar(views::View* host) { 381 void OpaqueBrowserFrameViewLayout::LayoutNewStyleAvatar(views::View* host) { 408 void OpaqueBrowserFrameViewLayout::LayoutAvatar(views::View* host) { 468 views::View* host, 516 views::View* host, 589 void OpaqueBrowserFrameViewLayout::SetView(int id, views::View* view) { 596 if (view) { 598 view->GetClassName()) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_tex.c | 66 struct nv50_tic_entry *view; local 70 view = MALLOC_STRUCT(nv50_tic_entry); 71 if (!view) 75 view->pipe = *templ; 76 view->pipe.reference.count = 1; 77 view->pipe.texture = NULL; 78 view->pipe.context = pipe; 80 view->id = -1; 82 pipe_resource_reference(&view->pipe.texture, texture); 84 tic = &view->tic[0] [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_tex.c | 66 struct nv50_tic_entry *view; local 70 view = MALLOC_STRUCT(nv50_tic_entry); 71 if (!view) 75 view->pipe = *templ; 76 view->pipe.reference.count = 1; 77 view->pipe.texture = NULL; 78 view->pipe.context = pipe; 80 view->id = -1; 82 pipe_resource_reference(&view->pipe.texture, texture); 84 tic = &view->tic[0] [all...] |
/external/chromium_org/ui/app_list/views/ |
apps_grid_view.cc | 105 // Returns the size of a tile view excluding its padding. 113 // Returns the size of a tile view inccluding its padding. 129 RowMoveAnimationDelegate(views::View* view, 132 : view_(view), 161 // The view that needs to be wrapped. Owned by views hierarchy. 162 views::View* view_; 176 explicit ItemRemoveAnimationDelegate(views::View* view) 177 : view_(view) { 807 AppListItemView* view = new AppListItemView(this, original_drag_view->item()); local 929 views::View* view = view_model_.view_at(i); local 1034 views::View* view = CreateViewForItemAtIndex(i); local 1063 views::View* view = pulsing_blocks_model_.view_at(0); local 1069 views::View* view = new PulsingBlockView(GetTotalTileSize(), true); local 1079 AppListItemView* view = new AppListItemView(this, local 1272 views::View* view = view_model_.view_at(i); local 1955 AppListItemView* view = local 2006 views::View* view = CreateViewForItemAtIndex(index); local 2149 views::View* view = view_model_.view_at(i); local [all...] |
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 34 import android.view.LayoutInflater; 35 import android.view.View; 48 private View mDisabled; 49 private View mSystem; 50 private View mDebuggable; 51 private View mNoCode; 52 private View mPersistent; 107 mDisabled.setVisibility(View.GONE); 110 mSystem.setVisibility(View.GONE) 175 Button view = (Button)inflate.inflate( local 192 Button view = (Button)inflate.inflate( local 206 Button view = (Button)inflate.inflate( local 219 Button view = (Button)inflate.inflate( local 232 Button view = (Button)inflate.inflate( local [all...] |
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
view.cc | 5 #include "mojo/services/public/cpp/view_manager/view.h" 23 View* receiver, 40 View* start_at, 43 for (View* current = start_at; current; current = current->parent()) 48 View* start_at, 52 View::Children::const_iterator it = start_at->children().begin(); 69 ScopedTreeNotifier(View* target, View* old_parent, View* new_parent) { 85 void RemoveChildImpl(View* child, View::Children* children) 189 View* view = new View(view_manager); local 292 View* view = (*it)->GetChildById(id); local [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 17 package android.view.inputmethod.cts; 19 import com.android.cts.view.R; 31 import android.view.KeyCharacterMap; 32 import android.view.KeyEvent; 33 import android.view.View; 34 import android.view.Window; 35 import android.view.inputmethod.BaseInputConnection; 36 import android.view.inputmethod.CompletionInfo; 37 import android.view.inputmethod.ExtractedTextRequest [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 36 import android.view.Menu; 37 import android.view.MenuInflater; 38 import android.view.MenuItem; 39 import android.view.View; 152 public void onViewCreated(View view, Bundle savedInstanceState) { 153 super.onViewCreated(view, savedInstanceState); 165 public boolean setViewValue(View view, Cursor cursor, int i) [all...] |