Home
last modified time | relevance | path

Searched refs:stub (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/
DMainActivity.java43 WatchViewStub stub = (WatchViewStub) findViewById(R.id.stub); in onCreate() local
44 stub.setOnLayoutInflatedListener(new WatchViewStub.OnLayoutInflatedListener() { in onCreate()
46 public void onLayoutInflated(WatchViewStub stub) { in onCreate()
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/
DMainActivity.java129 final WatchViewStub stub = (WatchViewStub) findViewById(R.id.watch_view_stub); in onCreate() local
130 stub.setOnLayoutInflatedListener(new WatchViewStub.OnLayoutInflatedListener() { in onCreate()
132 public void onLayoutInflated(WatchViewStub stub) { in onCreate()
134 mTimeTextView = (TextView) stub.findViewById(R.id.time); in onCreate()
135 mTimeStampTextView = (TextView) stub.findViewById(R.id.time_stamp); in onCreate()
136 mStateTextView = (TextView) stub.findViewById(R.id.state); in onCreate()
137 mUpdateRateTextView = (TextView) stub.findViewById(R.id.update_rate); in onCreate()
138 mDrawCountTextView = (TextView) stub.findViewById(R.id.draw_count); in onCreate()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DMainWearActivity.java111 final WatchViewStub stub = (WatchViewStub) findViewById(R.id.watch_view_stub); in onCreate() local
112 stub.setOnLayoutInflatedListener(new WatchViewStub.OnLayoutInflatedListener() { in onCreate()
114 public void onLayoutInflated(WatchViewStub stub) { in onCreate()
117 (Button) stub.findViewById(R.id.wearBodySensorsPermissionButton); in onCreate()
125 (Button) stub.findViewById(R.id.phoneStoragePermissionButton); in onCreate()
127 mOutputTextView = (TextView) stub.findViewById(R.id.output); in onCreate()
/development/tools/winscope/
DREADME.md22 stub files. See getWaylandSafePath for an example
/development/tools/mkstubs/
DREADME.txt13 Each method body is replaced by the bytecode for 'throw new RuntimeException("stub");'.