Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 41) sorted by relevance

12

/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
DContentItem.java44 public ContentItem(int type, int resourceId) { in ContentItem() argument
45 contentType = type; in ContentItem()
56 public ContentItem(int type, String assetFilePath) { in ContentItem() argument
57 contentType = type; in ContentItem()
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
DContentItem.java44 public ContentItem(int type, int resourceId) { in ContentItem() argument
45 contentType = type; in ContentItem()
56 public ContentItem(int type, String assetFilePath) { in ContentItem() argument
57 contentType = type; in ContentItem()
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/
DCard.java.ftl86 * This "type" can be used as a UI hint.
178 * Set the type of progress indicator.
179 * The progress type can only be changed if the Card was initially build with a progress
197 * Return the progress indicator type. A value of either {@link #PROGRESS_TYPE_NORMAL},
211 * {@link #PROGRESS_TYPE_NORMAL} progress type.
225 * {@link #PROGRESS_TYPE_NORMAL} progress type.
236 * Set the label text for the progress if the card has a progress type of
251 * the card has a progress type of
271 * @param type
273 private void addAction(String label, int id, int type) {
[all …]
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
DCard.java273 private void addAction(String label, int id, int type) { in addAction() argument
277 cardAction.type = type; in addAction()
422 public Builder addAction(String label, int id, int type) { in addAction() argument
423 mCard.addAction(label, id, type); in addAction()
553 switch (action.type) { in initializeActionViews()
614 public int type; field in Card.CardAction
621 actionClone.type = type; in createShallowClone()
704 public void setProgressType(int type) { in setProgressType() argument
705 progressType = type; in setProgressType()
707 switch (type) { in setProgressType()
/developers/build/templates/ActivityCards/
DActivityCardsCommon.ftli17 <#macro make_activity_res activity type>${(activity.class!"activity_class")?lower_case}_${type}</#m…
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
DCameraHelper.java154 public static File getOutputMediaFile(int type){ in getOutputMediaFile() argument
177 if (type == MEDIA_TYPE_IMAGE){ in getOutputMediaFile()
180 } else if(type == MEDIA_TYPE_VIDEO) { in getOutputMediaFile()
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/
DCameraHelper.java154 public static File getOutputMediaFile(int type){ in getOutputMediaFile() argument
177 if (type == MEDIA_TYPE_IMAGE){ in getOutputMediaFile()
180 } else if(type == MEDIA_TYPE_VIDEO) { in getOutputMediaFile()
/developers/samples/android/common/src/java/com/example/android/common/media/
DCameraHelper.java154 public static File getOutputMediaFile(int type){ in getOutputMediaFile() argument
177 if (type == MEDIA_TYPE_IMAGE){ in getOutputMediaFile()
180 } else if(type == MEDIA_TYPE_VIDEO) { in getOutputMediaFile()
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
DCameraHelper.java154 public static File getOutputMediaFile(int type){ in getOutputMediaFile() argument
177 if (type == MEDIA_TYPE_IMAGE){ in getOutputMediaFile()
180 } else if(type == MEDIA_TYPE_VIDEO) { in getOutputMediaFile()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
DPaginatedCursor.java81 int type = mCursor.getType(i); in PaginatedCursor() local
82 mColumnTypes[i] = type; in PaginatedCursor()
83 switch (type) { in PaginatedCursor()
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DGles2ColoredTriangleList.java160 private static int loadShader(int type, String shaderCode){ in loadShader() argument
162 int shader = GLES20.glCreateShader(type); in loadShader()
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DGles2ColoredTriangleList.java160 private static int loadShader(int type, String shaderCode){ in loadShader() argument
162 int shader = GLES20.glCreateShader(type); in loadShader()
/developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
DMainActivity.java115 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) {
123 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) {
/developers/samples/android/media/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
DMainActivity.java115 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) {
123 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) {
/developers/build/
Dbuild.gradle27 task wrapper(type: Wrapper) {
102 task emitAnt(type:Copy) {
119 task emitGradle(type:Copy) {
180 task emitBrowseable(type:Copy) {
235 task emitGradleZip(dependsOn: [emitBrowseable, emitGradle], type:Zip) {
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
DMidiPortSelector.java55 int spinnerId, int type) { in MidiPortSelector() argument
58 mType = type; in MidiPortSelector()
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
DMidiPortSelector.java55 int spinnerId, int type) { in MidiPortSelector() argument
58 mType = type; in MidiPortSelector()
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/
DSampleGenPlugin.groovy38 project.task ([type:ApplyTemplates], name, {
79 project.task([type: GradleBuild], 'bootstrap', {
/developers/samples/android/common/src/java/com/example/android/common/midi/
DMidiPortSelector.java55 int spinnerId, int type) { in MidiPortSelector() argument
58 mType = type; in MidiPortSelector()
/developers/samples/android/connectivity/network/BasicNetworking/
DREADME.md11 a network connection, and if so, what type of connection it is.
14 on the active connection, and then the connection type is printed to an on-screen console.
/developers/build/prebuilts/gradle/BasicNetworking/
DREADME.md11 a network connection, and if so, what type of connection it is.
14 on the active connection, and then the connection type is printed to an on-screen console.
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichTvInputService.java316 public boolean onSelectTrack(int type, String trackId) { in onSelectTrack() argument
318 if (type == TvTrackInfo.TYPE_SUBTITLE) { in onSelectTrack()
327 if (mPlayer.selectTrack(type, trackId)) { in onSelectTrack()
328 notifyTrackSelected(type, trackId); in onSelectTrack()
/developers/build/prebuilts/gradle/WearSpeakerSample/
Dbuild.gradle37 task clean(type: Delete) {
/developers/samples/android/wearable/wear/WearSpeakerSample/
Dbuild.gradle37 task clean(type: Delete) {
/developers/build/templates/CardStream/_MODULE_/
DREADME-CardStream.txt45 …operties for your card in the builder. Some properties (title, description, progress type) can also
54 -To implement an action, use Builder.addAction with a label, id, type (Neutral/Positive/Negative) a…

12